I don't know this is easy to you or not but i need help Please help me
I need a attributes menu in Magento which auto generate
Like admin add 3-4 color and 3-4 size of some product then top menu comes up automatically with 2 menus
1.Color
2.Size
And under this drop down user can see which type of color and size available on this store after clicking of any he will show these all products which having this attributes.
if admin add only one extra color/size for any one product this color/size should be on the drop down list.
Thank you I hope you can understand my Question
Best Answer
There is an explanation on how you can add menu items in the top menu in this question.
You can use the event
page_block_html_topmenu_gethtml_before
to add menu items to the top menu.Your observer can look something like this:
I haven't tested the code so you might get some errors, but the idea is the right one. Trust me :).