Product Feed documentation
For the developer who installs and looks after the module. Feeds themselves are made in the admin by the store; the manual is written for them, and links here where a developer is needed.
Requirements
- Magento Open Source 2.4.7 or later. Not Adobe Commerce: it keeps a product's variations and attribute values by
row_id, which the feed's queries do not read. - PHP 8.1 to 8.5, with
zip,xmlwriterandmbstring. - A working Magento cron. Feeds are built and delivered by it; without it nothing runs on its own.
- For the File channel,
pub/media/arlanix/feeds/reachable from the internet without a login and not cached by Varnish or a CDN: the platforms fetch the files from there. See Varnish and a CDN. - Outbound HTTPS to
www.google.com, for Google's product categories: the category search fetches them in the feed's Taxonomy locale and keeps them for a day. Without it, the search falls back to theen-USlist bundled with the module. - For the SFTP channel, outbound SFTP to the server's port.
- For the Google Merchant Center (API) channel, outbound HTTPS to
merchantapi.googleapis.comandoauth2.googleapis.com.
Packages
arlanix/product-feed is a metapackage, sold on Adobe Commerce Marketplace. It installs every module in the following table at matching versions:
| Package | Module | Purpose |
|---|---|---|
arlanix/module-core |
Arlanix_Core |
Shared by every Arlanix module: logging and the support bundle. |
arlanix/module-feed |
Arlanix_Feed |
Feeds, field mapping, dictionaries, Google categories, the built feed data and the delivery channels; the field catalogs of Google Shopping, Meta, TikTok, Pinterest, Snapchat and Microsoft, and the dictionaries they map to. |
arlanix/module-feed-google-merchant |
Arlanix_FeedGoogleMerchant |
Merchant Center accounts and data sources, and the Merchant API channel. |
arlanix/module-feed-sftp |
Arlanix_FeedSftp |
SFTP delivery, by password or private key. |
arlanix/module-feed-inventory |
Arlanix_FeedInventory |
Multi Source Inventory: a feed picks the sources its stock is counted from. Stands aside on a store with MSI switched off. |
How a feed runs
- Build. The catalogue of every store view a feed uses is read into the module's own tables by Magento's indexer, Arlanix Feed Products. Its changelog follows product and category changes, so after the first full build only changed products are read again. Prices and stock are not kept in the catalogue: they are read as a feed is delivered, and Arlanix Feed Prices and Stock tells a feed sent row by row when they change.
- Map. A feed that is due, by its schedule or by Generate, maps the built products through its fields, dictionaries and modifiers into rows. A product with nothing in a field the mapping marks Required, one a dictionary excludes, and one a project's row transformer drops are left out. A run in which every product is left out publishes nothing, unless the feed allows an empty feed. What the feed type's catalog finds beyond that, such as a value it does not list, a text over its length or a required field with no rule, is a warning, and the row goes anyway.
- Deliver. A file or SFTP feed writes the rows as a file, and publishes it under
pub/media/arlanix/feeds/or uploads it by SFTP. A Merchant API feed maps a product when the indexer records a change to it, and pushes the products whose row changed since they were sent, one by one.
The build is Magento's indexer cron; mapping and delivery are one job, arlanix_feed_deliver. Cron and command line lists them, and how to run the same steps by hand.
Pages
- Install: Composer, the upgrade, Multi Source Inventory, admin roles, and the check to hand back to the store.
- Upgrade and remove: moving to a new version, and taking the modules out.
- SFTP delivery: the connection form, key authentication, refused connections, the upload, transfer limits and host-key fingerprints.
- Google Merchant Center: the service account and the Merchant API channel.
- Cron and command line: the jobs and indexers, checking them,
arlanix:feed:generate, and where the files are. - Configuration: every setting, its default and admin field, and the events the feed gives Arlanix Notifications.
- Troubleshooting: feeds that never run, the log, the command line's messages, refused deliveries, your own extensions' errors.
- Extend the module: your own code in a feed, and which extension point fits:
- Field catalogs: a platform's fields, in
etc/feed_catalog.xml. - Resolvers: a computed source for the mapping.
- Modifiers: a step that changes a value on its way out.
- Writers: a file format.
- Channels: a destination, for a file or for products one by one.
- Row transformers: change, leave out or split a feed's rows.
- Field catalogs: a platform's fields, in
- The support bundle is downloaded from the admin, without SSH.