I made a attribute set and custom text field attribute. Now I need the value of the attribute shown in list.phtml (catalog).
I tried without success:
Fail 1
<?php echo $product->getAttributeText('catalog_description'); ?>
Fail 2
<?php echo $product->getAttributeText('catalog_description'); ?>
Fail 3
<?php $product->getAttributeText('catalog_description'); ?>
Fail 4
<?php echo $catalog_description; ?>
Best Answer
I found the solution, this works:
In the Attribute setting in Magento 2 choose in Storefront properties YES for: