Add to cart link

New Member
7 0 0

Hello.  I would like to use the "insert link" tool in the page editor to insert a link that puts a specific item in the user's cart.  I am using an image as the "button" / link instead of a real button.  Is there a url which will add a product to the cart that I can past into the url spot in the "instert link" tool?  This would be very helpfull. 

I'm basically trying to do the same thing as "using permalinks to pre load cart" but instead of taking the user to the payment page I want to take them to their cart.

Please help.  Thanks!

0 Likes
Shopify Expert
9778 86 1526

The url would look something like this:

http://some-store.com/cart/add?id=123456789

/* or */

http://some-store.com/cart/add?id=123456789&quantity=9

 

★ Winning Partner of the Build a Business competition. ★ http://freakdesign.com.au
5 Likes
New Member
7 0 0

Thanks!  works great

0 Likes
New Member
1 0 0

Hi, 

I tried to add UTM variables into the URL but somehow GA can't track these. Do the UTM parameters get lost when you add them to the link? 

Kind regards, 
Amaury

0 Likes