Zen Cart Logo
Forums / Setting Up Categories, Products, Attributes / Fractional product quantities

Fractional product quantities

Locked

Views: 1,957

Results 1 to 3 of 3
This thread is locked. New replies are disabled.
26 Jun 2006, 10:42 PM
#1
jack000 avatar

jack000

New Zenner

Join Date:
Jun 2006
Posts:
3
Plugin Contributions:
0

Fractional product quantities

Hi guys

I'm working on a fabric shop, and they always measure quantity by yards. I found the setting for decimals in the product quantity, but somehow zencart still throws a warning at me when I try to checkout. The prices and decimals are right, but I imagine the bright yellow warning will be alarming to the customers.

Is there a way to disable the warning in the admin? If not a tip to the file that controls the warning would be good as well. I'm fairly adept at php, and our system already has a number of custom mods.

the error message it gives me:

Warning Please update your order ...
Product Name: Big Rig Tossed Trucks Coordinate ... Quantity Units errors -
You ordered a total of: 2.25

Thanks

27 Jun 2006, 12:02 AM
#2
jack000 avatar

jack000

New Zenner

Join Date:
Jun 2006
Posts:
3
Plugin Contributions:
0

Re: Fractional product quantities

nevermind, found the class in \includes\classes\shopping_cart.php

thanks :]

25 Jan 2008, 1:36 PM
#3
abeach avatar

abeach

New Zenner

Join Date:
Nov 2007
Posts:
3
Plugin Contributions:
0

Re: Fractional product quantities

I, too, am having this error, and I'm not an HTML programmer. Like the person in the "using fractions for product quantities" issue on a previous post, I'm also selling fabric. However, the industry std seems to be to use the decimals, and in the category you put the conversion chart and ask people to use decimals.

Like Jack, I am also getting the error message when I enter the fraction.

I have the book, and on page 308 it tells you how to change the product quantity in the stock options screen to the number of decimals you want, and it tells you to make sure the quantity related fields on the products screen is changed, too. But for the life of me, I can't figure out what that means.

Can anyone help me? Thanks

PS: I'd also love to change the unit of measure to "yards". Any progress on this issue?