Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
Variables
new_grid.phtml File Reference

Go to the source code of this file.

Variables

if($exist=($block->getProductCollection() && $block->getProductCollection() ->getSize())) if( $exist) ($items as $_item) ($_item) ?>" class = $block->escapeHtml($_item->getName())
 
if( $showWishlist||$showCompare||$showCart)( $showCart)( $_item->isSaleable())( $_item->getTypeInstance() ->hasRequiredOptions( $_item))( 'Add to Cart') ?>"> <span><? else = __('Add to Cart')
 
$postData endif = __('Add to Cart')
 
else __pad8__
 

Variable Documentation

◆ ($items as $_item)

if ( $exist=( $block->getProductCollection() &&$block->getProductCollection() ->getSize()))if($exist) ( $items as $_item)( $_item) ?>" class = $block->escapeHtml($_item->getName())

Definition at line 53 of file new_grid.phtml.

◆ __pad8__

else __pad8__

Definition at line 91 of file new_grid.phtml.

◆ else

if($showWishlist || $showCompare || $showCart)($showCart)($_item->isSaleable()) ($_item->getTypeInstance()->hasRequiredOptions($_item)) ('Add to Cart') ?>"> <span><? else = __('Add to Cart')

Definition at line 64 of file new_grid.phtml.

◆ endif

endforeach endif = __('Add to Cart')

Definition at line 83 of file new_grid.phtml.