-
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
Cart form default action is to empty cart #22597
Comments
Hi @aario. Thank you for your report.
Please make sure that the issue is reproducible on the vanilla Magento instance following Steps to reproduce. To deploy vanilla Magento instance on our environment, please, add a comment to the issue:
For more details, please, review the Magento Contributor Assistant documentation. @aario do you confirm that you was able to reproduce the issue on vanilla Magento instance following steps to reproduce?
|
Hi @krishprakash. Thank you for working on this issue.
|
@magento-engcom-team give me 2.3-develop instance |
Hi @krishprakash. Thank you for your request. I'm working on Magento 2.3-develop instance for you |
Hi @krishprakash, here is your Magento instance. |
Not reproduced on magento 2.3 instance which provided by magento. |
✅ Confirmed by @krishprakash Issue Available: @krishprakash, You will be automatically unassigned. Contributors/Maintainers can claim this issue to continue. To reclaim and continue work, reassign the ticket to yourself. |
Hi @Shubham-Webkul. Thank you for working on this issue.
|
@magento-engcom-team give me 2.3-develop instance |
Hi @Shubham-Webkul. Thank you for your request. I'm working on Magento 2.3-develop instance for you |
Hi @Shubham-Webkul, here is your Magento instance. |
Reproduced on 2.3.x |
But i noticed if cart page loaded completely(Estimate shipping section) then update item quantity otherwise it's empty. |
@Shubham-Webkul, In 2.3.1 after proper page load this issue is appeared. |
Hi @gulshanchitransh. Thank you for working on this issue.
|
I am working on this issue |
Hi @sanjaychouhan-webkul. Thank you for working on this issue.
|
I cannot reproduce this issue on 2.3-develop branch. If this issue is related to 2.3.1, it's probably fixed in 2.3-develop |
I'm closing this issue as it's fixed in future releases. |
empty cart when adding product, reproduced in magento 2.3.2. with theme Luma |
Preconditions (*)
Steps to reproduce (*)
Expected result (*)
Actual result (*)
More info:
It happens in:
vendor/magento/module-checkout/view/frontend/templates/cart/form.phtml
Where there are two submit buttons in a form:
When the
Enter
key is pressed inside quantity input box, the browser automatically chooses the first submit button which is toempty_cart
. Order of these buttons should be reversed or a javascript added to define the default behavior whenEnter
key is pressed.Additional Information (*)
FYI: This issue is only reproduced on magento 2.3.1 not in 2.3 nor in 2.2
The text was updated successfully, but these errors were encountered: