File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed
app/code/Magento/Catalog/view/frontend/templates/product Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -78,7 +78,7 @@ $_helper = $this->helper('Magento\Catalog\Helper\Output');
78
78
<div class="actions-primary"<?= strpos ($ pos , $ viewMode . '-primary ' ) ? $ position : '' ?> >
79
79
<?php if ($ _product ->isSaleable ()): ?>
80
80
<?php $ postParams = $ block ->getAddToCartPostParams ($ _product ); ?>
81
- <form data-role="tocart-form" data-product-sku="<?= /* @escapeNotVerified */ $ _product ->getSku () ?> " action="<?= /* @escapeNotVerified */ $ postParams ['action ' ] ?> " method="post">
81
+ <form data-role="tocart-form" data-product-sku="<?= $ _product ->getSku () ?> " action="<?= $ postParams ['action ' ] ?> " method="post">
82
82
<input type="hidden" name="product" value="<?= /* @escapeNotVerified */ $ postParams ['data ' ]['product ' ] ?> ">
83
83
<input type="hidden" name="<?= /* @escapeNotVerified */ Action::PARAM_NAME_URL_ENCODED ?> " value="<?= /* @escapeNotVerified */ $ postParams ['data ' ][Action::PARAM_NAME_URL_ENCODED ] ?> ">
84
84
<?= $ block ->getBlockHtml ('formkey ' ) ?>
You can’t perform that action at this time.
0 commit comments