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