Product
Store demo
Showcase
Features
Why for developers
Why for store owners
Industries
Fashion
Health & Beauty
Food & Beverage
Automotive
Industrial & Scientific
Furniture
B2B eCommerce
International
Downloads
Download nopCommerce
Marketplace
Translations
Copyright removal key
Mobile application
Web API
Support & services
Training
Documentation
Community forums
Premium support services
Request a quote
Contact us
Partners
English
English
Español
Deutsch
Russian
Français
Italiano
Português
Türkçe
简体中文
日本語
Tiếng Việt
Get started
Shopping cart
My account
Log in
Register
Home
>
Forums
>
General
>
Development
>
How to set Active MenuItem SystemName in 4.10
How to set Active MenuItem SystemName in 4.10
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
jigarsangoi
Certified Developer
Total Posts:
41
Karma:
235
Joined:
9/26/2013
Location:
India
Posted:
5 years ago
Hi,
Does any one knows how to set active menu in custom plugin in nopCommerce 4.10? in nopcommerce 3.90 it can be done using this method "SetActiveMenuItemSystemName" but due to use of new plugin layout its not working anymore.
Thanks.
AxelAndersen
Total Posts:
207
Karma:
1235
Joined:
3/3/2016
Location:
Denmark
Posted:
4 years ago
This works for me:
Html.SetActiveMenuItemSystemName("Sales");
jigarsangoi
Certified Developer
Total Posts:
41
Karma:
235
Joined:
9/26/2013
Location:
India
Posted:
4 years ago
It wont work with your custom plugin in 4.10. Unless you dont create layout like _ConfigurePlugin.cshtml page
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
Still have questions or need help?
.
Premium support services
.
Get dedicated support from the nopCommerce team with a guaranteed response within 24 hours.
.
Online course for developers
.
Get the practical and technical skills you need to run and customize nopCommerce websites.