Rank: Advanced Member
Groups: HelpDesk
Joined: 1/20/2020(UTC) Posts: 44
|
How can I create a custom menu in the store that is not generated automatically? I want certain products to be in the menu, some other static webpages, and some external links also. The current menu is at https://www.idautomation.com/
|
|
|
|
Rank: Advanced Member
Groups: System, Administrators, Developers, Registered, HelpDesk Joined: 10/29/2018(UTC) Posts: 493
Thanks: 4 times Was thanked: 36 time(s) in 35 post(s)
|
Hello Brant, You can use the HTML scriptlets feature to create static content that can be used anywhere. Once you have that done, you would need to modify the view file, which appears to be _StoreMenuLight.cshtml in the \Views\Shared\ folder. Hide the mega menu reference and add you new reference to the scriptlet. This is an example: Quote: <div class="column col-md-12 col-sm-12 col-xs-12"> <!--WIDGET-ZONE--> <div style="" class="">@{RenderZone("My Custom Menu");}</div> <!--/WIDGET-ZONE--> </div> |
Thanks for your support!
Katie Secure eCommerce Software and Hosting |
|
|
|
Rank: Advanced Member
Groups: HelpDesk
Joined: 1/20/2020(UTC) Posts: 44
|
Thank you. Is there any way to create a custom menu without modifying files? This is necessary to make upgrades easier.
|
|
|
|
Rank: Advanced Member
Groups: System, Administrators, Developers, Registered, HelpDesk Joined: 10/29/2018(UTC) Posts: 493
Thanks: 4 times Was thanked: 36 time(s) in 35 post(s)
|
Hi Brant,
Well yes, you can create a new widget board for the header and insert your new custom menu HTML snippets into that. I was trying to show you an easy way to swap out the mega menu with the custom one. Either way works.
|
Thanks for your support!
Katie Secure eCommerce Software and Hosting |
|
|
|
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.
Important Information:
The AbleCommerce Forums uses cookies. By continuing to browse this site, you are agreeing to our use of cookies.
More Details
Close