Run and check a feed
On this page

This page is for version 1.0. Read the current version.

Run and check a feed

This page shows how to run a feed yourself, read what a run did, and switch a feed off or delete it. How a run goes, and what happens when one fails, is in How a feed is sent. To hear about a failure without looking, see Get told when a feed fails.

Open Feeds

Click Arlanix in the admin's menu, then Feeds under Product Feed.

The Arlanix menu open, with Feeds lifted

Run it now

  1. In the feed's row, click Select, at the end of the row, then Generate. On an SFTP feed the entry is Deliver to SFTP. A Merchant API feed has no such entry: its products go to Google as they change.

    The row's Select menu open, with Generate lifted

  2. The grid says the feed is queued. There is nothing to confirm: the next cron pass, within a minute on a normal installation, generates the file and uploads it in the background.

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

  3. A minute or two later, reload the grid. The row shows the result:

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

The feed grid says what each column shows.

The same Select menu also has:

The row's Select menu: Edit, Generate, Run history, Delete

Where the file is

A file feed's Channel section shows the file's address as URL, and the grid's File column links to it. The button after the link copies it:

https://your-store/media/arlanix/feeds/google-shopping.csv

Give this address to Google, Meta or any other platform. Every run replaces the file. A run that fails leaves the previous file in place, and so does a run that would leave every product out, so the platform never fetches a broken or an empty file.

Why is a product not in the feed?

Why? in the Health column opens what the feed's last run said, in a panel over the grid:

What the run said: "3 products left out: Material is marked Required…", the explanation, and the button Show the products

Each line about products names a field and how many products it concerned. Under it:

  • what the rule read, and why that came out empty for these products: the attribute the rule reads, the picture role it takes, the price index, the category path, and so on;
  • a button for each thing to do, one under the other.

The line is in the run's own words, for example: 3 products left out: "Material" is marked Required in the mapping and resolved to nothing.

Show the products opens the products of its line: every product the last run left out for it, or the first 1,000 it sent with the warning. Each comes with everything the run said against it, and Left Out says whether the product went out at all. The line's count includes every product, past the first 1,000 too.

The products with issues: ID, SKU, name, Left Out and the Reason

The products are as that run recorded them: a change to the feed's conditions since shows on the next run.

The buttons with an arrow open the feed's mapping, or the dictionary a rule goes through, in a new tab: Add a truncate modifier …, Map the field through a dictionary, Open the dictionary ….

The feed's form gives the same answer. A feed whose last run left products out opens with a yellow message saying how many, and a feed that delivered nothing opens with a red one. Why? at the end of the message opens the same panel, over the form.

A product out of stock is in no feed at all while Display Out of Stock Products is off, and no run mentions it: see Stock status.

The feed's run history

Why? shows the last run. Run history shows every run the feed had. It is in the row's Select menu in the grid, and a button on the feed's form:

The row's Select menu open, with Run history lifted

The runs open in a panel over the page. Each row shows:

  • what started the run: the cron or the command line;
  • how it ended;
  • how many products it processed, changed, added, removed, left out and failed;
  • how long it took, and when.

The Run history panel over the grid: a row per run, with Details at its end

Details on a run opens what it said, as Why? does for the last one. Only the last run has Show the products, because the products left out are kept for that run alone. An older run's line says The products are kept for the feed's last run only. in its place, and keeps its other buttons. Reload in the panel reads the runs again, so you can watch a run in progress.

Preview a product

  1. In the feed's row, click Select, then Edit.

  2. Click Preview, at the top of the feed's page.

    The feed's page: Back, Run history, Preview and Save at the top

A panel shows the rows of the first five products exactly as they will be written, after dictionaries and modifiers. Under a row:

  • Left out names the field marked Required that the product has nothing for. That row is not in the output.
  • Warning names what the feed type expects instead. The row is written all the same.

The Preview panel: five products with every mapped field

To see particular products, type one or more SKUs or product ids into SKUs or product IDs, such as 24-MB01 MH01-L-Black, and press Preview. A SKU is found whatever its case. A product that is not in the feed is named back:

The Preview panel answering "Not in this feed: MH01-L-Black. Its conditions or its stock setting leave them out, or the catalogue has not been rebuilt since."

  • Not in this feed: the product exists, but the feed's conditions or stock setting leave it out, or the store view has not been built since the product changed. Here MH01-L-Black is a configurable child, Not Visible Individually, and the feed's condition asks for Catalog, Search.
  • Not found in the catalogue: there is no such SKU or id.
  • is being built: the catalogue the feeds are mapped from is being built. Try again in a few minutes.

After you save new conditions, the feed takes its products anew when it is next sent. Until then, Preview applies the new conditions to the products it shows, and says so above the rows. The first products then come from the first 20,000 of the store view, and a product you name is judged by the conditions as they are now.

Switch a feed off

To stop a feed without losing it, open it, turn off Active in its General section, and save. The cron then leaves it alone: nothing is published or sent, and what it already published stays where it is. The grid's Health says Switched off, and Generate answers that the feed is switched off.

To start it again, turn Active back on and save.

Delete a feed

In the grid, open the row's Select menu and choose Delete. It asks first:

Delete "google-shopping"? Its mapping, delivery state and run history go with it. The store's stored rows and any published files are left where they are.

After the delete, a message says what the feed left behind: a file feed's published file stays at its address, and a Merchant API feed's products stay in Merchant Center. Remove the feed in the platform too, so it stops reading the old file or showing the old products. When you delete a feed has both messages.

When something is wrong, Troubleshooting says what each message means and what to do.