How can I add a product to the cart with a link?

  • 0
  • 1
  • Question
  • Updated 4 years ago
  • Answered
Archived and Closed

This conversation is no longer open for comments or replies and is no longer visible to community members. The community moderator provided the following reason for archiving: Archived

If you have multiple websites, a blog, or a special campaign, you may wish to give your customers a link they can click which will directly add a product to the cart. Please note that this can only be done for products without options.

Finding the Address
Navigate to the product on the category pages where it shows the Add to Cart link.
2010-01-08_0941.png

In most browsers, you should be able to right-click this link and select an option to copy the link location.

Example using Firefox:

2010-01-08_0941_001.png

Now, when you paste the URL into a browser address bar, you will be taken directly to the cart with that product added to it.

 

Alternative Way to Find the Address
In case your browser does not support the above, here's how to find the address alternatively.

1.) The standard format for this e-mail is:

https://yourdomain.com/cart.php?actio...=#

2.) To find the Product ID, login to your store's control panel.
3.) Then, click on Products and then View Products.



4.) Now, Edit the product for which you want to find the Product ID.

2012-04-19_1754.png

5.) In the address bar, locate the highlighted part of the URL. This number is the Product ID for that product.

2012-04-19_1755.png

6.) Replace the number from step 5 for the # sign in step 1, and you will now have a usable link to add the product to the cart when clicked.

Photo of Drew N

Drew N, Community Manager

  • 252,538 Points 100k badge 2x thumb

Posted 4 years ago

  • 0
  • 1

There are no replies.

This conversation is no longer open for comments or replies.