Magento – add produkt about remote URL in cart – Magento HowTo

18. Mai 2011 at 14:39

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.).

Daniel Briegert

Daniel Briegert

xing: https://www.xing.com/profile/Daniel_Briegert

More Posts - Website

Follow Me:
TwitterFacebook

Tags: