Quantity as a decimal?

For general questions and discussions specific to the AbleCommerce GOLD ASP.Net shopping cart software.
Post Reply
confused
Ensign (ENS)
Ensign (ENS)
Posts: 7
Joined: Tue Apr 06, 2010 7:27 am

Quantity as a decimal?

Post by confused » Thu Aug 22, 2019 9:25 am

I have a products sold by the pound and want to enable users to enter quantity as any decimal value they want (2.65 or 3.43 or 2.17 or ... you name it).

Any suggestions?

I can't play with different "Units/options" (1/2, 3/4 etc).

Thank you.

User avatar
Shopping Cart Admin
AbleCommerce Admin
AbleCommerce Admin
Posts: 3055
Joined: Mon Dec 01, 2003 8:41 pm
Location: Vancouver, WA
Contact:

Re: Quantity as a decimal?

Post by Shopping Cart Admin » Thu Aug 29, 2019 1:32 pm

Hi there,

That would require customization. I don't know the extent of how much. I tried editing an existing order and it wouldn't let me enter 1.5, so enforcing integers appears to be taking place all over. You could with a bit of javascript, make it appear it's in decimals 1.3, but send it in as 13 and price it accordingly. Put a note on the product page for this product explaining how it works?
Thanks for your support

Shopping Cart Guru
AbleCommerce.com
Follow us on Facebook

Post Reply