Linux 软件免费装
Banner图

Oli Product Feed

开发者 bigrat95
更新时间 2026年11月27日 00:00
捐献地址: 去捐款
PHP版本: 7.4 及以上
WordPress版本: 7.1
版权: GPLv2 or later
版权网址: 版权信息

标签

woocommerce product feed google merchant center tiktok facebook catalog

下载

0.3.9 0.4.0 0.4.1 0.6.1

详情介绍:

Oli Product Feed builds product feed files for shopping platforms from your WooCommerce catalog. Each feed targets one platform, one language and one currency. Files are generated in the background, in small batches, and their URL never changes, so the platform can fetch them on a schedule. Channels Feeds Generation and serving

安装:

  1. Upload the plugin and activate it (WooCommerce is required).
  2. Go to WooCommerce > Product Feeds and click Add New Feed.
  3. Choose the channel, language, country and currency, then save and generate.
  4. Copy the feed URL into the platform (Merchant Center, Pinterest, Commerce Manager) as a scheduled fetch.

屏幕截图:

  • Feed editor: target, filters and attribute mapping.
  • Settings.

升级注意事项:

0.6.1 Fixes constant resolution in namespaced code and runs the one-time prefix migration on init, after Action Scheduler is ready. 0.6.0 New native admin screens. Feeds, settings and feed URLs are unchanged. 0.5.7 Packaging only: development files are omitted from the distributable ZIP. No functional change. 0.5.6 External services documented. Admin CSS/HTML uses the oliprfe- prefix. Feeds and settings stored under oli_pf_ before 0.3.5 are copied to oliprfe_ on update. 0.5.5 Link parameter values with &, # or a space are now encoded. Parameter keys stay lowercased (sanitize_key). 0.5.4 Maintenance: GitHub links updated. No functional change. 0.5.3 French translations for the whole interface (fr_FR and fr_CA). Falls back from fr_CA to fr_FR when the Canadian catalog is missing. 0.5.2 French translations for the Minimum price and Extra link parameters settings. 0.5.1 Optional per-feed query string on item links. Existing feeds without extra parameters are unchanged. 0.5.0 Optional per-feed minimum price. Existing feeds without a threshold are unchanged. 0.4.0 Backorder availability dates for Google, Bing and Meta, and a TranslatePress language fix so French (Canada) feeds no longer stay in English. 0.3.9 WordPress.org review fixes: no must-use loader, no inline styles, prefixed asset handles. 0.3.8 WordPress.org review fix: admin JavaScript is only loaded through the WordPress enqueue functions. 0.3.7 Adds Donate / support links (Plugins screen, plugin notice, WordPress.org Donate link). 0.3.6 WordPress.org review fixes: Oliprfe namespace, late escaping with wp_kses, safer must-use loader. 0.3.5 WordPress.org compliance: unique oliprfe_ prefix on all globals, posted settings sanitized before storage, automatic translation loading. Reactivate the plugin after updating; feeds and settings saved under the old prefix are not migrated. 0.3.4 Safer output folder change: an unusable folder is refused and the feeds stay online. An output folder that is a symbolic link is no longer used. 0.3.3 Previous output folders and WooCommerce logs cleaned; trashed feeds removed by any path. 0.3.2 Variant color and size by default, trashed feeds no longer served, cleaner uninstall. 0.3.1 WordPress serving: generated files of inactive feeds are served again. 0.3.0 TikTok, Microsoft and generic channels; faster WordPress serving. 0.2.0 Admin screens, Pinterest and Meta channels.

常见问题:

Can I search Google product categories by name?

Yes, if you keep a copy of Google's taxonomy file on your server (download taxonomy-with-ids.en-US.txt or the file of your language, for example fr-FR, from the Google Merchant Center help). Point the plugin to it in a small mu-plugin: add_filter( 'oliprfe_google_taxonomy_file', function () { return WP_CONTENT_DIR . '/taxonomy-with-ids.en-US.txt'; } ); The plugin does not include the file because Google does not publish it with a license that allows redistribution. Without it, the category fields take the numeric ID.

The platform still sees an old version of the feed

Your host or CDN probably caches static files for a long time. In Settings, choose Through WordPress: the feed is then served with a short cache (one hour by default) and validators, and the URL becomes /?oliprfe_feed=<file>.

How do I generate a feed from the command line?

wp oli-feed generate <id> or wp oli-feed generate --all.

How do I make the WordPress serving faster?

The feed is sent while the plugins load, before WooCommerce, from the pre-generated file.

Who can manage the feeds?

Users with the manage_woocommerce capability: administrators and shop managers. Uncheck "Shop managers" in WooCommerce > Product Feeds > Settings to require manage_options (administrators only).

Where are the files?

In wp-content/uploads/oli-product-feed/ by default. The folder can be changed in Settings or with the oliprfe_output_dir filter (return the same folder on every request). When it changes, the feed files move to the new folder and the previous folder is cleaned: only the files the plugin wrote are deleted, and the folder itself only when the plugin created it and nothing else is in it. A folder that cannot be used (a symbolic link or inside one, real path outside the uploads directory, not writable, cannot be created) is refused: the feeds stay where they are, nothing is moved or deleted, and the plugin screens show a notice. A file of the same name that the plugin did not write is never overwritten or deleted: the feed stays in its previous folder until that file is removed.

What is deleted when the plugin is deleted?

The scheduled tasks and their Action Scheduler history are always removed. When Delete all data when the plugin is deleted is checked, the feeds, the settings, the generated files of every output folder the plugin used and its WooCommerce logs (source oli-product-feed) are deleted too. Files and folders the plugin did not write or create are never touched, and no symbolic link is followed. When it is unchecked (default), the feeds, settings, files and logs are kept.

更新日志:

0.6.1 0.6.0 0.5.7 0.5.6 0.5.5 0.5.4 0.5.3 0.5.2 0.5.1 0.5.0 0.4.1 0.4.0 0.3.9 0.3.8 0.3.7 0.3.6 0.3.5 0.3.4 0.3.3 0.3.2 0.3.1 0.3.0 0.2.0 0.1.0