woocommerce-android
woocommerce-android copied to clipboard
Bundle Product with Variable product won't load
Describe the bug
When I attempt to add a bundled product within the order creation and the bundled product contains a variable product which has Any
set for each of the variations, the variations are not displayed properly and the product won't load after it's added to the order.
To Reproduce Steps to reproduce the behavior:
- Start the order creation
- Add a bundled product which contains a variable product that has all the variations set with
Any
for the attributes (see image below). - Tap to Select Variation
- First bug: Notice all the rows contain only the thumbnail but are empty otherwise.
- Select on of the rows
- Add the product into the order
- Notice the Bundled Product loads correctly, but the children won't load at all.
Screenshots
Watch this video and notice the first variable products (Apple) works as expected, but the second variable products which has all the variations set as "any" (see screenshot from wpadmin) has empty rows:
https://github.com/woocommerce/woocommerce-android/assets/2261188/ab666581-5165-4bc2-97fe-551f9d676c3f
Expected behavior I would expect the rows of the variable product to be non-empty - I guess they should say "Any" and I would expect the children load correctly after the product is added to the order.
cc @atorresveiga if I recall correctly, you worked on the bundled products and might have more context.