Skip to the content

How to install DC Merchant Centre Plugin

Setting up accounts

Google Developer Console

The Google Developer Console is used to create an OAuth key to securely link your website and your Google Merchant Centre together, allowing your website to submit data to your Merchant Centre.

 

Navigate to https://console.developers.google.com/ and sign up with an account.

\/ Then follow these images to see how \/

Google Merchant Center

These steps only need to be followed if you haven't yet created a Google Merchant Account.

 

Navigate to https://merchants.google.com/

Sign in with the same account that you used to sign up to the developer account.

\/ Then follow these images to see how \/

Installing the DC Merchant Centre Plugin

Upload the plugin to the /plugins folder in your nopCommerce directory.

Restart your application (or click 'Reload list of plugins' button).

Scroll down through the list of plugins to find the newly installed plugin.

Click on the 'Install' link to install the plugin.

Note: If you're running nopCommerce in medium trust, then it's recommended to clear your \Plugins\bin\ directory

 

Configuring the DC Merchant Centre Plugin

Firstly you will need to do some code changes in the Web.Config. Only a small change.

You only need to do this change for nopCommerce versions 3.6 and below

In the Web.Config find where the dependant assemblies are written.

There will be an assembly called Newtonsoft.Json.

Replace that with the following code.

<dependentAssembly>
   <assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed" culture="neutral" />
   <bindingRedirect oldVersion="0.0.0.0-7.0.0.0" newVersion="6.0.0.0" />
</dependentAssembly>

 

Save the file.

Our plugin requires a higher version of Newtonsoft.Json but nopCommerce, 3.6 and below, uses v6. This peice of code gives us v6 but fakes it as being v7, allowing our plugin to run.

Go to the backend of the website and navigate to the plugins list.

Click the configure button on the plugin.

\/ Then follow these images to see how \/

How to use the DC Merchant Centre Plugin

Google Merchant Center

When using the Google Merchant Center shipping charges should be defined in Google Merchant Center. This is so that Google can compare shipping prices between products.

FAQ

Common Error Messages

Link does not match your registered domain

This error message is usually due to non-matching URL's, The website url must be the same as what you set in the Merchant Center

 

You can read more here : https://support.google.com/merchants/answer/160050?hl=en

 

Missing shipping cost

This error is shown when shipping settings are not set in the Merchant Center.

They can be set here : https://merchants.google.com/Home?a=109531656#shippingsettings.services.GB

You can read more here : https://support.google.com/merchants/answer/6069284?hl=en

 

Incorrect target country

This error usually happens when the country you are shipping to does not have any shipping settings in the Merchant Center

You can read more here : https://support.google.com/merchants/answer/188494?hl=en

 

Incorrect Currency

This error usually happens when the currency that is submitted isn't the same as what is on your website.

You can read more here : https://support.google.com/merchants/answer/188494?hl=en

 

I find their approach to our relationship very professional whilst being refreshingly realistic. We now consider them to be part of our team

Lee Crowhurst, Technical Director

Partner with the Experts

With over 200 years of combined experience in Microsoft business solutions, our team will help to get you up and running, as well as building a partnership that keeps you supported, all from our UK offices. 

From functionality and licencing to business strategy, we like your questions; contact our experienced team for open, honest and reliable advice so that we can find the answers.