Your first feed

For arlanix/product-feed 1.0.0

Your first feed

If the module is not installed yet, start with Install.

Create a Google Shopping XML feed, publish it on your store and give its URL to Merchant Center. The screenshots use Magento's sample products; choose your own store view and categories.

For another platform, follow the same steps with its Type and field catalog: see Other platforms.

Step 1. Open a new feed

  1. Open the Arlanix menu and choose Feeds:

    The Arlanix menu open, with Feeds lifted

  2. Press Add Feed:

    The Add Feed button above the grid

Expand the form’s sections and work from top to bottom.

The new feed form as it opens, with the General section empty

Step 2. General: name the feed

The General section, filled in

Field Enter Purpose
Active Yes Enables the feed.
Identifier google-shopping A unique code, used in the file name. Use lower-case letters, digits, dashes and underscores.
Type Google Shopping Selects Google's fields and validation warnings.
Store View your store view Sets the prices, currency, language and product links. Create a separate feed for each store view.

Step 3. Products: choose which products go in

Add two conditions under If ALL of these conditions are TRUE. For this example, include enabled products visible in the catalogue and search:

  1. Press Add condition:

    The Products section, with the Add condition button lifted

  2. In the list that appears, choose Enable Product. A row Enable Product is comes in: choose Enabled at its end.

  3. Press Add condition again, choose Visibility, and at the end of its row Catalog, Search.

  4. In Stock status, choose In stock to include only products available to buy.

    The Products section with the conditions Enable Product is Enabled and Visibility is Catalog, Search, and In stock chosen

Leave Inventory sources, Prices for customer group and Prices with tax at their defaults. See Products for other filters and stock settings.

This example sends one row per visible product: a product with sizes or colours goes in once. Google wants each size or colour as an item of its own: use the sizes and colours recipe to send each variation separately.

Step 4. Mapping: copy Google's fields

Unfold Mapping. The table is empty: no field is mapped yet.

The Mapping section, empty, with Copy from and Add field

In Copy from, choose Google Shopping under Field catalogs and press Copy.

Copy from set to Google Shopping, with the Copy button beside it

The Mapping table after the copy: id, title, description, link, image_link, availability, price and the optional fields, each with its source

The catalog supplies the mapping. Fields marked Required must have a value for each product.

Check brand: its source is manufacturer. If your brand is stored in another attribute, choose it under Value. For products without barcodes, see the own brand recipe.

Leave other rows as copied. Optional rows with -- Choose -- can stay empty. For changes, see Mapping. The mapping is saved when you save the feed.

Step 5. Google categories: say what you sell

Assign Google's categories to help describe your products.

  1. Expand Google categories. Leave Taxonomy locale empty for US English, or enter a locale such as de-DE.

  2. In Default Google category, search for a word such as clothing and select a category. It is used when a product's categories have no assignment.

    The Default Google category field searching Google's list for "Clothing"

  3. For a more specific assignment, press Assign a category. Choose the Magento category on the left and the Google category on the right. The assignment also covers subcategories unless they have their own.

    The Google categories section: a default category and one Magento category assigned

See Google categories for category priority and copying assignments.

Step 6. Channel: where the feed goes

Unfold Channel.

The Channel section: Channel File, Format XML, File name google-shopping.xml, URL, and Allow an empty feed off

  • Channel: File. No Google account connection is needed in Magento.
  • Format: XML, the RSS file Google's own examples use. Merchant Center reads XML and tab-separated text (TSV), not CSV.
  • File name: google-shopping.xml, or leave it empty to use the identifier and format.
  • URL: appears after saving. Give this address to Merchant Center.
  • Allow an empty feed: leave it off to keep the previous file if a run would publish an empty feed.

For other delivery methods, see Google delivery options.

Step 7. Schedule: when it runs

Unfold Schedule. Choose Every day, hour 03, minute 00.

The Schedule section: every day at 03:00, with the next ten runs listed

Check Next runs: the times use the admin's time zone. Scheduled feeds require a working Magento cron.

Step 8. Save

  1. Press Save at the top right:

    The Save button above the feed form

  2. The page reloads with a green message, and two buttons appear next to Save: Run history and Preview:

    The saved feed: "Feed "google-shopping" saved." and the Run history and Preview buttons

If saving fails, correct the message shown above the form and save again. See Troubleshooting.

Step 9. Run it once

  1. Go back to Arlanix → Feeds, open Select at the end of the row and press Generate:

    The row's Select menu open, with Generate lifted; the feed is never delivered yet

  2. A green message confirms that the feed is queued for the background cron.

    The grid after Generate: "Feed "google-shopping" is queued."

  3. A minute or two later, press Reload on the grid. The row shows the run:

    The grid after the run: Health with the time under it, and the file google-shopping.xml with its size

  • Health shows the result and delivery time. If products were left out, press Details to see why.
  • File is a link to the file, with its size. Click it to download the file.

If the feed stays Never delivered or a yellow message says the cron has not run, ask your developer to check When feeds never run.

Step 10. Look at the result

Download the file from the grid’s File link and check its prices, links and availability. To inspect individual products, use Preview.

Step 11. Give the file to Merchant Center

In Merchant Center go to Settings → Data sources → Add product source → Add products from a file → Enter a link to your file, paste the URL and choose when Google should fetch it. Google fetches a file at most once a day on its schedule. Pick a time after the feed's own schedule, for example 04:00 for a feed that runs at 03:00, so Google always fetches a fresh file.

The feed now updates daily, and Google fetches it on the schedule you chose.