Skip to content

Commit 4b0e39d

Browse files
author
Gulshan Chitransh
authored
Resolved 404 not found form validation url when updating item quantity in cart page
Resolved 404 not found form validation url when updating item quantity in cart page
1 parent a5f9488 commit 4b0e39d

File tree

1 file changed

+1
-1
lines changed
  • app/code/Magento/Checkout/view/frontend/templates/cart

1 file changed

+1
-1
lines changed

app/code/Magento/Checkout/view/frontend/templates/cart/form.phtml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
method="post"
1515
id="form-validate"
1616
data-mage-init='{"Magento_Checkout/js/action/update-shopping-cart":
17-
{"validationURL" : "/checkout/cart/updateItemQty",
17+
{"validationURL" : "<?= /* @escapeNotVerified */ $block->getUrl('checkout/cart/updateItemQty') ?>",
1818
"updateCartActionContainer": "#update_cart_action_container"}
1919
}'
2020
class="form form-cart">

0 commit comments

Comments
 (0)