I have a website based on magento c.e 1.7, now i need a "add to cart" button on my cms page which add multiple simple products to the cart.
Right now i have id of those products, there is no problem with quantity as i only need to add each product with quantity one.
Thanks in advance,
Sarvagya
Best Answer
You can add a product via
POST
tocheckout/cart/add/product/<id>
and add more simple items via$_GET['related_products'] = array('id', 'id2', ...)