Skip to content
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

Merged
merged 8 commits into from
Sep 27, 2023

Conversation

glo82145
Copy link
Collaborator

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

  • I have added tests to cover my changes, if necessary.
  • I have added translations for new strings, if necessary.
  • I have updated the documentation accordingly, if necessary.

@m2-community-project m2-community-project bot added this to Ready for Review in Pull Request Progress Jul 27, 2023
@pwa-studio-bot
Copy link
Collaborator

pwa-studio-bot commented Jul 27, 2023

Fails
🚫 Missing "Description" section. Please add it back, with detail.
Messages
📖

Associated JIRA tickets: PWA-3117.

📖 DangerCI Failures related to missing labels/description/linked issues/etc will persist until the next push or next pr-test build run (assuming they are fixed).
📖

Access a deployed version of this PR here. Make sure to wait for the "pwa-pull-request-deploy" job to complete.

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.

Generated by 🚫 dangerJS against f6182cc

@glo82145 glo82145 added the version: Minor This changeset includes functionality added in a backwards compatible manner. label Sep 18, 2023
@glo82145
Copy link
Collaborator Author

run lighthouse-desktop

@pwa-test-bot
Copy link

pwa-test-bot bot commented Sep 27, 2023

Successfully started codebuild job for lighthouse-desktop

@glo82145
Copy link
Collaborator Author

run lighthouse-mobile

@pwa-test-bot
Copy link

pwa-test-bot bot commented Sep 27, 2023

Successfully started codebuild job for lighthouse-mobile

@m2-community-project m2-community-project bot moved this from Ready for Review to Reviewer Approved in Pull Request Progress Sep 27, 2023
@glo82145 glo82145 merged commit 649a853 into develop Sep 27, 2023
10 of 11 checks passed
@m2-community-project m2-community-project bot moved this from Reviewer Approved to Done in Pull Request Progress Sep 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pkg:peregrine pkg:venia-ui Progress: done version: Minor This changeset includes functionality added in a backwards compatible manner.
Development

Successfully merging this pull request may close these issues.

None yet

3 participants