Zen Cart Logo
Forums / Setting Up Categories, Products, Attributes / Creating products to be ordered in bulk (i.e. by weight)

Creating products to be ordered in bulk (i.e. by weight)

Locked

Views: 742

Results 1 to 8 of 8
This thread is locked. New replies are disabled.
13 May 2009, 1:25 PM
#1
grummbo avatar

grummbo

New Zenner

Join Date:
May 2009
Posts:
4
Plugin Contributions:
0

Creating products to be ordered in bulk (i.e. by weight)

I've just installed and configured my shiny new ZenCart site but immediately realised I've forgotten to check a very critical part of the system... ordering items by bulk.

For example we sell coffees and whatnot, I'd like someone to be able to order 1.5Kg of Blue Mountain Coffee (we'll weigh and package it up ourselves when we get the order), but I can't seem to order 1.5 of anything (it rounds to 2). I've trawled the forums, FAQs etc. trying to find a solution but I don't see one. I expect there's either a quick way of doing this, or a mod already been made, or I'll have to go through the code and edit it to support ordering fractions of an item. I'm hoping it's the first two.

Does anyone have a solution for this sort of problem, allowing products to be ordered in bulk? I don't really want to put up items per gram and have them order some number of grams.

Thanks in advance

13 May 2009, 4:07 PM
#2
ajeh avatar

ajeh

Oba-san

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

Re: Creating products to be ordered in bulk (i.e. by weight)

Check the Configuration ... Stock ... for the setting:

Product Quantity Decimals
Allow how many decimals on Quantity

0= off

14 May 2009, 1:58 AM
#3
grummbo avatar

grummbo

New Zenner

Join Date:
May 2009
Posts:
4
Plugin Contributions:
0

Re: Creating products to be ordered in bulk (i.e. by weight)

Thanks.... but that doesn't seem to affect the checkout, it still attempts to round it and shows a yellow message which is a little offputting. The prices seem right which is strange... maybe I just need to turn off some rounding somewhere?

14 May 2009, 4:12 AM
#4
ajeh avatar

ajeh

Oba-san

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

Re: Creating products to be ordered in bulk (i.e. by weight)

Have you an URL to one of these Products that we could perhaps peek at to see what might be up? :smile:

14 May 2009, 4:29 AM
#5
grummbo avatar

grummbo

New Zenner

Join Date:
May 2009
Posts:
4
Plugin Contributions:
0

Re: Creating products to be ordered in bulk (i.e. by weight)

Sure mate

http://shop.weighnpay.com/index.php?main_page=product_info&cPath=65&products_id=181

It's just a dummy product, but if you try to order 1.5 of it, it'll take you to checkout with an error message. In the cart it gets rounded to 2, but the total at the top and bottom seem to reflect an accurate price (i.e. 1.5 times one item).

14 May 2009, 7:29 AM
#6
ajeh avatar

ajeh

Oba-san

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

Re: Creating products to be ordered in bulk (i.e. by weight)

Check your Units ... you have a Minimum of .05 but what are your Units set to?

14 May 2009, 3:57 PM
#7
grummbo avatar

grummbo

New Zenner

Join Date:
May 2009
Posts:
4
Plugin Contributions:
0

Re: Creating products to be ordered in bulk (i.e. by weight)

Aha! For some reason I had thought units meant something like kg (and it kept defaulting to 0), not increments you could order in. I created a product with units of 0.001 and now you can order any weight! Perfect!

Thanks for your help Ajeh, this is brilliant.

14 May 2009, 6:02 PM
#8
ajeh avatar

ajeh

Oba-san

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

Re: Creating products to be ordered in bulk (i.e. by weight)

You are most welcome ... thanks for the update that fixing your units fixed this issue ... :smile: