We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f82299b commit a1578b5Copy full SHA for a1578b5
app/code/Magento/Checkout/view/frontend/web/js/action/update-shopping-cart.js
@@ -34,11 +34,7 @@ define([
34
onSubmit: function (event) {
35
var action = this.element.find(this.options.updateCartActionContainer).val();
36
37
- if (!this.options.validationURL) {
38
- return true;
39
- }
40
-
41
- if (action === 'empty_cart') {
+ if (!this.options.validationURL || action === 'empty_cart') {
42
return true;
43
}
44
0 commit comments