Jump to content

Coupon bug


Recommended Posts

one time use coupons are not checked after logging in

working on some custom referral code using coupons, they're only allowed to use one once.
since there's a plethora of potential coupons in the set, i figure presta will disallow a repeat use of the same one but not others in the set so i gotta work that out myself...

having trouble figuring out how to do it, so i figure look into how presta handles double dipping of one time coupons if the user adds it before logging in.. and it doesnt! it doesn't check the coupon after login for double dipping at all, you could use the same coupon over and over so long as you add it to your cart before logging in not after

Link to comment
Share on other sites

×
×
  • Create New...