I’m currently building some flows for VIP customers and I want to insert the expiry date underneath the coupon code. The date will be one year from when they receive the email, anyone know how to do this?
Page 1 / 1
Hi
So what you can do is insert a tag underneath the coupon in your template. In your case, since the coupon is meant to expire one year from when they receive the email you could use the following tag in your template beneath the coupon:
{% today '%Y-%m-%d' as today %} {{ today|days_later:365 }}
So for example, {% today '%Y-%m-%d' as today %} would return the format 2021-02-12
Note the date needs to be in the format '%Y-%m-%d' OR '%Y-%m-%dT%H:%M:%S' OR '%m-%d-%Y'
Reply
Log in to the Community
Use your Klaviyo credentials
Log in with Klaviyo
Use your Klaviyo credentials
Log in with KlaviyoEnter your E-mail address. We'll send you an e-mail with instructions to reset your password.