- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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') ?>
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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?
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content