echo $this->helper('Magento\Catalog\Helper\Output')
->productAttribute($block->getProduct(), $block->getProduct()->getAttributeCode(), 'attribute_code'); ?>
echo $this->helper('Magento\Catalog\Helper\Output')
->productAttribute($block->getProduct(), $block->getProduct()->getAttributeCode(), 'attribute_code'); ?>