Question

I need to display a specific product attribute value.

enter image description here

Was it helpful?

Solution

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');
?>
Licensed under: CC-BY-SA with attribution
Not affiliated with magento.stackexchange
scroll top