cancel
Showing results for 
Search instead for 
Did you mean: 

How do I add the short description to the new products Grid?

SOLVED

How do I add the short description to the new products Grid?

I've successfully added products to my Home Page using the New Products widget.

However, I would like to customise the template so that it includes the short description.

 

I know I need to change the following file:

/template/catalog/product/widget/new/content/new_grid.phtml

 

...I just can't work out what I need to do to it. Please help!

4 REPLIES

Re: How do I add the short description to the new products Grid?

If you are inserting the new products grid to a cms page, you should write the description in cms, new product grid does not belong to any category so theres no short description for it.

Re: How do I add the short description to the new products Grid?

I'm using "Manage Widget Instances" to add a Catalog New Products List Widget to my CMS Home Page.

I don't understand why there needs to be a category for the short description to be used. When the pages are created by Magento, doesn't it just select the data from the relevent "new" products?

Re: How do I add the short description to the new products Grid?

Oh, I misunderstood you, simply dupliate templates

 

app\design\frontend\base\default\template\catalog\product\widget\new\content\new_grid.phtml

app\design\frontend\base\default\template\catalog\product\widget\new\content\new_list.phtml

 

in your own theme and insert

<?php echo $_helper->productAttribute($_product, $_product->getShortDescription(), 'short_description') ?>

some in these files

 

Re: How do I add the short description to the new products Grid?

Thanks. I tried that but it doesn't work Smiley Sad

However, this *did* work:

<?php echo $this->helper('catalog/output')->productAttribute($_product, $_product->getShortDescription() , 'short_description') ?>