7
7
// phpcs:disable PHPCompatibility.Miscellaneous.RemovedAlternativePHPTags.MaybeASPOpenTagFound
8
8
$ _product = $ block ->getProduct ();
9
9
?>
10
- <?php if ($ _product ->isSaleable () && $ block ->hasOptions ()) : ?>
10
+ <?php if ($ _product ->isSaleable () && $ block ->hasOptions ()) :?>
11
11
<div id="bundleSummary"
12
12
class="block-bundle-summary"
13
13
data-mage-init='{"sticky":{"container": ".product-add-form"}}'>
@@ -19,11 +19,11 @@ $_product = $block->getProduct();
19
19
<?= $ block ->getImage ($ _product , 'bundled_product_customization_page ' )->toHtml () ?>
20
20
<div class="product-details">
21
21
<strong class="product name"><?= $ block ->escapeHtml ($ _product ->getName ()) ?> </strong>
22
- <?php if ($ _product ->getIsSalable ()) : ?>
22
+ <?php if ($ _product ->getIsSalable ()) :?>
23
23
<p class="available stock" title="<?= $ block ->escapeHtmlAttr (__ ('Availability ' )) ?> ">
24
24
<span><?= $ block ->escapeHtml (__ ('In stock ' )) ?> </span>
25
25
</p>
26
- <?php else : ?>
26
+ <?php else :?>
27
27
<p class="unavailable stock" title="<?= $ block ->escapeHtmlAttr (__ ('Availability ' )) ?> ">
28
28
<span><?= $ block ->escapeHtml (__ ('Out of stock ' )) ?> </span>
29
29
</p>
@@ -48,6 +48,7 @@ $_product = $block->getProduct();
48
48
</div>
49
49
</div>
50
50
</div>
51
+ <?php // phpcs:ignore Magento2.Legacy.PhtmlTemplate ?>
51
52
<script type="text/x-magento-init">
52
53
{
53
54
".product-add-form": {
@@ -57,7 +58,7 @@ $_product = $block->getProduct();
57
58
"slideBackSelector": ".action.customization.back",
58
59
"bundleProductSelector": "#bundleProduct",
59
60
"bundleOptionsContainer": ".product-add-form"
60
- <?php if ($ block ->isStartCustomization ()) : ?>
61
+ <?php if ($ block ->isStartCustomization ()) :?>
61
62
,"autostart": true
62
63
<?php endif ;?>
63
64
}
0 commit comments