Adding products to cart via URL
page last edited on 27 March 2015
Imagine the situation, your friend decided to write about your product on their blog and you would like to add a special link to this post: when the customer clicks on this link, the product should be added to the customer’s cart and the customer should be redirected to your store.
What you would need to do is create the link using the following HREF attribute:
You can get the product ID from the Admin area. Just open the product you require and look at the browser address bar, it will look something like
12345 is the product ID.