Magento 2: How to get specific product attribute on the product page?
-
10-10-2020 - |
Solução
You can write below code in phtml file.
<?php
echo $_product->getData('perverpakking');
?>
If it is dropdown attribute, then use below code.
<?php
echo $_product->getAttributeText('perverpakking');
?>
Licenciado em: CC-BY-SA com atribuição
Não afiliado a magento.stackexchange