Ina Code Blog

bunch of code in one place
« Make changes on your website witch only you can see
Magento: error when opening product view page »


Dec
10

Magento: how to set number of columns in product list

Posted by admin in Magento

Open /app/design/frontend/your_theme/your_theme/template/catalog/product/list.phtml and find line:

<?php $_columnCount = $this->getColumnCount(); ?>

and replace it with:

<?php $_columnCount = 4; ?>

Set the number of columns as you need.

[Slashdot] [Digg] [Reddit] [del.icio.us] [Facebook] [Technorati] [Google] [StumbleUpon]

One Response to “Magento: how to set number of columns in product list”

  1. Added by NELSON on Jul at 22

    < blockquote >< a href=”http://medicamentspot.com/”>MedicamentSpot.com. Canadian Health&Care.No prescription online pharmacy.Special Internet Prices.Best quality drugs. Low price drugs. Order pills online< /a >…

    Buy:Buspar.Female Cialis.Benicar.Zetia.Seroquel.Acomplia.Lasix.Amoxicillin.SleepWell.Wellbutrin SR.Female Pink Viagra.Lipitor.Zocor.Advair.Nymphomax.Lipothin.Cozaar.Prozac.Aricept.Ventolin….

Leave a Reply

Comment