Skip to content

Instantly share code, notes, and snippets.

View list_layout_1-new.phtml
<div class="product details product-item-details">
<?php /* @escapeNotVerified */ echo $block->getProductPrice($_product) ?>
<?php $_productNameStripped = $block->stripTags($_product->getName(), null, true); ?>
<?php /* @escapeNotVerified */ echo 'sku:' . $_product->getSku() ?>
View list_layout_10-add.phtml
<?php /* @escapeNotVerified */ echo 'sku:' . $_product->getSku() ?>
View list_layout_1.phtml
<div class="product details product-item-details">
<?php /* @escapeNotVerified */ echo $block->getProductPrice($_product) ?>
<?php $_productNameStripped = $block->stripTags($_product->getName(), null, true); ?>
View footer_layout_1.xml
View .html
<a href="{{store url='XXX.html'}}">