Follow by Email

Saturday, April 14, 2012

Changing number of products / columns per row in Grid View

Hi All,
I am using Magento 1.6.2 and i wanted to bring 3 product in each row in product listing page grid view.
So i do the following.
Go to this file template/catalog/product/list.phtml

<?php
    $_productCollection
=$this->getLoadedProductCollection();
    
$_helper $this->helper(\'catalog/output\');
       
$this->setData(\'column_count\',3);            <------ add this line
?>
And it\’s really working.

No comments:

Post a Comment