Пользовательский URL в image_with_border.phtml

У меня есть этот код в файле image_with_border.phtml Я хотел бы иметь возможность добавить код sku после URL

     <?php
    /**
  * Copyright © Magento, Inc. All rights reserved.
   * See COPYING.txt for license details.
    */
    ?>
      <?php /** @var $block \Magento\Catalog\Block\Product\Image */ ?>

     <span class="product-image-container"
  style="width:<?= /* @escapeNotVerified */ $block->getWidth() ?>px;">
<span class="product-image-wrapper"
      style="padding-bottom: <?= /* @escapeNotVerified */      ($block->getRatio() * 100) ?>%;">
    <img class="product-image-photo"
        <?= /* @escapeNotVerified */ $block->getCustomAttributes() ?>
        src="www.nuovo.it/"<? here would insert Sku code ?>
        max-width="<?= /* @escapeNotVerified */ $block->getWidth() ?>"
        max-height="<?= /* @escapeNotVerified */ $block->getHeight() ?>"
        alt="<?= /* @escapeNotVerified */ $block->stripTags($block->getLabel(), null, true) ?>"/></span>
      </span>

Заранее спасибо

0 ответов

Другие вопросы по тегам