tastyigniter / ti-ext-coupons

A TastyIgniter extension that allows you to offer coupon codes and discounts to your customers
MIT License
4 stars 7 forks source link

Bug: Coupon get applied even if invalid #15

Closed Zelig880 closed 3 years ago

Zelig880 commented 3 years ago

Expected behavior: As an user I expect the coupon that get automatically applied to the cart, to be valid for my order

Actual behavior: Coupon that are automatically applied do not take into consideration the "days" in which the coupon are valid, and therefore can be applied, but invalid (an error popup will come up as soon as they are applied).

Reproduce steps:

Version: 3.4.4-beta-26

Additional Information: I have not personally checked if all other settings (minimum price, correct items, etc..) work properly.

ryanmitchell commented 3 years ago

Thanks for the reminder - this has been on my list to circle back to. I've opened a PR with a fix