-
Notifications
You must be signed in to change notification settings - Fork 683
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
PWA-3117::[PWA] display number of items in cart instead of quantities… #4149
Conversation
If your PR is missing information, check against the original template here. At a minimum you must have the section headers from the template and provide some information in each section. |
run lighthouse-desktop |
Successfully started codebuild job for |
run lighthouse-mobile |
Successfully started codebuild job for |
Preconditions
Leave only Yes or No as the answer
Issue is reproducible on the latest mainline, without Sample Data: Yes
JIRA was checked for similar/duplicated issues: Yes
GitHub project was checked: Yes
Merchdocs and Devdocs were checked: Yes
Double Check List L3 was checked: Yes
Steps to reproduce
Install PWA studio with [ 2.4-develop ]
Check the [ Display Cart Summary ] configuration from [ Store > Configuration > Sales > Checkout > My Cart Link > Display Cart Summary ]. The default value should available as [ Display item quantities ]
Create a simple product from the backend
Add 5 quantities to cart from the above product. The minicart will display like below. Which is correct with the default [ Display Cart Summary ] configuration.
Change the [ Display Cart Summary ] configuration to [ Display number of items in cart ]
Remove items from the shopping cart and again add 5 quantities from the same product
Check the mini-cart product count
Actual results
Minicart still displays [ 5 ].
Expected results
When we set [ Display Cart Summary ] configuration to [ Display number of items in cart ], it should not display the item quantity. The value it should display is [ 1 ], which is the number of unique items in the cart.
Closes #PWA-3117
Acceptance
Verification Stakeholders
Specification
Verification Steps
Test scenario(s) for direct fix/feature
Test scenario(s) for any existing impacted features/areas
Test scenario(s) for any Magento Backend Supported Configurations
Is Browser/Device testing needed?
Any ad-hoc/edge case scenarios that need to be considered?
Screenshots / Screen Captures (if appropriate)
Breaking Changes (if any)
Checklist