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.).
loading...
loading...
Hello,
is there an opportunity to get the id flexible. Because i have a attribute with yes no and depends on that attribute it shows on the product page buy x get y free. So if i would like to have it for the product b i have to setup the product id and so on but i want it depends on the yes no attribute in the backend to display the buy x get y free and add 3 or 4 qty to the shopping cart.
thanks, for the help!
loading...
loading...