-
Notifications
You must be signed in to change notification settings - Fork 9.3k
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
Fix empty cart validation #21295
Fix empty cart validation #21295
Conversation
Hi @wojtekn. Thank you for your contribution
For more details, please, review the Magento Contributor Assistant documentation |
@magento-engcom-team give me test instance |
Hi @wojtekn. Thank you for your request. I'm working on Magento instance for you |
Hi @wojtekn, here is your new Magento instance. |
Issue doesn't reproduce on test instance based on PR changes. |
@magento-engcom-team give me 2.3-develop instance |
Hi @swnsma. Thank you for your request. I'm working on Magento 2.3-develop instance for you |
Hi @swnsma, here is your Magento instance. |
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.
Hi @wojtekn,
Thank you for you contribution!
- Please check failed JS static tests.
- Could you remove hard-coded jQuery selected from the component and pass it like variable:
"updateCartActionContainer": "#update_cart_action_container"}}'>
@wojtekn, thanks! I will check after Travis report will be ready. |
Hi @swnsma, thank you for the review. |
Hi @wojtekn, thank you for your contribution! |
Description
This PR prevents from running UpdateItemQty validation before Clear Shopping Cart action is triggered. In the other case validation breaks for use case in which product existing in cart went out of stock in the meantime.
Fixed Issues
Manual testing scenarios
jQuery('.action.clear').show()
It's hidden in CSS for some reason.
Contribution checklist