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?

1 Answer 1


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

  • Damn it, that did the trick! :)
    – JGeer
    Jan 22, 2015 at 12:05

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.