I have created a Shopify dynamic discount code in Klaviyo named DISCOUNT15 I know how to display the discount code in a flow email with: {% coupon_code 'WELCOME15' %} but… how do I apply it to a button that will be shown in an email flow?
Tried this but does not work: https://mysite.com/discount/{% coupon_code 'WELCOME15' %}
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
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
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.