How can I create a URL to add products directly to the cart?

3 0 0

I am working on making an image map of an image, I wanted to add links to add products to the cart just by clicking the position on the cart. So I have the image map done and what now.


I have researched it a little bit and it looks like you can do something like this:


However this will take the user to the cart to checkout, is there a way to create the url to just add it to the cart?

Reply 1 (1)

Shopify Expert
3 0 0



If I understand this right, you can do it easily by doing this:


Helping scale-up company to grow by building strong e-commerce websites for brands and retailers.