ESP Feed – Product Feed for WooCommerce

Description

ESP Feed builds XML, CSV, TSV, TXT and JSON product feeds from WooCommerce and keeps them up to date on a schedule.

  • 90+ merchant templates, plus a custom template.
  • Field mapping with prefixes, suffixes and output types.
  • Variation handling: all variations, parents only or both.
  • Category mapping to Google and Facebook taxonomies.
  • Scheduled updates from every 5 minutes to weekly.
  • FTP and SFTP delivery.

External services

ESP Feed contacts the services below only when you turn the related feature on. It does not send anything to the plugin’s authors.

Google and Facebook product taxonomies

Category mapping ships with copies of Google’s and Facebook’s product category lists. When you click “Download the latest list” on a category mapping, the plugin downloads the current list from https://www.google.com/basepages/producttype/taxonomy-with-ids.en-US.txt or https://www.facebook.com/products/categories/en_US.txt. Only a standard web request is made; no store data is sent.
Google: https://policies.google.com/terms — https://policies.google.com/privacy
Meta: https://www.facebook.com/legal/terms — https://www.facebook.com/privacy/policy/

FTP and SFTP delivery

When you set up delivery on a feed, the generated feed file is uploaded to the server you enter, with the user name and password you provide. Nothing is uploaded unless you set this up.

Channel specification links

The feed editor shows a link to each channel’s own feed specification (for example Google, Walmart or Skroutz developer documentation). These are ordinary links that open in your browser when you click them; the plugin never requests these pages or sends data to them.

Development

The human-readable source code of ESP Feed is included in this plugin. No external repository is needed to read, modify or rebuild it.

Source and compiled files

  • The admin app in App/Admin/UI/build/ (index.js, index.css, index-rtl.css, index.asset.php and the screen chunks editor.js, mappings.js, setup.js and system.js) is compiled from App/Admin/UI/src/.
  • All PHP files, and the channel data and taxonomy files, are shipped as they are, unminified.
  • The build tools are configured in package.json, package-lock.json, webpack.config.js, tailwind.config.js and postcss.config.js.

How to build

You need Node.js 20 or later and npm. From the plugin folder:

  1. Run npm ci to install the locked dependencies.
  2. Run npm run build to regenerate the files in App/Admin/UI/build/.

During development, npm run start rebuilds on every change. To create an installable zip in release/, run npm run release (from the full source repository, which also contains bin/release.js).

Third-party libraries

React, ReactDOM and the @wordpress packages are not bundled; the admin app uses the copies that ship with WordPress. The compiled admin app includes these libraries, all under the GPL-compatible MIT license:

  • Redux Toolkit 2.14.0, with Redux 5.0.1, Redux Thunk 3.1.0, Reselect 5.3.0 and Immer 11.2.10: https://github.com/reduxjs/redux-toolkit
  • React Redux 9.3.1: https://github.com/reduxjs/react-redux
  • use-sync-external-store 1.7.0 (part of React): https://github.com/facebook/react
  • React Toastify 11.2.0, with clsx 2.1.1: https://github.com/fkhadra/react-toastify

It is built with @wordpress/scripts (GPL-2.0-or-later, webpack): https://github.com/WordPress/gutenberg/tree/trunk/packages/scripts, and its styles with Tailwind CSS (MIT): https://github.com/tailwindlabs/tailwindcss

Installation

  1. Upload the esp-feed-for-woocommerce folder to /wp-content/plugins/.
  2. Activate the plugin through the Plugins screen. WooCommerce must be active.
  3. Open ESP Feed in the admin menu and follow the setup wizard.

FAQ

Do automatic feed updates need WP-Cron?

Yes. Feeds update in the background through WooCommerce’s Action Scheduler, which is started by WP-Cron. With WordPress’s default WP-Cron, each update runs at the first page visit after it is due, so on a site with few visitors updates can run late.

For updates on time, turn off WP-Cron’s page-visit trigger and run it from your server every minute:

  1. Add define( 'DISABLE_WP_CRON', true ); to wp-config.php.
  2. Add a server cron job (most hosts offer “Cron jobs” in their control panel): * * * * * curl -s "https://example.com/wp-cron.php?doing_wp_cron" >/dev/null 2>&1, or with WP-CLI: * * * * * cd /path/to/wordpress && wp cron event run --due-now --quiet.

If WP-Cron is disabled and nothing runs the background tasks, ESP Feed shows a warning, and ESP Feed › Status & logs lists how many tasks are overdue.

How do I check that automatic updates are running?

Open WooCommerce › Status › Scheduled Actions, choose Pending and search for espf_recurring_generation: each feed with auto-update on has one entry, due at its next update. After it runs, the feed’s Last generated time changes and its log (Status & logs › Feed log) shows “Generation started (schedule)”.

Reviews

There are no reviews for this plugin.

Contributors & Developers

“ESP Feed – Product Feed for WooCommerce” is open source software. The following people have contributed to this plugin.

Contributors

Changelog

1.0.0

  • Initial release.