Forums / General Questions / Allowing customers to buy quantities less than 1 and using decimals

Allowing customers to buy quantities less than 1 and using decimals

Locked

Views: 2,075

Results 1 to 10 of 10
This thread is locked. New replies are disabled.
11 May 2007, 6:12 PM
#1
fabricsandthreads avatar

fabricsandthreads

New Zenner

Join Date:
May 2007
Posts:
9
Plugin Contributions:
0

Allowing customers to buy quantities less than 1 and using decimals

Hello,

I have a designer who's building me a store using Zen Cart and we're almost ready to go live, but we have one major problem: I'm selling fabric and I need people to be able to buy it in amounts less than 1, because we sell on measurements rather than standard products.

So, for instance, a customer should be able to put "0.25" into the quantity field because that relates to selling 0.25 metres of fabric.

We sell by 0.25 increments, so a customer should be able to buy 0.25, 0.50, 0.75, etc. We've managed to allow decimal places but it still comes up with an error when you go to the checkout.

Please can anyone help? Can this even be done with Zen Cart?!?

11 May 2007, 6:24 PM
#2
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Allowing customers to buy quantities less than 1 and using decimals

We sell by 0.25 increments, so a customer should be able to buy 0.25, 0.50, 0.75, etc. We've managed to allow decimal places but it still comes up with an error when you go to the checkout.
What is the error?? If a non-allowed increment is attempted to be purchased Zen Cart displays a stock warning...

Zen-Venom Get Bitten

12 May 2007, 9:49 AM
#3
fabricsandthreads avatar

fabricsandthreads

New Zenner

Join Date:
May 2007
Posts:
9
Plugin Contributions:
0

Re: Allowing customers to buy quantities less than 1 and using decimals

Thanks for replying, Kobra!

If you go here and add the quanity of 0.25 to your cart, you should see the errors displaying:

http://fabricsandthreads.com/store/index.php?main_page=product_info&products_id=37&zenid=a91e5c21dc64bf0bc7d22219e0da4f47

Thanks!

PS: Please do not actually buy anything yet, as this is not a 'live' site!

12 May 2007, 10:11 AM
#4
a_berezin avatar

a_berezin

Deceased

Join Date:
Aug 2004
Location:
Saint Petersburg, Russia
Posts:
1,782
Plugin Contributions:
5

Re: Allowing customers to buy quantities less than 1 and using decimals

Wrong set of "Product Qty Minimum".

NOTE: We are sorry that Andrew is no longer with us.
We are grateful for all his contributions to the Zen Cart community.

12 May 2007, 3:58 PM
#5
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Allowing customers to buy quantities less than 1 and using decimals

You are going to have to adjust what and how you enter these items: in the product entry/setup screen you have these:

Product Qty Minimum:  	 .25
Product Qty Maximum:
Product Qty Units:       1  or maybe .25

I forget the last setting that works but seem to recall that for your use that "1" will work then in your quantity on hand you need to enter the same unit that you sell by and for you this is square metre...I would also add some text explaining how this is offered and sold as currently one does not see that this is in sq/m

Zen-Venom Get Bitten

12 May 2007, 4:27 PM
#6
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Allowing customers to buy quantities less than 1 and using decimals

Minimum Quantity is the lowest ... if you want to sell .25 you need this set to .25

Units is in what units or increments can something be purchased? If you want a minimum of .25 that units has to be .25 ... if you want the Minimum of 1 but in .25 increments, then again this should be .25 ...

NOTE: To allow for less than 1 you need also change the Product quantity decimals in the Configuration ... Stock ...

Product Quantity Decimals
Allow how many decimals on Quantity

0= off

0
1
2
3

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

12 May 2007, 4:40 PM
#7
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Allowing customers to buy quantities less than 1 and using decimals

Oba-san has spoken!!! Thanks Ajeh!!!

Zen-Venom Get Bitten

13 May 2007, 8:48 AM
#8
fabricsandthreads avatar

fabricsandthreads

New Zenner

Join Date:
May 2007
Posts:
9
Plugin Contributions:
0

Re: Allowing customers to buy quantities less than 1 and using decimals

Ajeh and Kobra - *thank you so much! *

Send me your PayPal e-mail addresses - we owe you a coffee! :smile:

13 May 2007, 9:23 PM
#9
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Allowing customers to buy quantities less than 1 and using decimals

Send me your PayPal e-mail addresses - we owe you a coffee!
For my part - Just donate to Zen Cart....

Zen-Venom Get Bitten

14 May 2007, 2:15 AM
#10
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Allowing customers to buy quantities less than 1 and using decimals

Make that 2 cups for Zen Cart Development Team ... :cool:
http://www.zen-cart.com/index.php?main_page=infopages&pages_id=14

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!