I try to add product Short Description in the Related Products section in Magento 2.4 version.

I overwrite this file:/app/design/frontend/Theme/MyTheme/Magento_Catalog/templates/product/list/items.phtml in my custom theme and I add the following code:

<?=/* @noEscape */ $_helper->productAttribute($item, $item->getShortDescription(), 'short_description')?>

The code work only for Simple Products if there in the related products are some configurable products the code is not return anything.

Is there any way to have the short description for both types of products?

Thank you

  • 1
    Have you tried <?php echo $item->getDescription(); ?> also can you provide more code, or all the file. Apr 2, 2021 at 12:57

1 Answer 1


Try this code to show short description.

<?php echo $item->getShortDescription(); ?>

Your Answer

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

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