Personalized checkout and custom promotions with Shopify Scripts
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:
https://www.sampeldomain.com/cart/35233:1
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?
Hi,
If I understand this right, you can do it easily by doing this:
yourdomain.com/cart/add/productid
Example:
example.com/cart/add/13106781710
We appreciate the diverse ways you participate in and engage with the Shopify Communi...
By JasonH Sep 9, 2024Thanks to everyone who participated in our AMA with 2H Media: Marketing Your Shopify St...
By Jacqui Sep 6, 2024The Hydrogen Visual Editor is now available to merchants in Shopify Editions | Summer '...
By JasonH Sep 2, 2024