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 f130812 commit 3cfe20dCopy full SHA for 3cfe20d
app/code/Magento/Catalog/view/frontend/templates/product/view/addtocart.phtml
@@ -40,22 +40,10 @@
40
</div>
41
42
<?php endif; ?>
43
-<?php if ($block->isRedirectToCartEnabled()) : ?>
44
- <script type="text/x-magento-init">
45
- {
46
- "#product_addtocart_form": {
47
- "Magento_Catalog/product/view/validation": {
48
- "radioCheckboxClosest": ".nested"
49
- }
50
51
52
-</script>
53
-<?php else : ?>
54
+<script type="text/x-magento-init">
55
{
56
"#product_addtocart_form": {
57
"Magento_Catalog/js/validate-product": {}
58
}
59
60
</script>
61
-<?php endif; ?>
0 commit comments