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!
Solved! Go to Solution.
Thanks. I tried that but it doesn't work
However, this *did* work:
<?php echo $this->helper('catalog/output')->productAttribute($_product, $_product->getShortDescription() , 'short_description') ?>
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.
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?
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