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

Go to the source code of this file.

Variables

 $_helper = $this->helper('Magento\Catalog\Helper\Output')
 
 $_product = $block->getProduct()
 
if( $_additional=$block->getAdditionalData())( 'More Information') ?></caption >< tbody ><?php foreach( $_additional as $_data)(__( $_data[ 'label'])) ?></th >< td class endforeach ="col data" data-th="<?= $block->escapeHtml(__($_data['label'])) ?>"><?= $_helper->productAttribute($_product, $_data['value'], $_data['code'])
 
 endif
 

Variable Documentation

◆ $_helper

$_helper = $this->helper('Magento\Catalog\Helper\Output')

Definition at line 16 of file attributes.phtml.

◆ $_product

$_product = $block->getProduct()

Definition at line 17 of file attributes.phtml.

◆ endforeach

if($_additional = $block->getAdditionalData()) ('More Information') ?></caption> <tbody> <?php foreach ($_additional as $_data) (__($_data['label'])) ?></th> <td class endforeach ="col data" data-th="<?= $block->escapeHtml(__($_data['label'])) ?>"><?= $_helper->productAttribute($_product, $_data['value'], $_data['code'])

Definition at line 19 of file attributes.phtml.

◆ endif

endif

Definition at line 33 of file attributes.phtml.