| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
Add products for each product option in a single query | |||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
Add products for each product option in a single query
Need Help.
I need every quantity input box for each product options in each product page not products page so that customers can order products with each option in a single click. I already made each option be shown in several rows not in pulldown menu and also made a checkbox for each option. For example, there are s, m, l size options for a shirt. Customers want to buy 2 items of each size. How can it be done without going to cart and coming back to the product page. Any Suggestion or help?
__________________
x-cart v 4.1.6 |
|||||||
#2
|
|||||||||
|
|||||||||
Re: Add products for each product option in a single query
Not too sure what it is you need, but I am guessing that this might help:
Add Multiple Products to Cart - Free X-cart Mod! #168 http://www.bcsengineering.com/store/customer/product.php?productid=168
__________________
Paul Dodman e-business & m-commerce consultant w: www.luminointernet.com e: xcart@luminointernet.com Professional X-Cart help, advice, support and services, specialists in Mobile X-Cart. |
|||||||||
#3
|
|||||||
|
|||||||
Re: Add products for each product option in a single query
Thanks for your help.
But my concern is making connection between product options and the amount for each option when customers buy it.
__________________
x-cart v 4.1.6 |
|||||||
#4
|
|||||||
|
|||||||
Re: Add products for each product option in a single query
i would think that you will need to edit cart.php's add to cart function to loop through the products, change all the inputs/selects to arrays in buy_now.tpl, ie: <input type="hidden" name="productid"> to <input type="hidden" name="productid[]">, and edit the customer_options.tpl to make each option be displayed rather than have it selected as well as have another form text input thats named appropiately, ie: <input type="text" name="amount[]"> (and remove the one from buy_now.tpl)
|
|||||||
#5
|
|||||||
|
|||||||
Re: Add products for each product option in a single query
thanks a lot
__________________
x-cart v 4.1.6 |
|||||||
#6
|
|||||||
|
|||||||
Re: Add products for each product option in a single query
Jeuseo, I have the same need for my product options. Cant believe I cant find an answer to this anywhere. It seems like it wouldnt be too complicated. Below is an example of what I'm looking for. Hope someone can help!
http://www.360tackle.com/images/order_multiple_options.jpg
__________________
4.1.6 |
|||||||
|
|||
X-Cart forums © 2001-2020
|