Magento 2 Documentation
2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
|
Go to the source code of this file.
Variables | |
$start = microtime(true) | |
$_productCollection = $block->getLoadedProductCollection() | |
$_helper = $this->helper('Magento\Catalog\Helper\Output') | |
if(! $_productCollection->count())( 'We can\ 't find products matching the selection.') ?></p ><?php else() ?><? if($block->getMode()=='grid') | else |
$image = 'category_page_list' | |
$showDescription = true | |
$templateType = \Magento\Catalog\Block\Product\ReviewRendererInterface::FULL_VIEW | |
foreach( $_productCollection as $_product)() ?>" class | $info = [] |
$info ['name'] | |
$info ['price'] = $block->getProductPrice($_product) | |
$info ['review'] = $block->getReviewsSummaryHtml($_product, $templateType) | |
$info ['links'] | |
$info ['actions'] = '<div class="product action">' . $info['button'] . $info['links'] . '</div>' | |
$details = $block->getInfoOrder() ?: ['name','price','review','description','actions'] | |
foreach($details as $detail) | endforeach |
endif = $block->getToolbarHtml() | |
$_helper = $this->helper('Magento\Catalog\Helper\Output') |
Definition at line 20 of file listing.phtml.
$_productCollection = $block->getLoadedProductCollection() |
Definition at line 19 of file listing.phtml.
$details = $block->getInfoOrder() ?: ['name','price','review','description','actions'] |
Definition at line 86 of file listing.phtml.
$image = 'category_page_list' |
Definition at line 35 of file listing.phtml.
foreach ($_productCollection as $_product) () ?>" class $info = [] |
Definition at line 52 of file listing.phtml.
$info[ 'name'] |
Definition at line 53 of file listing.phtml.
$info[ 'price'] = $block->getProductPrice($_product) |
Definition at line 58 of file listing.phtml.
$info[ 'review'] = $block->getReviewsSummaryHtml($_product, $templateType) |
Definition at line 59 of file listing.phtml.
$info[ 'links'] |
Definition at line 70 of file listing.phtml.
$info[ 'actions'] = '<div class="product action">' . $info['button'] . $info['links'] . '</div>' |
Definition at line 75 of file listing.phtml.
$showDescription = true |
Definition at line 36 of file listing.phtml.
$start = microtime(true) |
Copyright © Magento, Inc. All rights reserved. See COPYING.txt for license details.Product list template
Definition at line 18 of file listing.phtml.
$templateType = \Magento\Catalog\Block\Product\ReviewRendererInterface::FULL_VIEW |
Definition at line 37 of file listing.phtml.
if ( $showDescription) else |
Definition at line 33 of file listing.phtml.
foreach ( $details as $detail) endforeach |
Definition at line 87 of file listing.phtml.
endif = $block->getToolbarHtml() |
Definition at line 98 of file listing.phtml.