woocommerce / woocommerce-android

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

[Coupons] Unify "Add coupon" button visibility in case order contains custom amount only #12848

Closed samiuelson closed 1 week ago

samiuelson commented 3 weeks ago

Discussion: https://wp.me/pdfdoF-5IP#comment-6772

Android and iOS apps are not consistent in the way we handle coupons. In case the order contains only a custom amount Android app allows adding a coupon to the order and iOS does not.

The goal of that issue is to make decision whether we should adjust Android app to follow the iOS implementation and update the conditions for showing the "Add coupon" button in the order creation screen.

dangermattic commented 3 weeks ago

Thanks for reporting! 👍

malinajirka commented 2 weeks ago

I accidentally fixed this as part of this PR which was focused on bringing consistency to how the coupons are displayed in the order. I don't see a usecase in which someone would want to apply a coupon to an order which has only custom amount. Let's go with the iOS behavior for now and adjust if we here complains. This shouldn't block any users flows as they can always adjust the custom amount manually.

malinajirka commented 1 week ago

Fixed in [Order creation] Update coupons display order details #12855