Hey @rarpia
https://mysite.com/discount/{% coupon_code 'WELCOME15' %} is used to autofill the discount code during checkout,
If you want to redirect them to a specific page and also autofill the discount code during checkout, you can use - https://mysite.com/discount/{% coupon_code '03_10OFF' %}?redirect=/collections/all
You can read more about this here
I hope this helps
Cheers
Arpit Banjara
Hi @ArpitBanjara, that is exactly what I want to do -autofill the discount code during checkout-, but I need to generate the link for DYNAMIC UNIQUE CODES, not for static codes.
This https://mysite.com/discount/{% coupon_code 'WELCOME15' %} does not work for DYNAMIC UNIQUE CODES.
Please help.
Thank you!