Custom Plugin not showing under admin Local Plugins

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
2 anni tempo fa
I created a custom plugin with nopcommerce version 4.4. I follow all the steps  but plugin is not showing up under local plugins of admin. The plugin source code is under root plugins folder and on build it successfully published under Nop.web>> plugin>> my plugin name.

I did the following steps to fixed it.

1) Reload Plugins.
2)Restart Application.
3)Clear cache.
2 anni tempo fa
Check the System Log to see any if any errors.
What type of plugin did you create - what Interfaces are you inheriting?
2 anni tempo fa
I am creating  url Rediect plugin. I event tried to add test plugin with nothing logic in it.  I also tried to copy the another build in plugin source code it not working. there is no error under logs. the class inherited from BasePlugin.
2 anni tempo fa
Of course you have checked that the plugin supported versions in the pluigns.json file matches the nopCommerce version ?
i.e.    "SupportedVersions": [ "4.40" ],

The best way to make a plugin is to copy an existing similar plugin and rename
2 anni tempo fa
Yes sir, I setup the supported version to 4.40 and also copied each and every thing form plugin source code shipping.ups. but  my plugin under admin local plugin not shows up. here is my plugin.json code

{
  "Group": "Url Redirect",
  "FriendlyName": "Url Redirect",
  "SystemName": "Url.Redirect",
  "Version": "1.25",
  "SupportedVersions": [ "4.40" ],
  "Author": "nopCommerce team",
  "DisplayOrder": 1,
  "FileName": "Nop.Plugin.Url.Redirect.dll",
  "Description": "This plugin offers url rediercts"
}
2 anni tempo fa
You have a file called Nop.Plugin.Url.Redirect.dll in the directory
\Plugins\Url.Redirect\
2 anni tempo fa
Yes sir, I have file at location Nop.Web\Plugins\Nop.Plugin.RedirectUrl
2 anni tempo fa
zabi wrote:
Nop.Web\Plugins\Nop.Plugin.RedirectUrl

Is not standard - normally would be Nop.Web\Plugins\Url.Redirect\
Maybe try and rename the directory see what happens
2 anni tempo fa
Sir, all other plugins also have this structure like if we  see the shipping.ups plugin after build its have Nop.Plugin.Shipping.UPS.dll at location Nop.Web\Plugins\Shipping.UPS and Nop.Web\Plugins\Shipping.UPS\ref.
2 anni tempo fa
If you are developing under VS, then by convention, the source code / project would be e.g.
\nopC440\Plugins\Nop.Plugin.Misc.RedirectUrl
then you have your project's Properties > Build > Output path be
..\..\Presentation\Nop.Web\Plugins\Misc.RedirectUrl

Then after you build, you should find your .dll, etc. in folder
\nopC440\Presentation\Nop.Web\Plugins\Misc.RedirectUrl
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.