Mega Menu for Category and more in Nop 2.2

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
12 years ago
Hi, for one of the Nop Site I'm building a Mega Menu to be put in header. Apart from 3 level of Categories, there is going to be top brands, and top 5 best sellers for first level category. I think it would be best if I use xml for menu where few of the entries can be manually updated.

I want a hint on how to generate category menu in xml and retrieve best sellers in xml. Any idea / suggestions  will be welcomed.
12 years ago
Hi the best thing to do is, build a controller.
Let's that generate the XML and and return the XML. Cache this as well (on disk or on memory)
Then, using the event model you can get notifications from changes to the category model.
The same goes for products etc.
To be absolutely sure, you also can recreate the XML every x minutes when a request has been made.

Looking forward to see this in action
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.