Zen Cart Logo
Forums / Setting Up Categories, Products, Attributes / How do I add a quantity box to multiple products?

How do I add a quantity box to multiple products?

Views: 978

Results 1 to 4 of 4
20 Dec 2011, 6:36 PM
#1
ncarr avatar

ncarr

New Zenner

Join Date:
Dec 2011
Posts:
2
Plugin Contributions:
0

How do I add a quantity box to multiple products?

Hope somebody can point me in the right direction !!
I am setting up a cart to sell boat trips and simply need to have 2 products with a quantity box/add to cart next to them..

eg Adults @ £20.00 [quantity box]
Children @ £10.00 [quantity box]

The only solution I can see is the attributes where I set up 5 tick box attributes from 1 adult through to 5 with the corresponding prices but this seems to messy for a pro site..

ANY help will be very much appreciated

THANKS

20 Dec 2011, 7:08 PM
#2
schoolboy avatar

schoolboy

Totally Zenned

Join Date:
Jun 2005
Location:
Cumbria, UK
Posts:
10,327
Plugin Contributions:
0

Re: How do I add a quantity box to multiple products?

You could just set up as one product and use an attribute drop-down for adult numbers, and another drop-down for children numbers.

Zencart allows you to PRICE BY ATTRIBUTE, so as the user selects the required number of people from each dropdown, the cost will increment accordingly.

In such a scenario, you disable the quantity box (to not display) as you will not need it... The quantities are displayed in the dropdowns.

If you use the DYNAMIC PRICE UPDATER module, the total price will dynamically "refresh" onscreen, so the total will display before the "ticket(s)" are added to the cart.

We did a "theatre" booking site for a local school's annual play, using this technique, and it worked just fine.

HOWEVER !!!

Your challenge will be "stock control" and date/time referencing... The site must know (somehow) when a particular boat ride is FULL, and secondly, the DATE and TIME of any particular excursion.

I mean... you don't want 12,354,997 bookings for your boat trip on Monday 23 January for the 10H00 trip, if the boat can only accommodate 50 people per trip...

Zencart is a bit clunky in this respect... as they only way to do it (easily), is to set up EACH TRIP as a separate product, and to control quantity using stock by attributes module.

There are other systems that handle this type of online purchasing - Joomla and the JOMBOK module are better-designed for this purpose.

You may also care to look at WordPress and embed something like the booking calendar feature offered by SuperSaas . We did a site using this (WordPress plus SuperSaaS) for a physiotherapist who sells appointments and consultations.

20 Dec 2011, 8:41 PM
#3
ncarr avatar

ncarr

New Zenner

Join Date:
Dec 2011
Posts:
2
Plugin Contributions:
0

Re: How do I add a quantity box to multiple products?

Thanks School boy for your help - I think I have two options - either to use the attributes as a drop down/tick box or have a go at Joomla - I have a wordpress site so will also give SuperSaas a try...

If you are ever in Tenerife please give me a PM and you will have a boat trip FOC for your help
Thanks again
Nigel Carr

20 Dec 2011, 8:52 PM
#4
schoolboy avatar

schoolboy

Totally Zenned

Join Date:
Jun 2005
Location:
Cumbria, UK
Posts:
10,327
Plugin Contributions:
0

Re: How do I add a quantity box to multiple products?

Thanks Nigel... I was last in Tenerife in June 1969 when taking the Pendennis Castle back to Cape Town from Southampton. (That was some boat trip!)

But yes... when I'm there next I'll certainly look you up and we'll happily take the family on a (fully paid-for) boat ride. :D