File tree Expand file tree Collapse file tree 3 files changed +10
-3
lines changed
Catalog/view/frontend/templates/product
Theme/view/frontend/templates/js Expand file tree Collapse file tree 3 files changed +10
-3
lines changed Original file line number Diff line number Diff line change @@ -122,7 +122,7 @@ $_helper = $this->helper('Magento\Catalog\Helper\Output');
122
122
{
123
123
"[data-role=tocart-form], .form.map.checkout": {
124
124
"catalogAddToCart": {
125
- "product_sku": "<?= /* @escapeNotVerified */ $ _product ->getSku () ?> "
125
+ "product_sku": "<?= $ _product ->getSku () ?> "
126
126
}
127
127
}
128
128
}
Original file line number Diff line number Diff line change 16
16
<?php $ _product = $ block ->getProduct (); ?>
17
17
18
18
<div class="product-add-form">
19
- <form data-product-sku="<?= /* @escapeNotVerified */ $ _product ->getSku () ?> "
20
- action="<?= /* @escapeNotVerified */ $ block ->getSubmitUrl ($ _product ) ?> " method="post"
19
+ <form data-product-sku="<?= $ _product ->getSku () ?> "
20
+ action="<?= $ block ->getSubmitUrl ($ _product ) ?> " method="post"
21
21
id="product_addtocart_form"<?php if ($ _product ->getOptions ()): ?> enctype="multipart/form-data"<?php endif ; ?> >
22
22
<input type="hidden" name="product" value="<?= /* @escapeNotVerified */ $ _product ->getId () ?> " />
23
23
<input type="hidden" name="selected_configurable_option" value="" />
Original file line number Diff line number Diff line change 3
3
* Copyright © Magento, Inc. All rights reserved.
4
4
* See COPYING.txt for license details.
5
5
*/
6
+
7
+ /**
8
+ * Polyfill for local storage and session storage for old browsers and with enabled private mode.
9
+ *
10
+ * Emulates behavior of the native local storage and session storage. Adds ability to use "getItem", "setItem",
11
+ * "removeItem" methods.
12
+ */
6
13
?>
7
14
8
15
<script>
You can’t perform that action at this time.
0 commit comments