I'm in Magento2 and the getDescription(); does not work.

I'm in the file Magento_Catalog/templates/product/list.phtml if that's relevant.

  • I want show description in additional div after tabs section on product page, how can i achieve this. Please help, Thanks in advance. Commented Aug 14, 2019 at 11:24

4 Answers 4


In Store > Attributes > Product > Description > Storefront Properties set Visible on Catalog Pages on Storefront and Used in Product Listing to TRUE.

In your code list.phtml you can use:

<?php echo $this->helper('Magento\Catalog\Helper\Output')->productAttribute($_product, $_product->getDescription(), 'description') ?>


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

It should work fine..

<?php echo $_product->getDescription(); ?>
  • please check out the accepted answer. you answer is redundant and is missing important parts Commented Aug 14, 2019 at 7:39

Try this:

$productCollection = $this->helper('\Magento\Catalog\Model\ProductFactory');

$product = $productCollection->create()->load($id);

$description = $product->getDescription();
  • Hi and welcome to stackoverflow! you're answer does exactly what mine does. Commented Nov 12, 2018 at 9:28
  • You helped me with $description = $product->getDescription(); Commented Oct 17, 2019 at 12:09

See /vendor/magento/module-catalog/view/frontend/templates/product/view/description.phtml

 * Product description template
 * @var $block \Magento\Catalog\Block\Product\View\Description
<?php /* @escapeNotVerified */ echo $this->helper('Magento\Catalog\Helper\Output')->productAttribute($block->getProduct(), $block->getProduct()->getDescription(), 'description') ?>
  • I already tried that. It's not working. If you have a look at the class of the object that returned by getProduct you will see, that there's no getDescription() Commented Apr 6, 2016 at 8:22
  • getDescription should be a magic method, where the string after "get" is the attribute name
    – ahnbizcad
    Commented Sep 12, 2016 at 4:26
  • Doesn't care if its not in the object, thus not a magic getter. :)
    – Max
    Commented Oct 26, 2017 at 18:15

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.