forked from adobe/aem-boilerplate
-
Notifications
You must be signed in to change notification settings - Fork 110
USF 2008 - PDP supports Update Product page #419
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
|
Hello, I'm the AEM Code Sync Bot and I will run some actions to deploy your branch and validate page speed.
|
|
jcalcaben
previously approved these changes
May 14, 2025
jcalcaben
approved these changes
May 20, 2025
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Please always provide the GitHub issue(s) your PR is for, as well as test URLs where your change can be observed (before and after):
Fix # https://jira.corp.adobe.com/browse/USF-2008
Use packages:
Cart:
1.3.0-beta21.2.1-alpha1- will release and use a beta version after the related PDP PR is merged.PDP:
1.2.0-beta3PDP supports updating cart item configuration
itemUidparameter from the URL to identify if a specific item variant from the cart is being viewed.quantityquery parameter from the page URL upon loading.quantityparameter, it is used as the initial value for the quantity input field on the PDP.Custom.UpdateInCart.label) if theitemUidfrom the URL matches an item currently in the cart.PDP.Product.AddToCart.label).addProductsToCartAPI with the currently selected product configuration.updateProductsFromCartAPI, passing theitemUid(from the URL) and the currently selected product configuration (quantity, SKU, options) to update that specific line item in the cart.Custom.AddingToCart.label/Custom.UpdatingInCart.label) during the respective asynchronous cart operations.Can use this configurable product for testing: https://usf-2008--aem-boilerplate-commerce--hlxsites.aem.live/products/cypress-configurable-product-latest/CYPRESS456
TODO:
Test URLs:
https://USF-2008--aem-boilerplate-commerce--hlxsites.aem.live/cart