cancel
Showing results for 
Search instead for 
Did you mean: 

Add attribute to catalog listing block?

Add attribute to catalog listing block?

On my test site, I am using Luma theme to get started.  On catalog listing pages each product box currently shows a picture, under which is a product name and price.  I would like to add a field, for example short_description

 

Is there some configuration way to do this? "Used in Product Listing" is already enabled, but short_description doesn't appear in the catalog product listing. (And beside that option setting there's "Depends on design theme", but how I don't know.

 

If I have to delve into the theme to accomplish this, here's where I get to: I see in:

vendor/magento/module-catalog/view/frontend/templates/product/list.phtml that right after the price there's this:

<?php echo $block->getProductDetailsHtml($_product); ?>

... which suggests to me that the mechanism for showing some details already exist. How does one get details to appear there?

Thanks, Graham