Goodmorning, just a quick question.
In the template Allura, there is refer to a menu-right - in the header - where both the shopping cart and login icons appear.
However, I can't find this menu and where to change the submenu options (Whishlist, profile, orders and logout).
Could you give me some guidance?
Set the submenu in menu-right in the ALLURA template
6 replies
Hello Andrea,
Sorry for the inconvenience. The shopping cart, login, and related submenu options in the Allura template header are hard-coded. This means that modifying or removing those items requires directly editing the template code.
However, you can add additional items to the menu by creating a menu module and publishing it in the logged-in-usermenu module position. This will allow you to extend the menu without modifying the core template files.
Best regards
If I understand correctly, you need to create a module in the menu-right position, removing the cart and login options from the template.
Is that right?
To clarify, the existing cart and login items in the menu-right area cannot be changed or removed without modifying the template code directly.
However, you can add additional items by creating a menu module and publishing it in the logged-in-usermenu module position. This allows you to extend the menu, but the default items themselves are not editable unless you adjust the code.
Okay. I've seen and tested it. I'd prefer to keep your version, but I need to change the translations and remove the Profile submenu. Where can I find the relevant code?
Hello Andrea,
Sorry for the inconvenience you are experiencing. If you're not familiar with coding, this could be a bit complex. Are you looking to remove the entire submenu?
Looking forward to your response.
Best regards
Hello
It wasn't that difficult to find where the code was.
After wasting half a day looking for it, I've now fixed what I needed.