Hi all,

When as an anonymous user I use a browser for the first time I need to enter the coupon code. But when I come back later to buy something else in the same browser then the previous code automatically goes into the cart without me entering it. So is this expected behaviour - is the previous coupon remembered by the browser and are conditions checked eg that the coupon has not expired and that it applies to the new product?

Thanks

Comments

wodenx’s picture

That's browser autofill behavior. There's no way to conrol that from the server-side. yes, the coupon restrictions will be checked when the page is submitted.

juc1’s picture

OK thanks. I just tried it again after deactivating the coupon and in /cart beneath '[product] added to your shopping cart' I get 'Unknown is no longer applicable to your order' - is that message from ubercart or Ubercart Discount Coupons? Anyway I guess this is the browser trying to put the coupon in the cart and it getting rejected.

thanks