A link that puts a product in the cart (for newsletters and QR codes)

Build a link that takes the shopper straight to the cart with the chosen product and, if you like, a coupon. Useful for newsletters, social posts and QR codes on packaging.

⏱ 5 minAdvancedUpdated 8 Oct 2026

Instead of the shopper clicking a product in your newsletter, finding it and adding it to the cart, you send them a link that does all of that by itself: on click, the product is already in the cart, the coupon is applied, and the shopper is on the cart page. Fewer clicks mean more completed purchases.

Before you start

  • the product SKU (the SKU column in Catalog › Products),
  • optionally, a coupon code from a cart price rule.

The link always starts the same way: your store address is followed by /quickcart/addtocart/add/, and then the details:

https://www.vasa-trgovina.si/quickcart/addtocart/add/?sku=ABC123&qty=2&coupon=JESEN10
Part of the linkMeaning
sku=ABC123product SKU, required
qty=2quantity; without it, 1 item
coupon=JESEN10coupon code that is applied to the cart
promo=15instead of a code: the number of a cart price rule that has automatic code generation switched on. Each click creates a new, single-use code. You'll see the number in the ID column in Marketing › Cart Price Rules.
return_url=…the address of the page the shopper goes to instead of the cart (for example straight to checkout, /checkout)
  1. Build the link and paste it into your browser. Check that the product appears in the cart with the right quantity and discount.

  2. Use the link in newsletters and social media posts, or turn it into a QR code for print.

The same person can use the link once a minute. A second click within that time adds nothing; the shopper just lands in the cart. This prevents the product being added twice on a double click.
For products with variants (size, colour), use the SKU of the specific variant, not of the parent product. For bundles, the bundle's default options are selected.

Common problems

The cart is empty and an error is shown

The SKU is wrong or the product is out of stock. Check the SKU in the product list; upper and lower case matter.

The coupon isn't applied

The code must belong to an active rule that applies to this product and this customer group. Check the rule in Marketing › Cart Price Rules.

The SKU contains a space or a special character

Write a space in the link as %20 and the + character as %2B. The easiest way: paste the link into your browser, which fixes the characters itself, and copy the corrected link.

Was this article helpful?

Related

We use cookies for the proper functioning of the site, visit analytics and showing ads tailored to your interests. Read more in our privacy policy. By clicking "Accept all" you agree to the use of all cookies.