Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
options_list.phtml
Go to the documentation of this file.
1 <?php
7 // @codingStandardsIgnoreFile
8 
9 /* @var \Magento\Wishlist\Block\Customer\Wishlist\Item\Options $block */
10 ?>
11 
12 <?php $options = $block->getOptionList(); ?>
13 <?php if ($options): ?>
14 <div class="tooltip wrapper product-item-tooltip">
15  <span class="action details tooltip toggle"><?= $block->escapeHtml(__('See Details')) ?></span>
16  <div class="tooltip content">
17  <strong class="subtitle"><?= $block->escapeHtml(__('Options Details')) ?></strong>
18  <dl>
19  <?php foreach ($options as $option): ?>
20  <dt class="label"><?= $block->escapeHtml($option['label']) ?></dt>
21  <dd class="values">
22  <?php if (is_array($option['value'])): ?>
23  <?= /* @noEscape */ nl2br(implode("\n", $option['value'])) ?>
24  <?php else: ?>
25  <?= /* @noEscape */ $option['value'] ?>
26  <?php endif; ?>
27  </dd>
28  <?php endforeach; ?>
29  </dl>
30  </div>
31 </div>
32 <?php endif ?>
$options
endforeach
__()
Definition: __.php:13
$block
Definition: block.php:8
endif
Definition: 404.phtml:116