Posting in the Magento forums has been disabled pending the implementation of a new and improved forum solution which should better serve the community.

For new questions please post at magento.stackexchange.com, the community-run support site for the Magento community. We will be providing updates on the new forum solution soon. For questions or concerns please email community@magento.com.

Magento Forum

Setup for sorting attributes
 
multipasko
Jr. Member
 
Avatar
Total Posts:  24
Joined:  2008-03-04
 

I see that I can sort products by name, price and best value.

Can I set up different sorting list?

Can I do this separately for particular categories?

Thanks for your reply,
Regards,

 
Magento Community Magento Community
Magento Community
Magento Community
 
multipasko
Jr. Member
 
Avatar
Total Posts:  24
Joined:  2008-03-04
 

Any ideas? smile

 
Magento Community Magento Community
Magento Community
Magento Community
 
glaDiator
Member
 
Avatar
Total Posts:  65
Joined:  2008-03-17
 

go to ........ app/code/core/Mage/Catalog/Block/Product/List
Now open Toolbar.php

Begining of the constructor you should see the following codes

$this->_availableOrder = array(
            
'position'  => Mage::helper('catalog')->__('Best Value'),
            
'name'      => Mage::helper('catalog')->__('Name'),
            
'price'     => Mage::helper('catalog')->__('Price')
        );

you can set your own attribute here............ wink

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top