|
Magento 2 Documentation
2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
|
Go to the source code of this file.
Variables | |
| $_helper = $this->helper('Magento\Catalog\Helper\Output') | |
| $_product = $block->getProduct() | |
| $_call = $block->getAtCall() | |
| $_code = $block->getAtCode() | |
| $_className = $block->getCssClass() | |
| $_attributeLabel = $block->getAtLabel() | |
| $_attributeType = $block->getAtType() | |
| $_attributeAddAttribute = $block->getAddAttribute() | |
| $renderLabel = true | |
| if($_attributeLabel=='none') if($_attributeLabel && $_attributeLabel=='default') if($_attributeType && $_attributeType=='text') | else |
| if( $_attributeValue)($renderLabel) | endif = $_attributeValue |
| $_attributeAddAttribute = $block->getAddAttribute() |
Definition at line 23 of file attribute.phtml.
| $_attributeLabel = $block->getAtLabel() |
Definition at line 21 of file attribute.phtml.
| $_attributeType = $block->getAtType() |
Definition at line 22 of file attribute.phtml.
| $_call = $block->getAtCall() |
Definition at line 18 of file attribute.phtml.
| $_className = $block->getCssClass() |
Definition at line 20 of file attribute.phtml.
| $_code = $block->getAtCode() |
Definition at line 19 of file attribute.phtml.
| $_helper = $this->helper('Magento\Catalog\Helper\Output') |
Copyright © Magento, Inc. All rights reserved. See COPYING.txt for license details.Product view template
Definition at line 16 of file attribute.phtml.
| $_product = $block->getProduct() |
Definition at line 17 of file attribute.phtml.
| $renderLabel = true |
Definition at line 25 of file attribute.phtml.
| if ( $_attributeLabel=='none') if ( $_attributeLabel &&$_attributeLabel=='default') if ( $_attributeType &&$_attributeType=='text') else |
Definition at line 36 of file attribute.phtml.
| if ($_attributeValue) ( $renderLabel) endif = $_attributeValue |
Definition at line 44 of file attribute.phtml.