Ads

How do you change number of product columns in Magento cart

February 13, 2010
Filed under: Featured, Magento Cart 

If you are looking for the correct way to change how many columns your products are displayed in “grid view” in Magento, the solution is actually quite simple. Navigate down to your catalog.xml file in your theme under the “app” side of Magento and open that file.

Then, what I did to make it simple is did a text search for the number of columns  displayed, in this particular case, the column count is 4. The actual line of code looks like this:

<action method=”setColumnCount”><count>4</count></action>

Change that line to read:




<action method=”setColumnCount”><count>2</count></action>

Save the file. Then go into your Magento Admin section under “System>Cache Management”, select “Refresh”, then click “Save Cache Settings”.

Now refresh your Magento catalog page in your browser and you should now see your products in “Grid View” appearing in 2 columns instead of 4, or whatever number you changed the catalog.xml file to.

Comments

Tell me what you're thinking...
and oh, if you want a pic to show with your comment, go get a gravatar!





*
To prove you're a person (not a spam script), type the security word shown in the picture. Click on the picture to hear an audio file of the word.
Click to hear an audio file of the anti-spam word

Subscribe without commenting