Install
On this page

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

Install

This page is for the developer who installs Product Feed. It takes you from Composer to a delivered test feed, in about half an hour, and ends with what to tell the store owner. Everything after the installation is done in the admin, by the store; the manual is theirs. To upgrade or remove the module later, see Upgrade and remove.

You need Magento 2.4.7 or later, PHP 8.1 to 8.5 and a working cron: the requirements are on the overview.

1. Get access to the package

Product Feed is sold on Adobe Commerce Marketplace and installed from repo.magento.com, like any Marketplace extension. Composer needs the access keys of the Marketplace account that bought it: in Marketplace, My Profile → Access Keys. On an installation that already has Marketplace extensions they are in auth.json and nothing changes; otherwise, run:

composer config --auth http-basic.repo.magento.com PUBLIC_KEY PRIVATE_KEY

Replace PUBLIC_KEY and PRIVATE_KEY with the two keys of that account: the public key is the username, the private key the password.

If the store owner bought the extension, ask them for the keys of their account, or for access to it: keys of an account that has not bought it do not see the package.

2. Add the packages

In the Magento root:

composer require arlanix/product-feed

arlanix/product-feed is a metapackage: it installs every Arlanix feed package at matching versions.

3. Upgrade the installation

In the Magento root, run:

bin/magento setup:upgrade
bin/magento setup:di:compile
bin/magento setup:static-content:deploy -f
bin/magento cache:flush

In developer mode the setup:di:compile and setup:static-content:deploy lines can be left out.

The install puts the feed's indexers on Update by Schedule, once: on Update on Save no product change would reach the feeds, not even one saved in the admin. The indexers says what happens if one is put back.

A store without Multi Source Inventory

Many single-warehouse stores have the Magento_Inventory* modules disabled, or leave them out with Composer's replace. Either needs nothing special: Arlanix_FeedInventory detects it, feeds count stock the single-source way, and the Inventory sources field stays out of the feed form. It also shows a system message at the top of the admin:

Arlanix Feed Inventory is installed, but Multi Source Inventory is switched off (…). Feeds count stock the single-source way and the "Inventory sources" field is hidden. To remove this message, disable the module: bin/magento module:disable Arlanix_FeedInventory.

The message is information, not an error. To remove it, disable the module; nothing else changes:

bin/magento module:disable Arlanix_FeedInventory
bin/magento setup:upgrade

4. Check that the cron runs

The modules add their jobs to the Magento cron, most of them in a group of their own, arlanix_feed. An installation whose cron already works needs no extra setup. Cron and command line lists the jobs and how to check them; the short version, as the Magento file system owner:

crontab -l   # must show a line with bin/magento cron:run

A store on more than one web server keeps pub/media on storage they share, such as NFS, or in S3: the feeds are written there by whichever server runs the cron; see More than one web server.

5. Confirm it works

Before you hand over, make one feed and run it; it takes two minutes:

  1. Make a test feed:
    1. In the admin, go to Arlanix → Feeds and press Add Feed.
    2. Enter install-check in Identifier and choose Google Shopping in Type. Leave the other fields as they are.
    3. In Mapping, choose Google Shopping under Copy from and press Copy.
    4. Press Save.
  2. In the grid, open the row's Select menu and choose Generate.
  3. Within two minutes the row's Health says OK or how many products were left out, with the time of the run under it, and File shows a link. Right after the upgrade, Health first says Catalogue being built under its status while Magento's indexer cron builds the catalogue, or bin/magento indexer:reindex arlanix_feed_product builds it at once. If it still says Never delivered, the cron does not run the arlanix_feed or the index group: see When feeds never run.
  4. If you want, delete the feed.

If there is no Arlanix menu, the modules are not enabled. bin/magento module:status | grep Arlanix lists them; enable the disabled ones and upgrade again:

bin/magento module:enable Arlanix_Core Arlanix_Feed Arlanix_FeedGoogleMerchant Arlanix_FeedSftp Arlanix_FeedInventory
bin/magento setup:upgrade

Give the store's team access

An admin user whose role has access to all resources sees everything the modules add. To give a role only part of it, tick these resources under System → Permissions → User Roles → Role Resources:

Resource Gives
Arlanix The Arlanix menu. The other Arlanix resources need it.
Arlanix → Feeds The feed grid and form, running a feed and Preview. With Stores → Settings → Configuration, also the Feeds section of the configuration.
Arlanix → Google Categories The category searches in a feed's Google categories section.
Arlanix → Dictionaries Arlanix → Dictionaries, and the pencil and + next to a mapping row's dictionary.
Arlanix → Google Accounts Arlanix → Google Accounts, and the icons next to a feed's Google account.
Arlanix → SFTP Connections Arlanix → SFTP Connections, and the icons next to a feed's SFTP connection.
Stores → Settings → Configuration → Arlanix Logging The Logging section of the configuration.
Stores → Settings → Configuration → Arlanix Support The Support section of the configuration, and the support bundle.

A marketing team that makes and runs feeds needs Arlanix, Feeds, Google Categories and Dictionaries. Connecting Google accounts and SFTP servers involves credentials, so you may keep those two for yourself.

What it adds to the store

Nothing on the storefront: the modules have no frontend code, layout or theme files. In the back end they add:

  • the Arlanix admin menu, and Stores → Configuration → Arlanix, with the sections Feeds, Logging and Support;
  • database tables named arlanix_feed_* and arlanix_gmc_*;
  • four indexers, Arlanix Feed Products, Arlanix Feed Categories, Arlanix Feed Prices and Stock and, from Arlanix_FeedInventory, Arlanix Feed Inventory Sources, which follow catalogue changes so a feed rebuilds only what changed. They belong on schedule, see The indexers;
  • cron jobs, in the default group and in their own arlanix_feed group;
  • the published feed files, under pub/media/arlanix/feeds/;
  • their log, var/log/arlanix.log.

In Stores → Configuration, the Arlanix tab lists the three sections:

The section list of Stores → Configuration, with the Arlanix tab open on Feeds, Logging and Support