What is magento

7/13/2011

How to show all product in a category page

In the magento 1.5 if you want to see all the product in a category in the same page then go to the
app\code\core\Mage\Catalog\Block\Product\List\Toolbar.php
find this line near line 228
// we need to set pagination only if passed value integer and more that 0
$limit = (int)$this->getLimit();

now chenge it
$limit = 0;

and it will work.
Posted by Unknown at 6:07 AM
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest

No comments:

Post a Comment

Newer Post Older Post Home
Subscribe to: Post Comments (Atom)

Blog Archive

  • ►  2014 (1)
    • ►  August (1)
  • ►  2013 (4)
    • ►  June (3)
    • ►  February (1)
  • ►  2012 (68)
    • ►  December (3)
    • ►  October (3)
    • ►  August (4)
    • ►  July (15)
    • ►  June (5)
    • ►  May (15)
    • ►  April (20)
    • ►  March (3)
  • ▼  2011 (23)
    • ►  December (1)
    • ►  November (2)
    • ►  October (2)
    • ►  September (4)
    • ►  August (2)
    • ▼  July (11)
      • Show subcategory in a category page
      • Magento form validation from js
      • Change category page layout
      • Magento: Display Categories in Sidebar
      • how to get best selling product in magento
      • List of magento Extension
      • How to show all product in a category page
      • Create New category via soap api
      • How to get newsletter block in the footer
      • How to add group in register form
      • How to Setup a Multiple Currency Magento
    • ►  February (1)
  • ►  2010 (17)
    • ►  November (6)
    • ►  September (5)
    • ►  August (6)
Magento One Step Checkout Virtuemart Extensions One Page Checkout For Virtuemart Magento Extensions Magento Themes Virtuemart templates Joomla Extensions Virtuemart Module Magento Extensions Free Magento Full Page Cache Magento Layered Navigation Magento Product Video Magento Social Login Magento Store Locator
Simple theme. Powered by Blogger.