-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
Bulk Quick Add: Clicking "-" takes you back to 0 #3297
Conversation
Something is broken in this PR adding to cart when there are quantity rules. Wasn't able to test - taking you back to 0. Here's the problem I experienced. Repro steps:
|
@scottgmeadows Good catch 👍 this was happening when we had a stepcount lower than the min. This should be fixed now |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Works as expected! 🚀
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- Test cart drawer (with and without vol pricing, qty rules) updating items in cart
- Test drawer updating items in cart (with and without vol pricing, qty rules)
- Test adding to cart from PDP, feat product (regular add to cart - this shouldnt be affected)
- Test Quick Order List (with and without vol pricing, qty rules) updating items in cart
- Test Quick Add bulk in the collection page (with and without vol pricing, qty rules) updating items in cart
I tested everything above and it works as expected.
I did some more testing and noticed that when Enable quick add button is checked within the featured collection section on the homepage or PDP, it doesn't work (video). I also checked the editor link from #3217 and the same thing occurs. I'm assuming this is intentional and that it'll be taken care of in another PR? 🤔
Yes, this is not part of this PR and will be taken care of when we introduce the new quick add to the remaining portions of the theme - issues are tracked here https://github.com/orgs/Shopify/projects/6397/views/26?pane=issue&itemId=50891026 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested all the scenarios and LGTM :)
PR Summary:
Clicking on
-
takes you back to 0 on live cart. This shouldn't affect regular add to cartWhy are these changes introduced?
Fixes #issue.
What approach did you take?
Visual impact on existing themes
The buyer will be able to remove items from cart in live cart by using
-
Testing steps/scenarios
Demo links
Checklist