View Single Post
  #4  
Old 04-27-2007, 02:46 PM
 
inebriate inebriate is offline
 

eXpert
  
Join Date: May 2006
Posts: 301
 

Default 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)
__________________
x-cart pro 4.0.18
linux
www.fabric8d.com (currently undergoing construction)
Reply With Quote