Decimal Quantity OpenCart

Decimal Quantity OpenCartDecimal Quantity OpenCart
BonusBonus +49 грн. to your account
Special price:399 грн.
Old price:699 грн.
You save:300 грн.


Characteristics
OpenCart2.3, 3.0
PHP7.0 – 8.5
XML modificationYes
LocalizationEnglish, Ukrainian, Russian
Statistics 6826 193
Added22.11.2022
Updated31.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.

Why do you need a module?

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.

Main functionality

  • Support for fractional quantities in the cart
  • Support for fractional minimum purchase quantities
  • Correct transmission of fractional values when placing an order
  • Saving fractional quantities in order and cart tables
  • Easy to enable and disable via the admin panel

What operations does the module perform?

  1. Replaces the conversion of quantities from (int) to (float) in system files
  2. Changes database fields to decimal format with two digits of precision.
  3. Saves module status settings through the standard extensions section
  4. Supports compatibility with different OpenCart versions by token and routes

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.202231.05.2023
decimal-quantity_oc3x.ocmod.zip
Size: 12.66 KB
22.11.202231.05.2023

Leave your review about this product

Bonus Get bonus +100 грн. for your review Bonus program

Write a review

Note: HTML is not translated!
AI Assistant

Recently viewed

2.3, 3.x
Decimal Quantity
699 грн.399 грн.
0
6827 193

Featured

Ajax Show More
699 грн.399 грн.
Bulk Product Manager
699 грн.399 грн.