Magento – add produkt about remote URL in cart – Magento HowTo
With this url structure you can add simply products to your cart in Magento:
http://www.yourdomain.com/checkout/cart/add?product=[id]&qty=[qty]
The [id] is the Magento ID of the product and [qty] is the Quantity of the product you wish to add.
Add a simple product with custom options to your cart in Magento:
http://www.yourdomain.com/checkout/cart/add?product=[id]&qty=[qty]&options[id]=[value]
The [id] is the Magento ID of the product and [qty] is the Quantity of the product you wish to add and the options[id]=[value] select your option of this product (color, size, etc.).
One Comment