[ ] Bug fix (non-breaking change that fixes an issue)
[ ] New feature (non-breaking change that adds functionality)
[ ] Documentation update
[ ] Breaking change (could cause existing functionality to not work as expected)
[ ] Other changes (non-breaking changes that does not fit any of the above)
Breaking changes include:
Removing a public function or component or prop
Adding a required argument to a function
Changing the data type of a function parameter or return value
Adding a new peer dependency to package.json
Changes
(change1)
How to Test-Drive This PR
If you'd like to test against an instance with a bundle with children products that have variant selections instead of the default turquoise jewelry bundle, DM for details for updating your default.js
git checkout ju/update_child_variant
start the template-retail-react-app
look for a product bundle
add product bundle to cart selecting variants
navigate to cart page and observe that variant selections are reflected in the line item
edit the product bundle by using the product modal
observe that the changes are reflected in the cart
Checklists
General
[ ] Changes are covered by test cases
[ ] CHANGELOG.md updated with a short description of changes (not required for documentation updates)
Accessibility Compliance
You must check off all items in one of the follow two lists:
[ ] There are no changes to UI
or...
[ ] Changes were tested with a Screen Reader (iOS VoiceOver or Android Talkback) and had no issues
Description
This PR uses the
updateItemsInBasket
endpoint to update the variant selections in for product bundle children.As of July 1st, 2024, the changes are deployed here and can be manually tested: https://scaffold-pwa-test-env-3.mobify-storefront.com/global/en-GB/product/test-bundle
Types of Changes
Changes
How to Test-Drive This PR
If you'd like to test against an instance with a bundle with children products that have variant selections instead of the default turquoise jewelry bundle, DM for details for updating your
default.js
git checkout ju/update_child_variant
template-retail-react-app
Checklists
General
Accessibility Compliance
You must check off all items in one of the follow two lists:
or...
Localization