Instruction Google Content API for Shopping for CS-cart


Download and install


  1. Download the plugin archive from the Shop Pinta store and save it on your computer.

  2. In the admin panel of your website, select Add-ons (1) > Manage add-ons (2) > CS-Cart (3).




  1. On the Add-ons page, select Manual installation from the list of options.




  1. Next, click the Local button (1).

  2. Upload the plugin archive from your computer (2, 3).

  3. Click the Upload & install button (4).




  1. To configure the plugin, go to the main menu Marketing (1) > Google Content API for Shopping (2).






Plugin page


The plugin page includes:


  1. The Content Language field - to select the language of the uploaded data.

  2. The Currency field - to select the product currency.

  3. The Target Country field - to select the target country.

  4. The Merchant ID field - to enter the account ID from Google Merchant Center.

  5. The Category Status checkbox - to enable / disable the use of Google categories.

  6. The Prefix Offer ID field - to enter a prefix for the product ID. You can add any word to the product ID, if necessary.

  7. The Access Token field - to enter the token after setting up an account in the Google Merchant Center.

This field is filled in automatically when uploading a json file.




  1. The Access Code field - to enter the code after setting up an account in the Google Merchant Center.

This field is filled in automatically when uploading a json file.

  1. The Load client_secret block allows you to synchronize your website and account in the Google Merchant Center. This block consists of:

  • The Load button - to load a json file with the access token and the access code.

  • The Your redirect url field - use this redirect URL when setting up an account in the Google Merchant Center.

  • The Login button - to authorize data.

After successful authorization, the Access Token and Access Code fields are automatically filled.

  1. The Trigger edit and add product field - to enable / disable automatic updating of product data in the Merchant Center. To update the data after the editing / creating of products, select the Enabled position.

  2. The Trigger delete product field - to enable / disable automatic updating of product data in the Merchant Center. To update the data after the deleting of products, select the Enabled position.

  3. The Load Products button - to load all products of your website in the Google Merchant Center.

  4. The Delete All Products button - to remove all products of your website from the Google Merchant Center.






Uploading products to Google Merchant Center




Copy the account ID and add it on the plugin page (to the Merchant ID field).





  • Use the Google API to set up integration with the Google Merchant Center.


To do it, you need to create a new project in the Google Cloud Console. For example, My-First-EXP-Work (1).


Next, go to the menu Library (2).




Using the search, find the required library - Content API for Shopping.

After selecting, confirm the connection of this library to the project (the ENABLE button).




Next, you need to generate a json file with authorization data:


  1. Go to the menu Credentials (1) and select Create Credentials (2) > OAuth Client ID (3).




  1. Select the WebApp option in the Application Type field.

  2. Enter the client name, for example, Web Client 1.




  1. Add your redirect URL in the Authorized redirect URIs block:

  • To display the field for entering the redirect URL, click the ADD URI button.

  • Copy the redirect URL on the plugin page (the Your redirect url field).




  • Paste to the URIs 1 field (1) the redirect URL copied from your website's admin panel.

  • Click the CREATE button (2).




  1. Download a json file.




  1. Go to the OAuth Consent Screen menu (1).

  2. In the Publishing Status block, select the In Production option.

  3. Next, click the Back to Testing button (2).





  • To authorize data, upload a json file on the plugin page.


To do it, click the Load button (1) and select the previously downloaded json file (2, 3).

Next, click the Save button (4) to save the current data.

And click the Login button (5).




After successful authorization, the Access Token and Access Code fields are automatically filled.





  • Upload your products to your Google Merchant Center account.


To load products correctly, first create the Feed (menu Products > Feeds). And select Content API as the data input method.




Next, click the Load Products button and go to your Google Merchant Center account (menu Products > All Products).




Now you can quickly upload all the products of your website to your Google Merchant Center account.




VIDEO INSTRUCTION