Set The Submenu In Menu-right In The ALLURA Template - Question | JoomShaper

Set The Submenu In Menu-right In The ALLURA Template

A

Andrea

Template 1 month ago

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?

0
6 Answers
Atick Eashrak Shuvo
Atick Eashrak Shuvo
Accepted Answer
Support Agent 1 month ago #210397

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

0
A
Andrea
Accepted Answer
1 month ago #210398

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?

0
Atick Eashrak Shuvo
Atick Eashrak Shuvo
Accepted Answer
Support Agent 1 month ago #210401

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.

0
A
Andrea
Accepted Answer
1 month ago #210528

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?

0
Atick Eashrak Shuvo
Atick Eashrak Shuvo
Accepted Answer
Support Agent 1 month ago #210649

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

0
A
Andrea
Accepted Answer
1 month ago #211297

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.

0