Skip to content

Commit f509b9c

Browse files
author
Volodymyr Zaets
committed
MAGETWO-54186: Problem with js validation when adding product to shopping cart
1 parent e7d6678 commit f509b9c

File tree

1 file changed

+3
-1
lines changed
  • app/code/Magento/Catalog/view/frontend/templates/product/view

1 file changed

+3
-1
lines changed

app/code/Magento/Catalog/view/frontend/templates/product/view/addtocart.phtml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,9 @@
5353
<script type="text/x-magento-init">
5454
{
5555
"#product_addtocart_form": {
56-
"catalogAddToCart": {}
56+
"catalogAddToCart": {
57+
"bindSubmit": false
58+
}
5759
}
5860
}
5961
</script>

0 commit comments

Comments
 (0)