woocommerce / woocommerce-android

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

[Order / Products details] Adjust Variable product lists to display selected Attributes as `Any` #5871

Open ThomazFB opened 2 years ago

ThomazFB commented 2 years ago

Context

All Variable products must contain attributes to define it Variations, if a Variation doesn't have a valid Attribute selected, Woo Core and our apps consider this as an Any Attribute. E.g. if you select no color for your T-shirt as a variable product, the Any color will be set.

The issue

As highlighted in https://github.com/woocommerce/woocommerce-android/pull/5860, WCAndroid doesn't display the Any selection scenario, but iOS does. In order to achieve platform parity, we want to adjust that for every Product lists inside our app that displays the Attribute details.

Example

shiki commented 2 years ago

As noted in https://github.com/woocommerce/woocommerce-android/pull/5860#issuecomment-1040576649, Core doesn't show “Any” at all. So we still have to discuss what's the right way to do it.

image

I'll move this out of the Order Creation project for now but we'll keep an eye on it on the Eagle board.