Thanks. What I am trying to accomplish is that I have a custom PHP page added to the shop where I put some buttons like the following ...
<form name="mycartpostform" id="mycartpostform" action="[URL="http://www.myeyesadoreyou.com.au/index.php?main_page=shopping_cart&action=add_product"]index.php?main_page=shopping_cart&action=add_product[/URL]" method="post" enctype="multipart/form-data">
<input type="hidden" name="products_id" value="124" />
<input type="image" src="includes/templates/template_default/buttons/english/button_in_cart.gif" alt="Add to Cart" title=" Add to Cart " />
</form>
where if the user clicks the button, it adds product 124 to cart.
I'm trying to figure out how to re-construct this form so that it adds both product 124 and 125 to cart.
I tried ...
<form name="mycartpostform" id="mycartpostform" action="[URL="http://www.myeyesadoreyou.com.au/index.php?main_page=shopping_cart&action=multiple_products_add_product"]index.php?main_page=shopping_cart&action=multiple_products_add_product[/URL]" method="post" enctype="multipart/form-data">
<input type="hidden" name="products_id" value="124" />
<input type="hidden" name="products_id" value="125" />
<input type="image" src="includes/templates/template_default/buttons/english/button_in_cart.gif" alt="Add to Cart" title=" Add to Cart " />
</form>
But no luck. It seems to only add the last product number 125.