cancel
Showing results for 
Search instead for 
Did you mean: 

Magento 2: How to diaply short description on related products?

Magento 2: How to diaply short description on related products?

On the product detail page, I've related products I wish to display a short description of the product on my related product on the product detail page in magento 2.

Please help!

2 REPLIES 2

Re: Magento 2: How to diaply short description on related products?

@mamunbpaul2dca 

Enable the frontend template hints path and check which file is called for the related product list.
 
If the file is from the theme then edit it and if the file is from Magento's default items.phtml then override that file into your theme.
Example : vendor\magento\module-catalog\view\frontend\templates\product\list\items.phtml
like: app/design/[yourtheme]/[themeName]/frontend/Magento_Catalog/templates\product\list\items.phtml
 
and use the below line for short description :
$_item->getData('short_description');
Problem solved? Click Kudos and "Accept as Solution".
200+ Magento 2 Extensions for Enhanced Shopping Experience.

Re: Magento 2: How to diaply short description on related products?

Hello @mamunbpaul2dca 

 

Check which file is called for the related product list after enabling the frontend template suggestions path.

 

If indeed the file is from your theme, change it; if the file is from Magento's default items.phtml, replace it with your theme's version.

 

Only Magento Open Source users can add product descriptions in the editor.

  1. In edit mode, open the product.
  2. Expand the Content area by scrolling down. Content of the product.
  3. Fill in the product's Short Description and format it as appropriate.
  4. Enter the primary product description and format it as needed with the editor toolbar.