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

Reduce number of attributes in layered navigation
 
chuender
Member
 
Total Posts:  54
Joined:  2009-02-26
 

I’m trying to avoid having a lon list of attributes in the layered navigation.  What is a good way to do the following:

1.  Show the top 5 options for any attribute with the most results, sorted alphabetically
2.  Have a “Show more” link under the fifth option that javascripts to show the remaining options

Thanks!

 
Magento Community Magento Community
Magento Community
Magento Community
 
nasha
Sr. Member
 
Avatar
Total Posts:  138
Joined:  2009-04-15
 

You can hide/show attribute list using Jquery .See these two file for layered navigation

app\design\frontend\base\default\template\catalog\layer\view.phtml

app\design\frontend\base\default\template\catalog\layer\filter.phtml

Thanks

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