Change plugin SystemName and FileName

4 months ago
Hi nop team,

We would like to change the SystemName and the FileName of one of our plugins i.e our QuickTabs plugin SystemName is now "SevenSpikes.Nop.Plugins.NopQuickTabs" while it should be simply "SevenSpikes.Nop.Plugins.QuickTabs" and the same for the file name it is now "SevenSpikes.Nop.Plugins.NopQuickTabs.dll" but we would like to rename it to simply "SevenSpikes.Nop.Plugins.QuickTabs.dll".

I don't think this is possible at the moment without breaking the installation as in the plugins.json file it is the SystemName that is kept as a reference to the plugin. So if we rename it the plugin will no longer be marked as installed even though it is actually installed and this could lead to a lot other issues.

One way to do this is to add support for OldSystemName property in the plugin's plugin.json file that will keep the original one and the SystemName property to become the new one.
nopCommerce can check for the OldSystemName when the SystemName is not found and update the plugins.json accordingly with the new name as it already does with the versions during the upgrade.

Or maybe even a list of compatible names instead of just a single old name as if the plugin vendor decides to change it again in the future.

Thanks,
Boyko
4 months ago
When we update plugin names, we just ask users to manually change the appropriate record in the plugins.json file. This doesn't happen often, so no need to implement a specific feature for it.