Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • George Logan 36 posts 168 karma points
    Apr 05, 2022 @ 13:38
    George Logan
    0

    Discount Code - Time limited

    Afternoon all,

    Has anyone managed to create custom discount code with a time limit on it?

    example: Cust arrives on site Adds items to basket DOES NOT check out X days/hours after - Send an email with a discount code for y% off But only give the customer say 48 hours to use it ?

    TIA

  • Matt Brailsford 4125 posts 22222 karma points MVP 9x c-trib
    Apr 05, 2022 @ 14:44
    Matt Brailsford
    0

    Hey George,

    Discounts can have an expiration date so you should be able to create a discount that expires in 2 days time

    enter image description here

  • George Logan 36 posts 168 karma points
    Apr 07, 2022 @ 16:23
    George Logan
    0

    Ok cool, and we can do this off the back of OrderFinalized

    So,

    Order created Create discount code when OrderFinalized ExpiryDate = OrderFinalized +2

    ?

  • Matt Brailsford 4125 posts 22222 karma points MVP 9x c-trib
    Apr 08, 2022 @ 07:54
    Matt Brailsford
    0

    Hey George,

    Sure, you can use the Vendr DiscountService API to create your own discount and register it from an OrderFinalized event handler.

Please Sign in or register to post replies

Write your reply to:

Draft