Magento 2 Documentation
2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
|
Go to the source code of this file.
Variables | |
$type = $block->getType() . '-' . $block->getViewMode() | |
$item = $block->getProduct() | |
$image = $block->getImageType() | |
$rating = 'short' | |
if( $item->isSaleable())( $item->getTypeInstance() ->hasRequiredOptions( $item))( 'Add to Cart') ?>"> <span><? | else = __('Add to Cart') |
$postData | endif = __('Add to Cart') |
else | __pad0__ |
$image = $block->getImageType() |
Definition at line 17 of file item.phtml.
$item = $block->getProduct() |
Definition at line 15 of file item.phtml.
$rating = 'short' |
Definition at line 18 of file item.phtml.
$type = $block->getType() . '-' . $block->getViewMode() |
Copyright © Magento, Inc. All rights reserved. See COPYING.txt for license details.
Definition at line 13 of file item.phtml.
else __pad0__ |
Definition at line 67 of file item.phtml.
if($item->isSaleable()) ($item->getTypeInstance()->hasRequiredOptions($item)) ('Add to Cart') ?>"> <span><? else = __('Add to Cart') |
Definition at line 47 of file item.phtml.
endif = __('Add to Cart') |
Definition at line 59 of file item.phtml.