Solved

Dynamic Coupon code not generating to email

  • 3 November 2021
  • 2 replies
  • 152 views

Badge +1

So I created my unique dynamic code for shopify and I want it to expire after 1 day from the abandon cart flow. When I use the never expires options it will generate coupon codes. but the moment I use expires in option it doesn’t generate it says the coupon code 104YOU-preview not the generated code. I have some screenshots below. the first picture is with the never expires second is with expires in  24 hrs

 

icon

Best answer by Dov 3 November 2021, 14:22

View original

2 replies

Badge +1

 

Userlevel 7
Badge +54

Hi @ehenderson,

Thank you for sharing this question with the Klaviyo community.

If you use a coupon code with an expiry date, it is expected that when you preview in the email editor, it will display the word “PREVIEW”. Only when the coupon code is sent in a live email, the full unique coupon code be displayed.

As long as you have the expiration date set to 1 day, it will respect that timeframe for the validity of the coupon code. 

Reply