Product Feed Setup:Google Shopping

From XTENTO Support Wiki
Jump to: navigation, search
Extension Logo

Contents

General

Setting up an automated link between Magento and Google Shopping is easy using the Product Feed Export Module. Make sure you have installed the module as explained in the Setup & Configuration guide, and then follow these steps to set up your Google Shopping integration.

Contact us if you have questions.

Step 1: Setting up the export destination

Sample Destination Configuration

First of all we will need to set up the folder where the Google Shopping feed will be stored in, so Google can retrieve it.

Go to Catalog > Product Export > Export Destinations in the Magento admin panel. Create a new destination.

Destination Name: Google Shopping
Destination Type: Local Directory

Click proceed/save. It will now ask you to enter the "Export Directory" now. Enter: ./feeds/

(Including the dot at the beginning - very important)

Now save the export destination and proceed to step 2.

Step 2: Setting up the export profile

Enabling the export destination
XSL Template / Export definition
Automatic Export

Go to Catalog > Product Export > Export Profiles in the Magento admin panel. Create a new profile.

Enter a name such as "Google Shopping Feed" in the "General Configuration" tab.

Select the "Export Destinations" tab on the left and make sure to "enable" the export destination you created in step 1. (See screenshot on the right side)

Select the "Stores & Filters" and select the "Store View" (URLs, etc. will be taken from this store view) that you'd like to export.

Go into the "Output Format" tab. You'll now need the export definition. To get that, do the following:

Download the XSL Template (export format definition) from the integration page in our store: https://www.xtento.com/product-feeds/magento-google-shopping-integration.html

You will need to log in using your account or if you purchased via Magento Marketplace, enter your MAG ID there.

Save the file on your computer. Open it using Notepad and copy ALL contents of the file, and paste this into the "Output Format" tab in your export profile. (See screenshot on the right side)

Now proceed to the "Automatic Export" tab. Set "Cronjob Enabled" to "Yes" there and set the "Export Frequency" to "Twice Daily".

Now save the profile. You're done with setting up the profile, proceed to step 3.

Step 3: Manual Export

Now you'll need to run the export manually once so the feed gets generated for the first time.

To do so, go to Catalog > Product Export > Manual Export and select the profile you created, then select "Export" and wait for the generation to finish.

Then, proceed to step 4.

Step 4: Setup in Google Merchant Center

You will now need to sign into Google Merchant Center and add the feed.

To do so, go to "Feeds" in Google Merchant Center and add a new feed and make settings such as name, country etc. as required.

In step two when selecting the "Input Method", select "Automatic Download" (second option as of 2017) and proceed.

In step three you'll now need to enter the "File URL" from where Google downloads the product feed automatically. Enter the following value:

http://www.YOURSTORE.com/feeds/google_export.xml

Please replace "www.YOURSTORE.com" with the correct URL of your Magento installation.

If you get an error that the file can't be found, either you didn't run a manual export of the feed in Magento yet, or you entered a wrong domain/path.

You're done. Google will now fetch the feed from your server and process it. Any eventual data errors can be seen in Google Merchant Center then, you can fix them in Magento by adjusting the Output Format of your export profile, and then create a new manual export to update the feed on your server and/or wait for the cronjob to run to automatically re-generate the feed per the defined export frequency.

Troubleshooting

Please check the FAQ section at the bottom of this page for troubleshooting hints.

Personal tools
Namespaces
Variants
Actions
General Information
Magento 1 Guides
Magento 1 Extensions
Magento 2 Guides
Magento 2 Extensions
Magento Integration Suite
Product Feed Guides
Toolbox