![]() |
Quantity with the base of 6
Hi all,
I need to set the quantity of my products (all without exception) to the base of 6. This means one can order 6/12/18/24/30, etc. bottles of wine (which are actually my product :roll:) How can I set this? Tried searching forum, but no joy... TIA |
Re: Quantity with the base of 6
just go to cart .tpl page and mutiply the quantity with 6....
|
Re: Quantity with the base of 6
If you don't want to edit any x-cart files, you can also add a product named somth like "Pack of 6 bottles" and leave ability to buy 1, 2 ... packs.
|
Re: Quantity with the base of 6
Thanks for replying.
I don't think that cart.tpl is the right place for this (correct me if I'm wrong), because I want the right quantity directly on product details page. Here's the actual page, btw: http://www.vinser.eu/store/product.php?productid=1 I'd like the "quantity" drop-down in "Options" section just below the product price to reflect 6/12/18 instead of 1,2,3,4,5,etc. Adding a product "pack of 6 bottles" is also something different to what I'm seeking for. Is there any way I can have drop-down on product details page display quantities with the base of 6 ? TIA |
Re: Quantity with the base of 6
Anyone? Is this really such a problem to do?
|
Re: Quantity with the base of 6
http://forum.x-cart.com/showthread.php?t=36781
Except use... Code:
{section name=quantity loop=$mq start=$start_quantity step=6 start=6} |
Re: Quantity with the base of 6
Worked like a charm. Thank you buddy so much!
|
All times are GMT -8. The time now is 06:04 AM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.