Skip to content

Installation

Overview · Configuration · Usage · Developer notes · FAQ

  • CS-Cart or CS-Cart Multi-Vendor 4.17.2 – 4.22.x (tested on CS-Cart Ultimate 4.17.2 with PHP 8.1, Multi-Vendor 4.17.2 with PHP 8.1 and Multi-Vendor 4.21.2 with PHP 8.3).
  • PHP 7.2.5 – 8.3 as supported by your CS-Cart version. The zlib extension is needed for gzip-compressed feeds (it is part of almost every PHP build).
  • A cron job (server cron or an external cron service) for scheduled generation.

Bought on cs-cart.kaviolabs.com: sign in and open My licenses. Each add-on has its own row with the license key, the licensed domain and Downloads with the archive kv_multichannel_feeds-<version>.zip (one row per add-on also when you bought a package or kit). Bought as a guest? Create an account (or sign in) with the e-mail address of the order and open the confirmation link that is e-mailed to you; the purchase then appears under My licenses. Bought on the CS-Cart Marketplace: download the archive from your Marketplace account; the Marketplace license number works as the license key.

  1. Go to Add-ons → Manage add-ons and click the + (upload) button.
  2. Upload kv_multichannel_feeds-<version>.zip.
  3. Click Install. The add-on is active right away.
  4. Open the add-on, enter your license key on the License tab and click Save (see License).

The add-on creates its tables, a random cron key and a protected directory for the feed files (var/files/kv_multichannel_feeds/, not reachable from the web).

CS-Cart Ultimate: one license covers every storefront of the installation. The licensed domain is the store’s main domain without www.; www. and other subdomains of that domain are included, so www.example.com and shop.example.com run on a license for example.com.

Feeds with a schedule are regenerated by the cron command. Add it to the server cron, for example every 15 minutes:

*/15 * * * * php /home/yourstore/public_html/admin.php --dispatch=kv_multichannel_feeds.cron

The exact command for your store is shown on Settings → General of the add-on and on the Delivery tab of every feed. The console run continues generations that are in progress and starts the feeds whose schedule is due.

Without shell access, call the cron URL (also shown in the settings) from an external cron service. Each call runs for the step time of the settings (20 seconds by default); a large feed is finished over the next calls.

Options: --feed_id=N generates one feed now, --force=Y generates every active feed, --budget=SECONDS limits the run time of a console call.

Upload the new zip in Add-ons → Manage add-ons over the installed add-on. Feeds, mappings and settings are kept; new settings and language variables are added automatically on the next admin page view.

Add-ons → Manage add-ons → Multichannel Product Feeds → Uninstall removes the feeds, the category mapping, the validation reports, the settings, the language variables and the generated feed files. Remove the cron job too. Your products and categories are not changed.