Elias
ourservices
ourmodules
ourwork
ourteam
ourblog
« Go Back

Jan 22

Friday

Magento: Quick Change in Column Count for Products Displaying In Category Listing (Grid View)

0
Comment(s)


Hi All,

Figured I’d share a quick Magento snippet (There are several I’d like to share each day. For some reason this particular one seemed quick enough to post).

Want to change the number of products that display in the Magento Category listing?

You’ll need to modify these two files:

  • app/design/frontend/default/YourThemeName/layout/catalog.xml (default theme line 198)
  • app/design/frontend/default/YourThemeName/layout/catalogsearch.xml (default theme line 61)

See the screenshot for the variable columnCount()? In order to change that, go to the following file and add in this snippet:

  • app/design/frontend/default/YourThemeName/layout/catalog.xml (default theme line 198)
<action method="setColumnCount"><columns>3</columns></action> <!-- set your own number -->

catalog.xml

And also this snippet:

  • app/design/frontend/default/YourThemeName/layout/catalogsearch.xml (default theme line 61)
<action method="setColumnCount"><columns>3</columns></action> <!-- set your own number and insert <em>inside</em> the "search_result_list" block tags-->
catalogsearch.xml

  • Twitter
  • Facebook
  • Delicious
  • LinkedIn
  • Digg
  • StumbleUpon
  • Technorati Favorites
  • Google Reader
  • Gmail
  • Tumblr
  • Blogger Post
  • Share/Save

Tags: Magento, magento theme 


Leave a comment




RSSNew Here?

You should grab our RSS Feed to get updates.


RSSSearch Our Blog



TagsTag Cloud

    business tools coda-slider consulting copy create unique prefix for order numbers custom customize magento custom magento delete test orders Design design content Development dropbox ecommerce stores email marketing fancybox featured products featured products on home page install magento integration Magento Magento advice Magento Commerce magento customization Magento Custom Module magento custom theme magento developer magento development magento ecommerce Magento help magento installation magento modification magento online store magento open source Magento Payment Method magento service provider magento services magento template magento theme magneto ecommerce marketing magento modify magento open source ecommerce scene 7 startup




aboutus

It's simple. Elias Interactive exists to help you get the most out of your software - be it a company website or ecommerce store. Our team is a leader in the popular Magento ecommerce community, works with a variety of CMS solutions, and builds elegant UI designs. We are a small, talented group of tech fanatics. We have an uncompromising commitment to do the right thing. And we are passionate about what we do - changing the world one line of code at a time.


clienttestimonials

videoWhy Elias?
videoWould You Recommend Elias?



Let's Talk


recentposts

Rework Book Critique

Rework is exactly what you would expect from 37signals - simple, easy to read, and "at home good". About 80% of the book's ideas are already accessible in keynotes and interviews. But a succinct,...
Continue Reading »

sep
Pandora persevered: NY Times quote

From March 7, 2010 New York Times article about Pandora radio: It is all a long way from January 2000, when Mr. Westergren founded . Trained as a jazz pianist, he spent a decade playing in rock...
Continue Reading »

sep

» Read More

needsupport?

ContactSubmit a Request
CampfireLive Support is Unavailable at this time



twitterupdates

Does your startup pass The Sleep Test? http://bit.ly/d8QYBS
1 day ago

Thanks @jamespaden for the RT
1 week ago

New Elias #magento module store live with 1st module for sale: configurable bundle products. http://bit.ly/9F1T69
1 week ago

Posting tweet...


» Follow us to stay in the loop





Home | Our Services | Our Modules | Our Work | Our Team | Our Blog

Copyright © 2008-2009 Elias Interactive. All rights reserved.