Closed AnirudhBhat closed 1 week ago
App Name | WooCommerce-Wear Android | |
Platform | ⌚️ Wear OS | |
Flavor | Jalapeno | |
Build Type | Debug | |
Commit | d5997f757e5a15747aed6859e061b917af2b0f8f | |
Direct Download | woocommerce-wear-prototype-build-pr12872-d5997f7.apk |
📲 You can test the changes from this Pull Request in WooCommerce Android by scanning the QR code below to install the corresponding build.
App Name | WooCommerce Android | |
Platform | 📱 Mobile | |
Flavor | Jalapeno | |
Build Type | Debug | |
Commit | d5997f757e5a15747aed6859e061b917af2b0f8f | |
Direct Download | woocommerce-prototype-build-pr12872-d5997f7.apk |
Attention: Patch coverage is 89.65517%
with 3 lines
in your changes missing coverage. Please review.
Project coverage is 40.26%. Comparing base (
d978794
) to head (d5997f7
). Report is 270 commits behind head on trunk.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Closes: #12842
Description
This PR does 2 things:
Refactor so that we can pass in relevant data required for product types - for instance, Simple product just needs ID for it to be added to cart but Variable product needs name and ids. This PR refactors such that it will be easy for us to extend it for future use cases as well (Custom amounts, discounts, coupons ...etc)
Detect and display number of variations for Variable product just below the product name.
Design
Testing information
Create Variable products with different variations and ensure Variable products are displayed with correct number of variations in items list in POS mode.
Ensure you cannot add variable products to cart yet.
The tests that have been performed
Ensured correct number of variations are displayed for variable products in items list
Ensured variable products cannot be added to the cart
Images/gif
https://github.com/user-attachments/assets/c394405b-393d-44a4-8763-56d7ca51db41
RELEASE-NOTES.txt
if necessary. Use the "[Internal]" label for non-user-facing changes.Reviewer (or Author, in the case of optional code reviews):
Please make sure these conditions are met before approving the PR, or request changes if the PR needs improvement: