woocommerce / woocommerce-android

WooCommerce Android app
https://www.woocommerce.com/mobile
GNU General Public License v2.0
277 stars 136 forks source link

Coupons disappearing from an order #12687

Closed atorresveiga closed 1 month ago

atorresveiga commented 1 month ago

Describe the bug Using multiple coupons can lead to unexpected behaviors

To Reproduce Create two coupons: One for a 10% discount and another for a 100% discount

Steps to reproduce the behavior:

  1. Go to 'Orders
  2. Start creating an order
  3. Add a product to the order
  4. Add the 10% coupon
  5. Add the 100% coupon
  6. Check that the 10% coupon is removed from the coupon list.
  7. Add the 10% discount again
  8. Check that the two coupons are displayed in the list of coupons in the order
  9. Tap on the list of coupons
  10. Press back
  11. Check that one of the coupons is removed from the order

Screenshots

https://github.com/user-attachments/assets/16efd3e4-f1e2-4104-a935-67056df68231

Expected behavior Adding multiple coupons to an order displays ALL the coupons added

Isolating the problem (mark completed items with an [x]):

Mobile Environment Please include:

dangermattic commented 1 month ago

Thanks for reporting! 👍