Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
edit.phtml
Go to the documentation of this file.
1 <?php
7 // @codingStandardsIgnoreFile
8 
12 $item = $block->getItem();
13 $product = $item->getProduct();
14 ?>
15 
16 <?php if ($product->isVisibleInSiteVisibility()): ?>
17  <a class="action edit" href="<?= $block->escapeUrl($block->getItemConfigureUrl($item)) ?>">
18  <span><?= $block->escapeHtml(__('Edit')) ?></span>
19  </a>
20 <?php endif ?>
$product
Definition: edit.phtml:13
$item
Definition: edit.phtml:12
__()
Definition: __.php:13
$block
Definition: block.php:8
endif
Definition: edit.phtml:54