Question

On our category page I want to echo an custom attribute with attribute code "homepage_description".

I tried this, but that does not work:

<?php echo $_product->getHomepageDescription() ?>

I also tried this:

<?php echo $_helper->productAttribute($_product, $_product->getHomepageDescription(), 'homepage_description') ?>

How can I make this work?

Was it helpful?

Solution

Try to edit attribute from catalog->attributes->Manage Attributes and open your attribute and change the below option to Yes:

Its shows the option while edit the attribute

Licensed under: CC-BY-SA with attribution
Not affiliated with magento.stackexchange
scroll top