|
Magento 2 Documentation
2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
|
Go to the source code of this file.
Variables | |
| if($exist=($block->getProductCollection() && $block->getProductCollection() ->getSize())) | $mode = 'grid' |
| $image = 'new_products_content_widget_grid' | |
| $items = $block->getProductCollection()->getItems() | |
| $showWishlist = true | |
| $showCompare = true | |
| $showCart = true | |
| $templateType = \Magento\Catalog\Block\Product\ReviewRendererInterface::DEFAULT_VIEW | |
| $description = false | |
| if( $block->getTitle())(__( $block->getTitle())) ?></strong ></div ><?php endif ?>< div class | $iterator = 1 |
| if( $showWishlist||$showCompare||$showCart)( $showCart)( $_item->isSaleable())( $_item->getTypeInstance() ->hasRequiredOptions( $_item))(__( 'Add to Cart')) ?>"> <span><? | else = $block->escapeHtml(__('Add to Cart')) |
| $postData | endif = $block->escapeHtml(__('Add to Cart')) |
| else | __pad0__ |
| $description = false |
Definition at line 24 of file grid.phtml.
| $image = 'new_products_content_widget_grid' |
Definition at line 17 of file grid.phtml.
| $items = $block->getProductCollection()->getItems() |
Definition at line 18 of file grid.phtml.
| if ($block->getTitle()) (__($block->getTitle())) ?></strong> </div> <?php endif ?> <div class $iterator = 1 |
Definition at line 36 of file grid.phtml.
| if ( $exist=( $block->getProductCollection() &&$block->getProductCollection() ->getSize())) $mode = 'grid' |
Definition at line 15 of file grid.phtml.
| $showCart = true |
Definition at line 22 of file grid.phtml.
| $showCompare = true |
Definition at line 21 of file grid.phtml.
| $showWishlist = true |
Definition at line 20 of file grid.phtml.
| $templateType = \Magento\Catalog\Block\Product\ReviewRendererInterface::DEFAULT_VIEW |
Definition at line 23 of file grid.phtml.
| else __pad0__ |
Definition at line 82 of file grid.phtml.
| if($showWishlist || $showCompare || $showCart)($showCart)($_item->isSaleable()) ($_item->getTypeInstance()->hasRequiredOptions($_item)) (__('Add to Cart')) ?>"> <span><? else = $block->escapeHtml(__('Add to Cart')) |
Definition at line 59 of file grid.phtml.
| endforeach endif = $block->escapeHtml(__('Add to Cart')) |
Definition at line 74 of file grid.phtml.