In the toolbar block you will see Toolbar.php in mentioned below path:


This file contain a method :

Public function setCollection($collection);     

Inside there is a piece of code:

$limit= (int)$this->get Limit();     
If ($limit) {     
$this ->_collection->setPageSize($limit);     

You have to change variable $limit; you should override that block in the local pool, not change directly in the core. In order to see whether the customer is a guest, you can use this code Mage::getSingleton(customer/session) -> isLoggedIn()

Please login or Register to submit your answer

Log In

Not the answer you are looking for? Browse other questions tagged or ask your own question.