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

Column number is products grid
 
zoremusa
Member
 
Avatar
Total Posts:  33
Joined:  2009-03-16
 

Hi, I am trying to change column count from 3 columns to 4 columns in products list but it does not work, I changed the info in catalog.xml but it still show 3 columns…
<action method="addColumnCountLayoutDepend"><layout>two_columns_left</layout><count>4</count></action>

This is working in 1.4

Thanks

 
Magento Community Magento Community
Magento Community
Magento Community
 
jwittorf
Jr. Member
 
Total Posts:  22
Joined:  2010-08-09
 

If you haven’t seen it yet or for anyone finding this thread: http://www.magentocommerce.com/boards/v/viewthread/20826/#t311582

Try this in your app/design files
template/catalog/product/list.phtml

<?php
    $_productCollection
=$this->getLoadedProductCollection();
    
$_helper $this->helper('catalog/output');
       
$this->setData('column_count',5);            <------ add this line
?>
 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top