Codes in emails and links
Put a discount code in any store link with ?discount=CODE - for emails, ads and abandoned checkout reminders - and what the buyer's cart does with it.
?discount= on any store link
Add ?discount=CODE to any address of the store and the code goes into the visitor's cart:
https://shop.example.com/?discount=WELCOME10https://shop.example.com/products/massage-oil?discount=WELCOME10/s/<store>/collections/new?discount=WELCOME10on the platform address
The code stays in the cart on that browser until the buyer removes it or places an order, and the address loses the ?discount= part once it's read. The code still has to apply: dates, limits, minimums and who can use it are checked in the cart and again at checkout.
In the editor, Share link gives the store's address with the code, ready to copy. See Create a discount.
In abandoned checkout reminders
The recovery link of an abandoned checkout takes ?discount= too: it puts the cart back, adds the code, and opens checkout with the discount already on. In an automation email on checkout.abandoned:
{{ checkout.url }}?discount=COMEBACK10The recovery link never has a ? of its own, so add the code as above. See Abandoned checkouts and Automations.
Good codes for emails
- One use per customer, so a forwarded email doesn't become a public code. It needs an email at checkout, which recovery links fill in.
- An end date, so an old email stops giving money off.
- A total limit for a first-come offer.
- A clear code (
COMEBACK10), not a generated one, when buyers may type it.
Related
Combining discounts
When two discounts can go on the same order, what happens when they can't, and the order discounts come off in.
Content and files
The store's file library - uploading, file types and size limits, folders, files shared across stores, alt text, where a file is used, replacing a file everywhere, and how files are stored.