Instruction Google Content API for Shopping for Opencart3.0


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 Extensions (1) > Installer (2).

  3. In the Upload your extensions block, click the Upload button (3).




  1. In the opened window select the plugin archive (1) and click the Open button (2).




  1. Go to the Extensions subcategory (1, 2). In the Extension List, select the Modules type (3).




  1. Find the Google Content API for Shopping plugin (4) and click the Install button (5).

  2. To configure the plugin, click the Edit button (6).






Plugin page


The plugin page includes:


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

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

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

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

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

  6. The Taxes checkbox (6) - to enable / disable the display of the price with tax.

  7. The Prefix offer Id field (7) - to enter a prefix for the product ID. You can add any word to the product ID, if necessary.




  1. The Your Access Token field (8) - 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 Your Access Code field (9) - 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 Upload json file block (10) allows you to synchronize your website with account in the Google Merchant Center. This block consists of:

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

  • The button for copying of Your redirect url (11) - use this redirect URL when setting up an account in the Google Cloud Console.

  • The Login button (12) - to authorize data.

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

  1. The Trigger add product field (13) - to enable / disable automatic updating of product data in the Merchant Center. To update the data after the creation of products, select the Enabled position.

  2. The Trigger edit product field (14) - to enable / disable automatic updating of product data in the Merchant Center. To update the data after the editing of products, select the Enabled position.

  3. The Trigger delete product field (15) - 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.

  4. The Load Products button (16) - to load all products of your website in the Google Merchant Center.

  5. The Delete all Products button (17) - to remove all products of your website from the Google Merchant Center.

  6. The Clear logs button (18) - to delete logs of the using the plugin.






Uploading products to Google Merchant Center




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




Next, add a feed to your account.

To do this, go to the Products menu (1) and click Create a feed (2).




And fill in the following data:


  1. In the Basic information tab, select the targeted countries (the Target countries block) and the language (the Language field).

  2. In the Name and input method tab (1) add the feed name (the Primary feed name field (2)) and select Content API (3) as the data input method.

  3. Click the Create feed button (4).





  • 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 Library menu (2, 3, 4).




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 (1)).




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


  1. Go to the OAuth consent screen menu (1), select the External option (2), and click the CREATE button (3).




  1. After completing the app registration form, select PUBLISH APP (1) to change the publishing status. Next, click the CONFIRM button (2).




  1. Go to the Credentials menu (1) and select CREATE CREDENTIALS (2) > OAuth client ID (3).




4. Select the Web application option (1) in the Application type field.

5. Enter the client name, for example, Web client 1 (2).

6. Add your redirect᠎ URL in the Authorized redirect URIs block (3):

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

  • Copy the redirect URL on the plugin page by clicking the button for copying of Your redirect url (5).

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

7. Click the CREATE button (4).






8. To download a json file, click the DOWNLOAD JSON button (1).





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


To do it, click the Upload json file 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 Your Access Token and Your Access Code fields are automatically filled.





  • Upload your products to your Google Merchant Center account.


To load products, click the Load Products button (on the plugin page) and go to your Google Merchant Center account (menu Products (1) > All products (2)).




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




VIDEO INSTRUCTION