The Foxy forums are on the move!

We're in the process of moving our forums over to a new system, and so these forums are now read-only.
If you have a question about your store in the meantime, please don't hesitate to reach out to us via email.

Displace existing coupon code if a better one is entered.

I'm in a situation where my store has a promotion with a standing coupon of 5% on all products. The coupon is automatically added. However, several of my corporate customers will have coupon codes for a 15% discount on all products. Is it possible to have the better coupon code displace the automatically added one?
Comments
  • fc_adamfc_adam FoxyCart Team
    Hey Adam,

    We don't have a native way to currently remove already added coupons when another coupon is added. It's possible to dictate if a coupon is combinable with other coupons - but this will just prevent a new coupon being added if one of them isn't combinable.

    You could achieve it with some javascript - if both coupons are present, remove one of them. You would handle that with a jsonp request to the cart using our javascript events.
Sign In or Register to comment.