![]() Server : Apache System : Linux server2.corals.io 4.18.0-348.2.1.el8_5.x86_64 #1 SMP Mon Nov 15 09:17:08 EST 2021 x86_64 User : corals ( 1002) PHP Version : 7.4.33 Disable Function : exec,passthru,shell_exec,system Directory : /home/corals/old/vendor/magento/module-wishlist/view/frontend/templates/email/ |
<?php /** * Copyright © Magento, Inc. All rights reserved. * See COPYING.txt for license details. */ /* @var \Magento\Wishlist\Block\Share\Email\Items $block */ ?> <?php $l = $block->getWishlistItemsCount() ?> <div> <table> <tr> <?php $i = 0; foreach ($block->getWishlistItems() as $item): $i++ ?> <?php /* @var \Magento\Wishlist\Model\Item $item */ ?> <?php /* @var \Magento\Catalog\Model\Product $_product */ ?> <?php $_product = $item->getProduct(); ?> <td class="col product"> <p> <a href="<?= $block->escapeUrl($block->getProductUrl($item)) ?>"> <?php $productThumbnail = $block->getProductForThumbnail($item) ?> <?= /* @noEscape */ $block->getImage($productThumbnail, 'product_small_image')->toHtml() ?> </a> </p> <p> <a href="<?= $block->escapeUrl($block->getProductUrl($item)) ?>"> <strong><?= $block->escapeHtml($_product->getName()) ?></strong> </a> </p> <?php if ($block->hasDescription($item)): ?> <p> <strong><?= $block->escapeHtml(__('Comment')) ?>:</strong> <br/><?= /* @noEscape */ $block->getEscapedDescription($item) ?> </p> <?php endif; ?> <p> <a href="<?= $block->escapeUrl($block->getProductUrl($item)) ?>"> <?= $block->escapeHtml(__('View Product')) ?> </a> </p> </td> <?php if ($i % 3 != 0): ?> <td></td> <?php else: ?> </tr> <tr> <td colspan="5"> </td> </tr> <?php if ($i < $l): ?> <tr> <?php endif ?> <?php endif ?> <?php endforeach ?> </table> </div>