Posting in the Magento forums has been disabled pending the implementation of a new and improved forum solution which should better serve the community.

For new questions please post at magento.stackexchange.com, the community-run support site for the Magento community. We will be providing updates on the new forum solution soon. For questions or concerns please email community@magento.com.

Magento Forum

Customizing Product displays
 
Cole Geissinger
Sr. Member
 
Avatar
Total Posts:  174
Joined:  2008-12-23
Northern California
 

I want to add my short description text to the “Grid View” on my store.

How do I go about doing this?
I see that in “List View” it does this, but not in “Grid View”.
- Cole

 
Magento Community Magento Community
Magento Community
Magento Community
 
Cole Geissinger
Sr. Member
 
Avatar
Total Posts:  174
Joined:  2008-12-23
Northern California
 

I have found my solution!

i opened the “list.phtml” file located in:
app>design>frontend>(you_interface)>(your_theme)>template>catalog>product>list.phtml

From there I found that the code was broken into a two sections using an if conditional for list and grid. Since the code for “List Mode” was the view that supplied the short description I located the line of code that created this discription:

<div class="description">
                    
<?php echo nl2br($_product->getShortDescription()) ?>
                    
<a href="<?php echo $_product->getProductUrl() ?>" title="<?php echo $this->htmlEscape($_product->getName()) ?>"><small><?php echo $this->__('Learn More'?></small></a>
                </
div>

Just copy this into the area of the “Grid View” that you want it to display.
NOTE: You’ll tell the different areas by the commented code starting with //

Just post here or send me a PM if you need more details if your interested in this

- Cole

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top