SnowdogApps / magento2-menu

Provides powerful menu editor to replace category based menus in Magento 2
MIT License
296 stars 106 forks source link

Node title name (category name) not taken from storeview? #327

Open magex55 opened 4 months ago

magex55 commented 4 months ago

I am having multiple storeviews in my store, representing languages. A menu node (category name) is called "Shoes" for example and in the german store view its called "Schuhe" ... but no matter what storeview I choose when creating the menu, it stays "Shoes". Thats just an example.

Am I doing this wrong, or does it not work? How is it possible to show the real category name which matches the store view?

Thanks

andrzejborkowski commented 4 months ago

Hi @magex55 I was trying to replicate this issue on our menu stage (m2.4.5 + 2.26.0 menu version) and I can see correct submenu node name on frontend when switching store views: Screenshot 2024-05-22 at 14 08 49

Did you clear cache after updating node name?

Regards, Andrzej

magex55 commented 4 months ago

I cleared the cache, yes, here is exactly what I did:

  1. Created a menu and set my french storeview for it
  2. Clicked the "import from categories button", which created all the nodes matching my category structure
  3. Cleared cache

Now I looked at the nodes in admin first and they did not have the french category names. Now I switched to the french store view on frontend, which made the store appear in french, but the menu nodes did not switch to french.

Maybe its a misunderstanding or something. Does the extension take the node name from the Magento category name according to the selected store view? Important to understand: I do not want to change the node names to another language manually, I want to use the corresponding storeviews category name automatically as node name. Changing it manually works of course.

I was expecting that choosing a certain store view and importing the categories, it would automatically take the chosen storeviews categroy names as node names :-).

I also noticed that as soon as I change the storeview, the links go blank with just a #, might be the same problem?

andrzejborkowski commented 4 months ago

ok, that make more sense, thanks for additional details. I created an internal ticket DEV-106061 and our dev team will check it soon, probably we can add additional dropdown with store views to "Import from categories" modal so categories names are pulled from proper store view

magex55 commented 4 months ago

Yes, I think we are talking about the same thing now :-). I need to go live soon, do you think it will be solved anytime soon? It might be a really handy feature, especially for huger menus where it is just too much work to rename all the nodes by hand for each storeview.

Thanks so much!

andrzejborkowski commented 4 months ago

I can't provide a deadline at this time, so I suggest manually updating the category node names for go live. Thanks!