| Characteristics | |
| OpenCart | 2.3, 3.0 |
| PHP | 7.0 – 8.5 |
| XML modification | Yes |
| Localization | English, Ukrainian, Russian |
| Statistics | 6826 193 |
| Added | 22.11.2022 |
| Updated | 31.05.2023 · 3 years ago |
| Files | decimal-quantity_oc3x.ocmod.zip |
The Decimal Quantity module adds support for fractional product quantities to OpenCart where only whole values are typically used. This is especially useful for stores that sell products by weight, square footage, liters, or by the piece with fractions. Once installed, the system correctly accepts and processes values like 0.25, 1.50, or 2.75 at key stages of the cart and checkout.
Standard logic often converts quantities to integers, resulting in truncation of fractional data. The module replaces such conversions with float type operations and updates the database table structure to the DECIMAL(10,2) format. As a result, the store can accurately track inventory and sales with decimal precision.
Important: The module makes changes to the logic of the shopping cart, product card, and order, and also changes the types of quantity and minimum fields in the database.
Decimal Quantity is suitable for projects where precise quantities and accurate handling of fractional values are essential at all stages, from adding an item to the cart to recording order data.
| File Name | Added | Modified |
|---|---|---|
decimal-quantity_oc23.ocmod.zip Size: 12.69 KB | 22.11.2022 | 31.05.2023 |
decimal-quantity_oc3x.ocmod.zip Size: 12.66 KB | 22.11.2022 | 31.05.2023 |
Leave your review about this product