Reading list Switch to dark mode

    WooCommerce Google Shopping Feed

    Updated 12 January 2023

    WooCommerce Google Shopping Feed: With this extension, Woocommerce merchants can easily sync and submit the store product data to google shopping feeds. Users can view Woocommerce store products on the 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:

    wJjjCVbxKdQ

    Features

    • 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.

    Add New plugin

    Click on the option “Upload Plugin” on the top of your page to upload the zip file.

    Start your headless eCommerce
    now.
    Read More

    Upload Plugin

    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.

    Choose FileAfter browsing the file, click the “Install Now” button to install the plugin as per the snapshot.uploadplugin

    Now when the plugin is installed correctly, you will see the success message and an option to activate the plugin. Click on “Activate Plugin” to activate the installed plugin.Activateplugin

    Now, run the below-mentioned command in the respective directory (Likewise: domain/wp-content/plugins/wk-google-shopping-feed) via terminal.

    composer install

    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.

    APIs-Services-Google-API-Console-1-1-1

    2: Click the NEW PROJECT option.

    select-project-1

    3: Enter your project name and select the location and click the Create button.

    New-Project-–-Google-API-Console-14: Select your created project and then click ENABLE APIS & SERVICES button.

    Enable-APIs-and-Services-1

    5: Now in the search box type in Shopping.

    API-Library-Project2-Google-API-Console-3

    6: The results will populate and then selectContent API for Shopping.

    API-Library-Project2-result-1

    On clicking the same, another page, Content API for Shopping will become visible as shown below.

    Content-API-for-Shopping-page-1

    7: After clicking on the “Enable” button now select the created app and then click on the Create Credentials button.

    create-credentials-2-1

    8: Now select OAuth client ID as shown below in the snapshot.

    credentials2-4

    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-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.

    user-type_external-3

    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.

    1. The name of the app asking for consent.
    2. An image on the consent screen that will help users recognize your app.

    oauth-consent-screen-2

    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.

    scopes-6

    This takes you to the Optional Info Section, under which one can add the details necessary, and click on Save and Continue.

    optional-info-1-1

    This navigates to the Summary section, under which all the details are visible as shown in the image below.

    summary-3

    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.

    verification-status-1

    After that move to the credentials section again.

    The admin will click on OAuth client ID as shown below in the snapshot.select-oauth-5

    Step 10: Under Application, type selects the Web Application, under the Authorized redirect URIs enter the redirect URL

    Now, click the Create button.

    Note-

    credentials-1

    Step 11: Now you can see the client id and the client secret key. Copy them into the module configuration settings.

    oauth-client-created-1

    Sign Up Google Merchant

    Step 1: Go to Merchant Center and click on the Sign-Up button.

    google shopping feed magento 2

    Step 2Login with your Gmail address that you have used for creating the credentials and click the Next button.

    google shopping feed magento 2

    Step 3: On the Terms & Condition page check the checkbox to agree to the terms & conditions and click Continue button after that.google shopping feed magento 2

    Step 4: Now, you need to verify and claim your website URL as shown in the image below.

    google shopping feed magento 2 veriy and claim websiteAfter the above steps click Verify URL button.

    Step 5: After clicking the verify button a pop-up will appear. Click Continue to proceed further for verification.

    google shopping feed magento 2 verify and claim website

    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.

    google shopping feed magento 2 verify and claim websiteNow, you can see the Google Merchant Center dashboard.

    merchant account

    Configuration of Google Shopping Feed

    After successful installation, the admin can configure WooCommerce Google Shopping Feed under “Woo Google Feed> Settings”

    Woo Google Shopping Feed Settings (1)

    Here, Admin will be able to see Four settings:

    • Credentials
    • Map Category
    • Shipping
    • Taxes

    1. Credentials

    • 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:

    generate access token

    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:

    refresh access token

    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.Woo Google shopping add mapping

    The admin can also delete the mappings as required by first checking the mapping and then choosing the delete option from the actions drop-down.woo Google shopping feed delete

    3. Shipping

    Woo Google shopping feed Shipping setting

    • 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.

    4. Taxes

    The admin can set the taxes under the following entity.woo google shopping feed tax

    • 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

    After successful configuration of this module, Admin needs to create google feed product by navigating through Woo Google Feed >>Create Feed to synced store product feed with google feeds.Woo Google Shopping Feed create feed

    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.

    Woo Google Shooping Feed Additional feature

    Manage Google Feed Product

    The admin can view the product list of created google feed by navigating through Woo Google Feed >>Manage Feed as shown in the image below.Woo Google Shopping Manage Feed

    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

    The admin will be able to create the multiple feeds by navigating through Woo Google Feed >>Multiple Feed as shown in the image below.Woo Google Shooping multiple feed

    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.

    Woo Google Shooping feed create xml

    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:

    Google shopping feeds center

    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:

    Xml create feed

    Name and Input Method:

    Tapping on the Continue button will bring out to next steps, Here the admin needs to select “Scheduled fetch” option and proceed with by clicking on “Continue” button similar to the image below:shedule-fetch

    Setup:

    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:

    file_url

    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.

    List:Woo Google Shooping Merchant Center

    Final Attributes:

    The admin can select any product and can view the details of the respective products under the Final Attributes section as shown in the image below.Woo Google Shooping Feed Product attributes

    Note: The updates may take up to 2 hours to get visible on the Merchant Account.

    That’s all for the WooCommerce Google Shopping Feed. If you have any queries or doubts get back to us at [email protected] or raise a ticket at webkul.uvdesk.com.

    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

    . . .
    Discuss on Helpdesk

    Leave a Comment

    Your email address will not be published. Required fields are marked*


    2 comments

  • jackluke362
    hey, very informative blog you are such a creative writer.
    • himani gupta (Moderator)
      Hello
      Many thanks for your appreciation and kind words!!
      Stay tuned with us for more articles.
      Thanks & Regards
      Himani Gupta
  • Back to Top

    Message Sent!

    If you have more details or questions, you can reply to the received confirmation email.

    Back to Home

    Table of Content