File tree Expand file tree Collapse file tree 1 file changed +7
-3
lines changed
app/code/Magento/Checkout/view/frontend/templates/cart/item/configure Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change 8
8
?>
9
9
<?php $ _product = $ block ->getProduct (); ?>
10
10
<?php $ buttonTitle = __ ('Update Cart ' ); ?>
11
- <?php if ($ _product ->isSaleable ()):?>
11
+ <?php if ($ _product ->isSaleable ()) :?>
12
12
<div class="box-tocart update">
13
13
<fieldset class="fieldset">
14
- <?php if ($ block ->shouldRenderQuantity ()):?>
14
+ <?php if ($ block ->shouldRenderQuantity ()) :?>
15
15
<div class="field qty">
16
16
<label class="label" for="qty"><span><?= $ block ->escapeHtml (__ ('Qty ' )) ?> </span></label>
17
17
<div class="control">
40
40
<script type="text/x-magento-init">
41
41
{
42
42
"#product_addtocart_form": {
43
- "Magento_Catalog/js/validate-product": {}
43
+ "validation": {},
44
+ "addToCart": {
45
+ "cartButtonId": "#product-updatecart-button",
46
+ "cartForm": "#product_addtocart_form"
47
+ }
44
48
}
45
49
}
46
50
</script>
You can’t perform that action at this time.
0 commit comments