nordic wrote:Error during installing plugin and failed.
Violation of PRIMARY KEY constraint 'PK__LocaleSt__3214EC0702284B6B'. Cannot insert duplicate key in object 'dbo.LocaleStringResource'.
The statement has been terminated.
I haven't seen this error while developing and testing the plugin. The plugin does insert some locale string resources when installed and if you install, uninstall, and reinstall, it updates the locale string resources instead of trying to insert them again. This is done via the nopCommerce LocalizationService, so it shouldn't be violating the PK constraint on the table.
Did you restart the application before trying to install the plugin?
Do you have more than one language installed? The plugin installs the locale string resources for all languages (in English, you would need to translate to your language).
Can you check to see if the plugin's locale string resources have been installed?
Administration > Configuration > Languages > "View string resources" > Apply the following filter to the "Resource name" column:
Starts with
Plugins.Shipping.ByTotal.
There should be eighteen locale string resources, the names of these are in Shipping.ByTotal.LocaleStringResources.txt in the archive.
.