php - how to increase number of product on homepage in magento -


i new in magento , reading file toolbar.phtml , file path e:\wamp\www\meditrust_mage\app\design\frontend\default\medi\template\catalog\product\list\toolbar.phtml......

in file found peace of code,and dont know change product limit on homepage.i want show products on homepage , want increse dropdown value differnt level 10,20,30...50 , on. how this.

 <div class="limiter">             <label><?php echo $this->__('show') ?></label>             <select onchange="setlocation(this.value)">             <?php foreach ($this->getavailablelimit()  $_key=>$_limit): ?>                 <option value="<?php echo $this->getlimiturl($_key) ?>"<?php if($this->islimitcurrent($_key)): ?> selected="selected"<?php endif ?>>                     <?php echo $_limit ?>                 </option>             <?php endforeach; ?>             </select> <?php echo $this->__('per page') ?>         </div> 

you need change settings in admin area. go system-> configuration->catalog->frontend , change number per page options , default.

products per page on grid allowed values products per page on grid default value 

reference: http://www.templatemonster.com/help/magento-how-to-change-default-amount-of-products-in-products-listing.html


Comments

Popular posts from this blog

c# - Validate object ID from GET to POST -

node.js - Custom Model Validator SailsJS -

php - Find a regex to take part of Email -