Special offer: one-time payment

  1. Home
  2. Knowledge Base
  3. Advanced Usage
  4. Prevent caching the coupon on a product

Prevent caching the coupon on a product

When a customer enters a valid coupon for your product or accesses your product from the coupon URL (which contains the coupon directly in the URL and applies it automatically), we persist this coupon for them.

This means that if they refresh the page, or click the back button and then return again, their coupon will still be applied and ready for them to go.

If you want to prevent this functionality, you can simply add a parameter to the query string when sending people to your cart.

Here follow some simple examples:

https://webactix.thrivecart.com/my-product/?coupon=DISCOUNT

Default behaviour: this is a standard coupon URL. The ‘DISCOUNT’ coupon will be applied automatically and then remembered if the customer clicks back and then returns later.

https://webactix.thrivecart.com/my-product/?coupon_cache=false

If the user clicks this link, then enters a valid coupon themselves, it will not get saved and they would have to re-enter it if they leave the page and come back again.

https://webactix.thrivecart.com/my-product/?coupon=DISCOUNT&coupon_cache=false

If the user clicks this link, the ‘DISCOUNT’ coupon will be applied automatically. If they then click to go back, it will not be saved and they would have to re-enter it again or visit via the link that originally sent them.

As always if you have any questions please don’t hesitate to get in touch with us via support@thrivecart.com

Was this article helpful?

Related Articles

Need Support?

Can't find the answer you're looking for?
Contact Support