Magento 2.3.1 - Update Cart Quantity Empties Cart when pressing ENTER Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern) Announcing the arrival of Valued Associate #679: Cesar Manara Unicorn Meta Zoo #1: Why another podcast?Observer checkout_cart_product_add_after get product quantity in cartMagento. Quantity in checkout shopping cart doesn't work properlyUpdate cart does not work properlyCannot update quantity from cartAuto update cart quantity when change quantityMaximum quantity per order magento not per productUpdating Basket quantity (using ENTER) clears the basket entirelyShopping Cart Error Message - Show Remaining Quantity When Quantity Selected Exceeds InventoryHow save custome data and add new cart item instead of update quantity when product add to cart in MagentoHow to update quantity of all products in cart with REST API
Why did the IBM 650 use bi-quinary?
Does accepting a pardon have any bearing on trying that person for the same crime in a sovereign jurisdiction?
How do I mention the quality of my school without bragging
What is this single-engine low-wing propeller plane?
"Seemed to had" is it correct?
What would be the ideal power source for a cybernetic eye?
What does the "x" in "x86" represent?
What are 'alternative tunings' of a guitar and why would you use them? Doesn't it make it more difficult to play?
What do you call a phrase that's not an idiom yet?
How to find all the available tools in macOS terminal?
Is there a service that would inform me whenever a new direct route is scheduled from a given airport?
Proof involving the spectral radius and Jordan Canonical form
Disable hyphenation for an entire paragraph
Sorting numerically
Is there a concise way to say "all of the X, one of each"?
Should I discuss the type of campaign with my players?
Did Kevin spill real chili?
How widely used is the term Treppenwitz? Is it something that most Germans know?
Withdrew £2800, but only £2000 shows as withdrawn on online banking; what are my obligations?
Is there a documented rationale why the House Ways and Means chairman can demand tax info?
How to motivate offshore teams and trust them to deliver?
The logistics of corpse disposal
Java 8 stream max() function argument type Comparator vs Comparable
I am not a queen, who am I?
Magento 2.3.1 - Update Cart Quantity Empties Cart when pressing ENTER
Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern)
Announcing the arrival of Valued Associate #679: Cesar Manara
Unicorn Meta Zoo #1: Why another podcast?Observer checkout_cart_product_add_after get product quantity in cartMagento. Quantity in checkout shopping cart doesn't work properlyUpdate cart does not work properlyCannot update quantity from cartAuto update cart quantity when change quantityMaximum quantity per order magento not per productUpdating Basket quantity (using ENTER) clears the basket entirelyShopping Cart Error Message - Show Remaining Quantity When Quantity Selected Exceeds InventoryHow save custome data and add new cart item instead of update quantity when product add to cart in MagentoHow to update quantity of all products in cart with REST API
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;
I have just updated to Magento 2.3.1 and noticed that whenever a customer goes to his cart and changes the quantity of an item and press ENTER, then the whole cart gets empty instead to updating the new quantity. Is there a way to change this?
cart shopping-cart shopping
|
show 4 more comments
I have just updated to Magento 2.3.1 and noticed that whenever a customer goes to his cart and changes the quantity of an item and press ENTER, then the whole cart gets empty instead to updating the new quantity. Is there a way to change this?
cart shopping-cart shopping
Can you check your system / exception logs when u have redone the action to see if there are any errors which popup maybe check your network panel for any errors
– Dava Gordon
Apr 12 at 11:18
I have installed a fresh magento 2.3.1 with sample data and it does exactly the same.
– James Tsai
Apr 12 at 11:48
When you click the update button does it reset (not pressing enter)
– Dava Gordon
Apr 12 at 11:50
also are you working locally if so change your base url localhost to 127.0.0.1 or map a local url via your host file also check your using http only in the sytem config
– Dava Gordon
Apr 12 at 11:58
Hi Dava, Update button works. But some people don't necessarily scroll down to update when they have a long list. My intuition is to change the number and click "Enter". I have a live website and a test website that is on 2 differents siteground hosting package.
– James Tsai
Apr 12 at 16:13
|
show 4 more comments
I have just updated to Magento 2.3.1 and noticed that whenever a customer goes to his cart and changes the quantity of an item and press ENTER, then the whole cart gets empty instead to updating the new quantity. Is there a way to change this?
cart shopping-cart shopping
I have just updated to Magento 2.3.1 and noticed that whenever a customer goes to his cart and changes the quantity of an item and press ENTER, then the whole cart gets empty instead to updating the new quantity. Is there a way to change this?
cart shopping-cart shopping
cart shopping-cart shopping
asked Apr 11 at 21:14
James TsaiJames Tsai
106110
106110
Can you check your system / exception logs when u have redone the action to see if there are any errors which popup maybe check your network panel for any errors
– Dava Gordon
Apr 12 at 11:18
I have installed a fresh magento 2.3.1 with sample data and it does exactly the same.
– James Tsai
Apr 12 at 11:48
When you click the update button does it reset (not pressing enter)
– Dava Gordon
Apr 12 at 11:50
also are you working locally if so change your base url localhost to 127.0.0.1 or map a local url via your host file also check your using http only in the sytem config
– Dava Gordon
Apr 12 at 11:58
Hi Dava, Update button works. But some people don't necessarily scroll down to update when they have a long list. My intuition is to change the number and click "Enter". I have a live website and a test website that is on 2 differents siteground hosting package.
– James Tsai
Apr 12 at 16:13
|
show 4 more comments
Can you check your system / exception logs when u have redone the action to see if there are any errors which popup maybe check your network panel for any errors
– Dava Gordon
Apr 12 at 11:18
I have installed a fresh magento 2.3.1 with sample data and it does exactly the same.
– James Tsai
Apr 12 at 11:48
When you click the update button does it reset (not pressing enter)
– Dava Gordon
Apr 12 at 11:50
also are you working locally if so change your base url localhost to 127.0.0.1 or map a local url via your host file also check your using http only in the sytem config
– Dava Gordon
Apr 12 at 11:58
Hi Dava, Update button works. But some people don't necessarily scroll down to update when they have a long list. My intuition is to change the number and click "Enter". I have a live website and a test website that is on 2 differents siteground hosting package.
– James Tsai
Apr 12 at 16:13
Can you check your system / exception logs when u have redone the action to see if there are any errors which popup maybe check your network panel for any errors
– Dava Gordon
Apr 12 at 11:18
Can you check your system / exception logs when u have redone the action to see if there are any errors which popup maybe check your network panel for any errors
– Dava Gordon
Apr 12 at 11:18
I have installed a fresh magento 2.3.1 with sample data and it does exactly the same.
– James Tsai
Apr 12 at 11:48
I have installed a fresh magento 2.3.1 with sample data and it does exactly the same.
– James Tsai
Apr 12 at 11:48
When you click the update button does it reset (not pressing enter)
– Dava Gordon
Apr 12 at 11:50
When you click the update button does it reset (not pressing enter)
– Dava Gordon
Apr 12 at 11:50
also are you working locally if so change your base url localhost to 127.0.0.1 or map a local url via your host file also check your using http only in the sytem config
– Dava Gordon
Apr 12 at 11:58
also are you working locally if so change your base url localhost to 127.0.0.1 or map a local url via your host file also check your using http only in the sytem config
– Dava Gordon
Apr 12 at 11:58
Hi Dava, Update button works. But some people don't necessarily scroll down to update when they have a long list. My intuition is to change the number and click "Enter". I have a live website and a test website that is on 2 differents siteground hosting package.
– James Tsai
Apr 12 at 16:13
Hi Dava, Update button works. But some people don't necessarily scroll down to update when they have a long list. My intuition is to change the number and click "Enter". I have a live website and a test website that is on 2 differents siteground hosting package.
– James Tsai
Apr 12 at 16:13
|
show 4 more comments
1 Answer
1
active
oldest
votes
Create a new JS file in your theme
app/design/frontend//Magento_Checkout/view/frontend/web/js/shopping-cart.js
/**
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
define([
'jquery',
'jquery/ui'
], function ($)
'use strict';
$.widget('mage.shoppingCart',
/** @inheritdoc */
_create: function ()
var items, i;
$(this.options.emptyCartButton).on('click', $.proxy(function (event)
if (event.detail === 0)
return;
$(this.options.emptyCartButton).attr('name', 'update_cart_action_temp');
$(this.options.updateCartActionContainer)
.attr('name', 'update_cart_action').attr('value', 'empty_cart');
, this));
items = $.find('[data-role="cart-item-qty"]');
for (i = 0; i < items.length; i++)
$(items[i]).on('keypress', $.proxy(function (event) //eslint-disable-line no-loop-func
var keyCode = event.keyCode ? event.keyCode : event.which;
if (keyCode == 13) //eslint-disable-line eqeqeq
$(this.options.emptyCartButton).attr('name', 'update_cart_action_temp');
$(this.options.updateCartActionContainer)
.attr('name', 'update_cart_action').attr('value', 'update_qty');
, this));
$(this.options.continueShoppingButton).on('click', $.proxy(function ()
location.href = this.options.continueShoppingUrl;
, this));
);
return $.mage.shoppingCart;
);
This will overwrite the core magento checkout shopping-cart.js and fix the issue you are having.
Hi, I tried the above and it does not work unfortunately.
– James Tsai
12 hours ago
You do have a theme it is just the standard luma/blank theme loaded from vendor/magento/theme-frontend-luma and all the different pieces are within the individual modules. if u replace the static content version of this to test and then if it does work create a custom module with this in place. never update vendor
– Dava Gordon
12 hours ago
did u delete your cache also make sure you deleted your browser cache as i found that for some reason chrome and firefox cache the js files
– Dava Gordon
11 hours ago
I actually tried to test your code by changing in vendor folder and it works. i guess I just have to find a way to incorporate this in my theme. Thank you again for your help!
– James Tsai
5 hours ago
I have tried to add it in my <Theme>/Magento_Checkout/view/frontend/web/js/shopping-cart.js. Static-content:deploy, Clean Cache, Flush cache, remove pub/static, Generated/code, var/viewprocessed, Var/Cache, Static-content:deploy again...the code don't seem to overwrite the core magento checkout shopping-cart.js. Is it really bad to change the vendor folder? At this point I am so discouraged.
– James Tsai
3 hours ago
add a comment |
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "479"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f269785%2fmagento-2-3-1-update-cart-quantity-empties-cart-when-pressing-enter%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
Create a new JS file in your theme
app/design/frontend//Magento_Checkout/view/frontend/web/js/shopping-cart.js
/**
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
define([
'jquery',
'jquery/ui'
], function ($)
'use strict';
$.widget('mage.shoppingCart',
/** @inheritdoc */
_create: function ()
var items, i;
$(this.options.emptyCartButton).on('click', $.proxy(function (event)
if (event.detail === 0)
return;
$(this.options.emptyCartButton).attr('name', 'update_cart_action_temp');
$(this.options.updateCartActionContainer)
.attr('name', 'update_cart_action').attr('value', 'empty_cart');
, this));
items = $.find('[data-role="cart-item-qty"]');
for (i = 0; i < items.length; i++)
$(items[i]).on('keypress', $.proxy(function (event) //eslint-disable-line no-loop-func
var keyCode = event.keyCode ? event.keyCode : event.which;
if (keyCode == 13) //eslint-disable-line eqeqeq
$(this.options.emptyCartButton).attr('name', 'update_cart_action_temp');
$(this.options.updateCartActionContainer)
.attr('name', 'update_cart_action').attr('value', 'update_qty');
, this));
$(this.options.continueShoppingButton).on('click', $.proxy(function ()
location.href = this.options.continueShoppingUrl;
, this));
);
return $.mage.shoppingCart;
);
This will overwrite the core magento checkout shopping-cart.js and fix the issue you are having.
Hi, I tried the above and it does not work unfortunately.
– James Tsai
12 hours ago
You do have a theme it is just the standard luma/blank theme loaded from vendor/magento/theme-frontend-luma and all the different pieces are within the individual modules. if u replace the static content version of this to test and then if it does work create a custom module with this in place. never update vendor
– Dava Gordon
12 hours ago
did u delete your cache also make sure you deleted your browser cache as i found that for some reason chrome and firefox cache the js files
– Dava Gordon
11 hours ago
I actually tried to test your code by changing in vendor folder and it works. i guess I just have to find a way to incorporate this in my theme. Thank you again for your help!
– James Tsai
5 hours ago
I have tried to add it in my <Theme>/Magento_Checkout/view/frontend/web/js/shopping-cart.js. Static-content:deploy, Clean Cache, Flush cache, remove pub/static, Generated/code, var/viewprocessed, Var/Cache, Static-content:deploy again...the code don't seem to overwrite the core magento checkout shopping-cart.js. Is it really bad to change the vendor folder? At this point I am so discouraged.
– James Tsai
3 hours ago
add a comment |
Create a new JS file in your theme
app/design/frontend//Magento_Checkout/view/frontend/web/js/shopping-cart.js
/**
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
define([
'jquery',
'jquery/ui'
], function ($)
'use strict';
$.widget('mage.shoppingCart',
/** @inheritdoc */
_create: function ()
var items, i;
$(this.options.emptyCartButton).on('click', $.proxy(function (event)
if (event.detail === 0)
return;
$(this.options.emptyCartButton).attr('name', 'update_cart_action_temp');
$(this.options.updateCartActionContainer)
.attr('name', 'update_cart_action').attr('value', 'empty_cart');
, this));
items = $.find('[data-role="cart-item-qty"]');
for (i = 0; i < items.length; i++)
$(items[i]).on('keypress', $.proxy(function (event) //eslint-disable-line no-loop-func
var keyCode = event.keyCode ? event.keyCode : event.which;
if (keyCode == 13) //eslint-disable-line eqeqeq
$(this.options.emptyCartButton).attr('name', 'update_cart_action_temp');
$(this.options.updateCartActionContainer)
.attr('name', 'update_cart_action').attr('value', 'update_qty');
, this));
$(this.options.continueShoppingButton).on('click', $.proxy(function ()
location.href = this.options.continueShoppingUrl;
, this));
);
return $.mage.shoppingCart;
);
This will overwrite the core magento checkout shopping-cart.js and fix the issue you are having.
Hi, I tried the above and it does not work unfortunately.
– James Tsai
12 hours ago
You do have a theme it is just the standard luma/blank theme loaded from vendor/magento/theme-frontend-luma and all the different pieces are within the individual modules. if u replace the static content version of this to test and then if it does work create a custom module with this in place. never update vendor
– Dava Gordon
12 hours ago
did u delete your cache also make sure you deleted your browser cache as i found that for some reason chrome and firefox cache the js files
– Dava Gordon
11 hours ago
I actually tried to test your code by changing in vendor folder and it works. i guess I just have to find a way to incorporate this in my theme. Thank you again for your help!
– James Tsai
5 hours ago
I have tried to add it in my <Theme>/Magento_Checkout/view/frontend/web/js/shopping-cart.js. Static-content:deploy, Clean Cache, Flush cache, remove pub/static, Generated/code, var/viewprocessed, Var/Cache, Static-content:deploy again...the code don't seem to overwrite the core magento checkout shopping-cart.js. Is it really bad to change the vendor folder? At this point I am so discouraged.
– James Tsai
3 hours ago
add a comment |
Create a new JS file in your theme
app/design/frontend//Magento_Checkout/view/frontend/web/js/shopping-cart.js
/**
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
define([
'jquery',
'jquery/ui'
], function ($)
'use strict';
$.widget('mage.shoppingCart',
/** @inheritdoc */
_create: function ()
var items, i;
$(this.options.emptyCartButton).on('click', $.proxy(function (event)
if (event.detail === 0)
return;
$(this.options.emptyCartButton).attr('name', 'update_cart_action_temp');
$(this.options.updateCartActionContainer)
.attr('name', 'update_cart_action').attr('value', 'empty_cart');
, this));
items = $.find('[data-role="cart-item-qty"]');
for (i = 0; i < items.length; i++)
$(items[i]).on('keypress', $.proxy(function (event) //eslint-disable-line no-loop-func
var keyCode = event.keyCode ? event.keyCode : event.which;
if (keyCode == 13) //eslint-disable-line eqeqeq
$(this.options.emptyCartButton).attr('name', 'update_cart_action_temp');
$(this.options.updateCartActionContainer)
.attr('name', 'update_cart_action').attr('value', 'update_qty');
, this));
$(this.options.continueShoppingButton).on('click', $.proxy(function ()
location.href = this.options.continueShoppingUrl;
, this));
);
return $.mage.shoppingCart;
);
This will overwrite the core magento checkout shopping-cart.js and fix the issue you are having.
Create a new JS file in your theme
app/design/frontend//Magento_Checkout/view/frontend/web/js/shopping-cart.js
/**
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
define([
'jquery',
'jquery/ui'
], function ($)
'use strict';
$.widget('mage.shoppingCart',
/** @inheritdoc */
_create: function ()
var items, i;
$(this.options.emptyCartButton).on('click', $.proxy(function (event)
if (event.detail === 0)
return;
$(this.options.emptyCartButton).attr('name', 'update_cart_action_temp');
$(this.options.updateCartActionContainer)
.attr('name', 'update_cart_action').attr('value', 'empty_cart');
, this));
items = $.find('[data-role="cart-item-qty"]');
for (i = 0; i < items.length; i++)
$(items[i]).on('keypress', $.proxy(function (event) //eslint-disable-line no-loop-func
var keyCode = event.keyCode ? event.keyCode : event.which;
if (keyCode == 13) //eslint-disable-line eqeqeq
$(this.options.emptyCartButton).attr('name', 'update_cart_action_temp');
$(this.options.updateCartActionContainer)
.attr('name', 'update_cart_action').attr('value', 'update_qty');
, this));
$(this.options.continueShoppingButton).on('click', $.proxy(function ()
location.href = this.options.continueShoppingUrl;
, this));
);
return $.mage.shoppingCart;
);
This will overwrite the core magento checkout shopping-cart.js and fix the issue you are having.
answered 18 hours ago
Dava GordonDava Gordon
63529
63529
Hi, I tried the above and it does not work unfortunately.
– James Tsai
12 hours ago
You do have a theme it is just the standard luma/blank theme loaded from vendor/magento/theme-frontend-luma and all the different pieces are within the individual modules. if u replace the static content version of this to test and then if it does work create a custom module with this in place. never update vendor
– Dava Gordon
12 hours ago
did u delete your cache also make sure you deleted your browser cache as i found that for some reason chrome and firefox cache the js files
– Dava Gordon
11 hours ago
I actually tried to test your code by changing in vendor folder and it works. i guess I just have to find a way to incorporate this in my theme. Thank you again for your help!
– James Tsai
5 hours ago
I have tried to add it in my <Theme>/Magento_Checkout/view/frontend/web/js/shopping-cart.js. Static-content:deploy, Clean Cache, Flush cache, remove pub/static, Generated/code, var/viewprocessed, Var/Cache, Static-content:deploy again...the code don't seem to overwrite the core magento checkout shopping-cart.js. Is it really bad to change the vendor folder? At this point I am so discouraged.
– James Tsai
3 hours ago
add a comment |
Hi, I tried the above and it does not work unfortunately.
– James Tsai
12 hours ago
You do have a theme it is just the standard luma/blank theme loaded from vendor/magento/theme-frontend-luma and all the different pieces are within the individual modules. if u replace the static content version of this to test and then if it does work create a custom module with this in place. never update vendor
– Dava Gordon
12 hours ago
did u delete your cache also make sure you deleted your browser cache as i found that for some reason chrome and firefox cache the js files
– Dava Gordon
11 hours ago
I actually tried to test your code by changing in vendor folder and it works. i guess I just have to find a way to incorporate this in my theme. Thank you again for your help!
– James Tsai
5 hours ago
I have tried to add it in my <Theme>/Magento_Checkout/view/frontend/web/js/shopping-cart.js. Static-content:deploy, Clean Cache, Flush cache, remove pub/static, Generated/code, var/viewprocessed, Var/Cache, Static-content:deploy again...the code don't seem to overwrite the core magento checkout shopping-cart.js. Is it really bad to change the vendor folder? At this point I am so discouraged.
– James Tsai
3 hours ago
Hi, I tried the above and it does not work unfortunately.
– James Tsai
12 hours ago
Hi, I tried the above and it does not work unfortunately.
– James Tsai
12 hours ago
You do have a theme it is just the standard luma/blank theme loaded from vendor/magento/theme-frontend-luma and all the different pieces are within the individual modules. if u replace the static content version of this to test and then if it does work create a custom module with this in place. never update vendor
– Dava Gordon
12 hours ago
You do have a theme it is just the standard luma/blank theme loaded from vendor/magento/theme-frontend-luma and all the different pieces are within the individual modules. if u replace the static content version of this to test and then if it does work create a custom module with this in place. never update vendor
– Dava Gordon
12 hours ago
did u delete your cache also make sure you deleted your browser cache as i found that for some reason chrome and firefox cache the js files
– Dava Gordon
11 hours ago
did u delete your cache also make sure you deleted your browser cache as i found that for some reason chrome and firefox cache the js files
– Dava Gordon
11 hours ago
I actually tried to test your code by changing in vendor folder and it works. i guess I just have to find a way to incorporate this in my theme. Thank you again for your help!
– James Tsai
5 hours ago
I actually tried to test your code by changing in vendor folder and it works. i guess I just have to find a way to incorporate this in my theme. Thank you again for your help!
– James Tsai
5 hours ago
I have tried to add it in my <Theme>/Magento_Checkout/view/frontend/web/js/shopping-cart.js. Static-content:deploy, Clean Cache, Flush cache, remove pub/static, Generated/code, var/viewprocessed, Var/Cache, Static-content:deploy again...the code don't seem to overwrite the core magento checkout shopping-cart.js. Is it really bad to change the vendor folder? At this point I am so discouraged.
– James Tsai
3 hours ago
I have tried to add it in my <Theme>/Magento_Checkout/view/frontend/web/js/shopping-cart.js. Static-content:deploy, Clean Cache, Flush cache, remove pub/static, Generated/code, var/viewprocessed, Var/Cache, Static-content:deploy again...the code don't seem to overwrite the core magento checkout shopping-cart.js. Is it really bad to change the vendor folder? At this point I am so discouraged.
– James Tsai
3 hours ago
add a comment |
Thanks for contributing an answer to Magento Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f269785%2fmagento-2-3-1-update-cart-quantity-empties-cart-when-pressing-enter%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Can you check your system / exception logs when u have redone the action to see if there are any errors which popup maybe check your network panel for any errors
– Dava Gordon
Apr 12 at 11:18
I have installed a fresh magento 2.3.1 with sample data and it does exactly the same.
– James Tsai
Apr 12 at 11:48
When you click the update button does it reset (not pressing enter)
– Dava Gordon
Apr 12 at 11:50
also are you working locally if so change your base url localhost to 127.0.0.1 or map a local url via your host file also check your using http only in the sytem config
– Dava Gordon
Apr 12 at 11:58
Hi Dava, Update button works. But some people don't necessarily scroll down to update when they have a long list. My intuition is to change the number and click "Enter". I have a live website and a test website that is on 2 differents siteground hosting package.
– James Tsai
Apr 12 at 16:13