回帖总数:
9
业力:
75
注册日期:
2013/3/13
位置:
India
Hi, I want to check in "ProductTemplate.VariantsInGrid.cshtml" whether my Plugin is installed or not. Please help out from this issue as soon as possible. Thanks in advance.
回帖总数:
976
业力:
11658
注册日期:
2012/11/30
位置:
Angola
Hi, var pluginFinder = EngineContext.Current.Resolve<IPluginFinder>(); var pluginDescriptor = pluginFinder.GetPluginDescriptorBySystemName("PluginName"); if (pluginDescriptor != null) { <span>plugin installed!</span> }
回帖总数:
9
业力:
75
注册日期:
2013/3/13
位置:
India
Hey... Really thanks.. It's working...
回帖总数:
57
业力:
315
注册日期:
2015/9/28
位置:
Italy
It does not work in nopCommerce 4.20. How can I do? Thanks
回帖总数:
3948
业力:
35247
注册日期:
2010/2/8
位置:
Australia
var _pluginService = EngineContext.Current.Resolve<IPluginService>(); var plugin = _pluginService.GetPluginDescriptorBySystemName < IPlugin("Group.Name", LoadPluginsMode.All); // Plugin Name if (plugin != null) { ..... }