scandiwebcom / MagentoMenuManager

A Magento extension allows to create as many menus as you wish. Each menu will have it's support for active items.
8 stars 7 forks source link

Different Store Views - same identifier #2

Closed uncenteredDiv closed 7 years ago

uncenteredDiv commented 7 years ago

I'm creating a multi language shop with different menu blocks in the footer. The links in the menus are different for each language - but the menu blocks content don't change when i change the language.

Is there a way to get the menu blocks via identifier and not via ID? Or do i have to add the menu block twice in the layout - so that only one block gets rendered each time for the specific language?

You might got a better idea?

scandiwebcom commented 7 years ago

Hi, @Skinwalker !

You can easily create multiple menus with the same identifier and just assign them to the appropriate store. In that case - you will need to add menu block only once with the mentioned identifier.

Re: β€œis there a way to get the menu blocks via identifier and not via ID?” Menus are already added using identifier instead of hardcoded ID.

Hope this brings some clarity.

uncenteredDiv commented 7 years ago

Ok - now i got it ... sorry for the stupid question. Changed the ID to the identifier and know its working like a charm.

scandiwebcom commented 7 years ago

No worries! Glad we could help. πŸ‘