How can I get custom attributes in the Magento (version 1.4) category list of products (in list.phtml
)?
I am trying to edit catalog.xml
by adding
<action method="addAttribute"><code>format</code></action>
and in list.phtml
<?php echo $_product->getAttributeText('format'); ?>
or
<?php echo $_product->getFormat(); ?>
But it doesn't work. How can this be done?