Hi Folks
I have played with several Carts system such as OSC, etc... I need a cart that allows fractional quantities ie: .25 of a meter for fabric , etc. The value could be anything from .25 to xxx.75
Can this be done in ZenCart? Do I need a mod? Wher are the MOD's/Contributions found?
In OSC is was able to get it to work with some coding changes:
1. Changed customers_basket_quantity in the customers_basket table to DECIMAL 15,4 format.
2. Changed products_quantity in the orders_products table to DECIMAL 15,4 format.
3. Changed products_quantity in the products table to DECIMAL 15,4 format.
4. In catalog/includes/classes/shopping_cart.php changed:
CODE
reset($this->contents);
while (list($key,) = each($this->contents)) {
if ($this->contents[$key]['qty'] < 1) {
unset($this->contents[$key]);
Any help would be appreciated.
Dan
Canada



