Skip to main content

Hello, I have a problem with creating coupons that expire exactly one year after a customer purchases a specific product. I want to generate codes that expire one year after the purchase. The idea is that when a customer buys a specific product, they should receive their unique code in the Post-Purchase Flow, with a validity of one year.

However, when I start creating the codes, I have two options:

  1. Never expire,
  2. Set an expiration date for a specific time on the calendar.

This makes them expire on a set date, but I want them to expire exactly one year after being received by the customer.

Can anyone explain how this can be done, or if it’s not possible? I’ve read all the available articles on this topic and see that some people have done it, but it seems this was done a while ago because I only have these two options: never expire or expire on a specific calendar date, which makes them expire on a fixed date rather than a period of time after being received.

Hi ​@Nikolay, first of all, welcome to the community!
I’m not sure what platform you’re on, but if you’re on Shopify for example, you can create a unique coupon code that expires from the time the coupon code is generated (at send time from your Post Purchase Flow message), and set it to be 365 days (1 year).

See here:

 

You can follow these instruction's to set this up and how to use it in your email template:

 


Hello, ​@retention ! The platform is WooCommerce. I will also send you two pictures so you can see the options I have when trying to do it from Klaviyo through WooCommerce and directly from Klaviyo. I don’t have that option on my end :(

 


Hi ​@Nikolay 

Thank you for posting in the Community!

I would follow this article: https://help.klaviyo.com/hc/en-us/articles/22168739689627

Hope that helps or else let me know! :-) 

Christian Nørbjerg Enger
Partner & CPO
Web: Segmento.dk
LinkedIn: @christianfromsegmento
Voldbjergvej 22b, 8240 Risskov


Hi ​@Nikolay,

If you create a WooCommerce coupon in Klaviyo, you should be able to have them expire after a certain number of days, like your first screenshot shows! Were you looking to create a coupon through a different method, or seeing errors when trying to set them to expire after a year?

Let me know, and I’ll see what’s going on.

-Byrne


Hi ​@Nikolay ! 

Just following up on this - were you were able to successfully create this coupon?