tastyigniter / TastyIgniter

:fire: Powerful, yet easy to use, open-source online ordering, table reservation and management system for restaurants
https://tastyigniter.com
MIT License
3.04k stars 999 forks source link

Tips are discounted by coupons #834

Closed SupperDog closed 3 years ago

SupperDog commented 3 years ago

Expected behavior: Tips are supposed to be added on top of the final value.

Actual behavior: Tips are discounted when the customer uses a coupon.

Reproduce steps:

  1. Create a coupon (percentage);
  2. Place an order, add tip;
  3. Apply the coupon;
  4. Checkout.

Version: All

Additional Information: For percentage coupons, the tips should not be discounted. For fixed amount coupons, if the coupon value is greater than the order value, the tips shouldn't be discounted as well.

ryanmitchell commented 3 years ago

System -> Settings -> Cart Settings -> move tip to the last in the list. It should mean its price is not affected by other conditions.

SupperDog commented 3 years ago

Oh that works many thanks for your help :)