13 <?php
if (
$block->isMsgVisible()): ?>
14 <div
class=
"availability only">
16 data-
mage-init=
'{"toggleAdvanced": {"selectorsToggleClass": "active", "baseToggleClass": "expanded", "toggleContainers": "#<?= /* @escapeNotVerified */ $block->getDetailsPlaceholderId() ?>"}}' 17 id=
"<?= /* @escapeNotVerified */ $block->getPlaceholderId() ?>" 18 title=
"<?= /* @escapeNotVerified */ __('Only %1 left', ($block->getStockQtyLeft())) ?>" 20 <?=
__(
'Only %1 left',
"<strong>{$block->getStockQtyLeft()}</strong>") ?>
23 <div
class=
"availability only detailed" id=
"<?= /* @escapeNotVerified */ $block->getDetailsPlaceholderId() ?>">
24 <div
class=
"table-wrapper">
25 <table
class=
"data table">
26 <caption
class=
"table-caption"><?=
__(
'Product availability') ?></caption>
29 <th
class=
"col item" scope=
"col"><?=
__(
'Product Name') ?></th>
30 <th
class=
"col qty" scope=
"col"><?=
__(
'Qty') ?></th>
36 <?php
if ($childProductStockQty > 0) : ?>
38 <td data-th=
"<?= $block->escapeHtml(__('Product Name')) ?>" class=
"col item"><?=
$childProduct->getName() ?></td>
39 <td data-th=
"<?= $block->escapeHtml(__('Qty')) ?>" class=
"col qty"><?= $childProductStockQty ?></td>
if( $form)() ?>< script > require(['jquery' mage mage