WooCommerce Google Shopping Feed: With this extension Woocommerce merchant can easily sync and submit the store product data to google shopping feeds. Users can view Woocommerce store product on Google search page. Admin can map the store product categories and attributes to Google shopping product categories and feeds. After the configuration of this module, the feed gets synced to a Google Merchant Center account. Feeds are supported in XML(Extensible Markup Language) or text that contains product information.
Watch the below video tutorial to understand the plugin workflow:
- Store products add to Google Feed using content API.
- Products get updated on Google Feed once synced on the store.
- Dynamic Attributes mapping.
- This module supports variable product but doesn’t create variations.
- Map store category with Google shopping feed categories.
- Export products in bulk or in selection.
- The admin can add unique shopping feed product value for each product.
- Supports Simple and Downloadable products.
- Option to Authenticate the Merchant account of the use.
- Feeds are supported in XML(Extensible Markup Language) or text.
- The admin can manage multiple feeds to display on Google Shopping Feed.
Installation of Google Shopping Feed
The user will get a zip file which he has to upload in the “Add New” menu option in the WordPress admin panel. For this login to WordPress Admin Panel and Under the Dashboard hover your mouse over the “Plugins” menu option which brings out a Sub-Menu and then select the “Add New” option.
Click on the option “Upload Plugin” on the top of your page to upload the zip file.
now. Read More
After clicking on the “Upload Plugin” option, below that you will see a button “Choose File” click on the button to browse for the zip file as per the snapshot below.
Now, run the below-mentioned command in the respective directory (Likewise: domain/wp-content/plugins/wk-google-shopping-feed) via terminal.
Make sure that you have installed composer on your server else follow this instruction to install composer – Composer Installation
How to get the Credentials – Client ID and Client Secret
Create APP, Get the Client Id & Secret:
1: Go to console.developers.google and log in using your Gmail Id. After login click a dropdown arrow for the Select a Project option.
2: Click the NEW PROJECT option.
3: Enter your project name and select the location and click the Create button.
5: Now in the search box type in Shopping.
6: The results will populate and then select – Content API for Shopping.
On clicking the same, another page, Content API for Shopping will become visible as shown below.
7: After clicking on the “Enable” button now select the created app and then click on the Create Credentials button.
8: Now select OAuth client ID as shown below in the snapshot.
9: Now on the next screen to create an OAuth client ID, you must first set a product type on the consent screen. For that, the admin will click on the “Configure consent screen”.
Configure And Register The App
After that from the OAuth consent screen, the admin will choose how you want to configure and register your app, including your target users. You can only associate one app with your project.
After selecting the user type will click on “Create.”
After clicking on the Create, now on the next screen, the admin needs to configure the consent screen for all applications in this project.
- The name of the app asking for consent.
- An image on the consent screen that will help users recognize your app.
After adding details under OAuth consent screen, click on Save an Continue. This takes your to the Scopes section.
Here, your can Add or Remove Scopes and further Save and Continue.
This takes you to the Optional Info Section, under which one can add the details necessary, and click on Save and Continue.
This navigates to the Summary section, under which all the details are visible as shown in the image below.
The one needs to click on the Back to Dashboard button. It navigates to the OAuth consent screen and displays the App name and its Verification Status and User Type.
After that move to the credentials section again.
Step 10: Under Application, type selects the Web Application, under the Authorized redirect URIs enter the redirect URL
Now, click the Create button.
- Authorization URL should be in this format: https://wordpressdemo.webkul.com/wc-google-shopping-feed/wp-admin/admin.php?page=wk-settings-feed
Step 11: Now you can see the client id and the client secret key. Copy them into the module configuration settings.
Sign Up Google Merchant
Step 1: Go to Merchant Center and click on the Sign-Up button.
Step 2: Login with your Gmail address that you have used for creating the credentials and click the Next button.
Step 4: Now, you need to verify and claim your website URL as shown in the image below.
Step 5: After clicking the verify button a pop-up will appear. Click Continue to proceed further for verification.
Step 6: After clicking the Continue button in the image above, you can see that the website is verified and claimed. Lastly, click the Finish button.
Configuration of Google Shopping Feed
After successful installation, the admin can configure WooCommerce Google Shopping Feed under “Woo Google Feed> Settings”
Here, Admin will be able to see Four settings:
- Map Category
- Client ID: Under Credentials, The admin needs to enter the Client Id credentials which the admin have received after registering at console.developer.google.com
- Client Key ID: Next, The admin needs to enter the Client Key Id credentials which the admin have received after registering at console.developer.google.com
- Merchant Id: Enter Merchant Id which the admin has received from Google Merchant Center Dashboard after registering at https://merchants.google.com
- Redirect URL: Here, Admin needs to enter the Redirect URL. For example – https://www.example.com/admin/googleshoppingfeed/oauth/index
Now, the admin can click on Generate Access Token link likewise image below:
Note: Generate Access Token link will be expired within 15-20 minutes, Admin needs to regenerate this link by clicking on Refresh Access Token link if want to upload single product on google merchant center account as shown in the image below:
2. Map Category
Under this section, the admin will be able to find a list of all mapped categories, their details, and can map the categories of his Woocommerce store with the Google Merchant Account categories.
To map a new category click the Add New button in the snapshot above and this brings up the section to map the store categories with the Google Feed Category.
To map, select store product category and after that select the corresponding Google product Category, it’s sub-categories if any as required. Lastly, click the Save Category button to save the mapping and admin can also see a success message for the same.
- Shipping country: The admin can select shipping country name of the item on Google Shopping Feed.
- Shipping region: The admin needs to write the shipping region to which a shipping rate applies.
- Shipping price currency: Enter the currency of the shipping price of the item on Google feeds.
- Shipping price: Enter the shipping price in a number of the item on Google feeds.
- Shipping service: The admin can set the shipping service of the item on Google feeds.
- Shipping postal code: Enter shipping zip code which is to be displayed on the item on google feeds.
After, setting up shipping configuration admin needs to hit on “Save shipping” and can add more shipping information by clicking on “Add more” likewise in the above-attached image.
- Tax country: The admin can set the Tax country in which the product feeds are to be displayed.
- Tax postal code: Enter Tax zip code which is to be displayed on the item on google feeds.
- Tax rate: Admin can set the Tax rate in a percentage that applies to the item on google feeds.
- Tax region: The admin needs to write the Tax region to which a shipping rate applies.
- Tax Taxship: Select Tax taxship as true or false. Admin can set to true if the tax is charged on shipping else set false.
After, setting up taxes configuration admin needs to hit on “Save tax” and can add more tax information by clicking on “Add more“.
Google Shopping Feed Workflow – Admin’s End
Create a Google Feed Product
There are few below required feeds Google Product should include:
Product: Select the product name which admin want to display on Google Shopping Feed.
Channel: Admin can set the channel as Online or Local.
Target country: Define the target country to distribute your products across the web.
Content-Language: The admin can set the language in which the product content will be displayed.
Condition: The admin can set the default conditions of the products like New, Used, and Refurbished.
Brand: Enter the Brand name of the product.
Apart from this admin may include additional attributes on product likewise attached in the image below to get a better result on SERP page. For more information about these attributes refer to the google shopping doc from here.
Manage Google Feed Product
Here, the admin can perform bulk actions on the product like “Delete” and “Upload to merchant” and can add new feeds by clicking on “Add New“, even admin can upload product feed to google merchant separately by clicking on “Upload” button for the respective product.
Manage Multiple Google Feed Product
Create Feed :
Here, the admin will be able to see three fields which admin needs to fill in order to create google shopping feed.
Title: Here, admin can write product title that will be applicable on the items on Google feeds.
Select country: The Admin needs to define the country name in which the product feeds are to be displayed.
Select category: Here, the admin can select the mapped product category to be displayed on Google shopping feeds.
After, creating feeds admin needs to hit on “Create Feed” and click on “Create XML” to upload multiple feeds to google merchant account as an XML file.
Tapping on “Create XML” will bring out to next page where admin can view the list of created feeds and generate XML file by clicking on “Generate” button and copy generated XML link to be upload on google merchant account likewise in the image below.
Now, open the google merchant center account and go to product feeds by navigating through Product>Feeds and click on “+” (add new icon) as shown in the image below:
It will bring out you to next page, Here admin needs to choose country name from the dropdown and can select the language and click on the continue button likewise the attached image below:
Name and Input Method:
In the final step, the admin needs to enter the name of feeds and paste generated XML URL into the File URL field then proceed similar to the image below:
Workflow At Google Merchant Account
After the admin has configured the extension, mapped the attributes, categories, and exported the products to the Google’s Merchant Account, the exported products will be visible under the Products>List section.
Note: The updates may take up to 2 hours to get visible on the Merchant Account.
Current Product Version - 1.0.0
Supported Framework Version - 3.0.x, 3.1.x, 3.2.x, 3.3.x, 3.4.x, 3.5.x, 3.6.x, 3.7.x, 3.8.x, 3.9.x