Total de postagens:
9
Karma:
75
Ingressou:
13/03/2013
Localização:
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.
Total de postagens:
976
Karma:
11658
Ingressou:
30/11/2012
Localização:
Angola
Hi, var pluginFinder = EngineContext.Current.Resolve<IPluginFinder>(); var pluginDescriptor = pluginFinder.GetPluginDescriptorBySystemName("PluginName"); if (pluginDescriptor != null) { <span>plugin installed!</span> }
Total de postagens:
9
Karma:
75
Ingressou:
13/03/2013
Localização:
India
Hey... Really thanks.. It's working...
Total de postagens:
57
Karma:
315
Ingressou:
28/09/2015
Localização:
Italy
It does not work in nopCommerce 4.20. How can I do? Thanks
MVP
Programador certificado
Total de postagens:
3948
Karma:
35247
Ingressou:
08/02/2010
Localização:
Australia
var _pluginService = EngineContext.Current.Resolve<IPluginService>(); var plugin = _pluginService.GetPluginDescriptorBySystemName < IPlugin("Group.Name", LoadPluginsMode.All); // Plugin Name if (plugin != null) { ..... }