Vantalk Posted December 9, 2012 Share Posted December 9, 2012 Hello. I'm trying to transform the categories module into a hover menu, that when hovered will show subcategories and/or products in the right. Something like this site dx.com. Anyone can help, point a module or at least how can i list the products? Thank you Link to comment Share on other sites More sharing options...
NemoPS Posted December 9, 2012 Share Posted December 9, 2012 Hey there! The module currently returns categories only using a recursive search to build the category tree. My advice would be to start from scratch and build a module that does what you require. It's a bit complex to show products and categories in an automated way, I's suggest you add a back office option to choose which categories should display products, and which ones should instead display categories. Then, you create a caching system that builds the categories/products index on save, so that you won't have to research all sub-items everytime (despite how it may look like, it's very resource intensive), maybe using array serialization. The hook to a column function would only take care of unserializing the string, maybe check if you're on a category to add some active state, and displat the template Cheers! Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now