Product description on product listing page – Magento

<?php
 echo $_product->getShortDescription();  // for printing short description
 echo $_product->getDescription(); // for printing  description
 //For displaying description, Go to the admin pannel
 //Catalod->Attributes-> Manage Attributes and edit the description attribute.
 //Set "Used in product listing" to "Yes".
?>
Share

4 thoughts on “Product description on product listing page – Magento”

  1. I was just seeking this info for a while. After six hours of continuous Googleing, finally I got it in your website. I wonder what’s the Google’s issue that doesn’t rank this kind of informative websites closer to the top. Usually the top websites are full of garbage.

  2. Unquestionably believe that which you said.
    Your favorite reason seemed to be on the web the simplest thing to be
    aware of. I say to you, I definitely get irked while people
    consider worries that they plainly do not know about.

    You managed to hit the nail upon the top as well as defined out the whole thing without having side-effects
    , people could take a signal. Will probably be back
    to get more. Thanks

Leave a Reply

Your email address will not be published. Required fields are marked *