Instruction Google Content API for Shopping for CS-cart
INSTRUCTION GOOGLE CONTENT API FOR SHOPPING FOR CS-CART
Download and install
Download the plugin archive from the Shop Pinta store and save it on your computer.
In the admin panel of your website, select Add-ons (1) > Manage add-ons (2) > CS-Cart (3).
On the Add-ons page, select Manual installation from the list of options.
Next, click the Local button (1).
Upload the plugin archive from your computer (2, 3).
Click the Upload & install button (4).
To configure the plugin, go to the main menu Marketing (1) > Google Content API for Shopping (2).
Plugin page
The plugin page includes:
The Content Language field - to select the language of the uploaded data.
The Currency field - to select the product currency.
The Target country field - to select the target country.
The Merchant id field - to enter the account ID from Google Merchant Center.
The Category status checkbox - to enable / disable the use of Google categories.
The Prefix Offer Id field - to enter a prefix for the product ID. You can add any word to the product ID, if necessary.
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.
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.
The Load client_secret block allows you to synchronize your website with 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 the Access code fields are automatically filled.
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.
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.
The Load Products button - to load all products of your website in the Google Merchant Center.
The Delete all Products button - to remove all products of your website from the Google Merchant Center.
Uploading products to Google Merchant Center
Sign up for a Google account if you don't already have one, and create an account with Google Merchant Center.
* https://support.google.com/merchants/answer/188924
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).
* https://support.google.com/cloudidentity/topic/7555414
Next, go to the Library menu (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:
Go to the Credentials menu (1) and select CREATE CREDENTIALS (2) > OAuth client ID (3).
Select the Web application option in the Application type field.
Enter the client name, for example, Web client 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).
Download a json file.
Go to the OAuth consent screen menu (1).
In the Publishing status block, select the In production option.
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 the 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