Linux 软件免费装
Banner图

Inference Works – Search for WooCommerce

开发者 GrzegorzK
更新时间 2026年11月19日 20:39
PHP版本: 7.4 及以上
WordPress版本: 7.1
版权: GPLv2 or later
版权网址: 版权信息

标签

woocommerce ajax search live search product search polish

下载

0.3.9 0.3.4 0.3.5 0.3.10 0.3.8

详情介绍:

Requires WooCommerce 8.0 or later. Inference Search replaces the theme's search field with a full-screen search overlay. Customers see popular searches and recommended products before typing, and matching products while they type. The search index is a set of tables in your own WordPress database. No search query, product or visitor data is sent to any external service. Search that understands customers The overlay Results page "See all results" and Enter open the normal WooCommerce search results page, ranked by the same engine. The theme's template, filters, sorting and pagination keep working. Search insights Block and shortcode The "Product search" block and the [inference_search] shortcode add a search button that opens the overlay. Existing theme search fields are taken over automatically.

安装:

  1. Install and activate WooCommerce.
  2. Install and activate Inference Works – Search for WooCommerce.
  3. The search index is built in the background right after activation. You can follow it under Inference Works → Search → Index. Later product changes are indexed automatically.
  4. Open your shop and click the search field.
The background jobs use Action Scheduler, which comes with WooCommerce. On sites where WP-Cron does not run, use wp infs reindex instead.

屏幕截图:

  • Live results while typing, with a category suggestion.
  • Typo correction.
  • Overlay on a phone.
  • Search insights with the zero-result rate and anonymous query counters.
  • Settings.

升级注意事项:

0.3.10 Fewer background jobs on stores with frequent product updates. 0.3.9 Uninstall now removes only the plugin's own data by exact name; recommended for all sites. 0.3.4 Addresses the WordPress.org review feedback for styles and translation loading. 0.3.3 Fixes Plugin Check text-domain errors for the final Freemius plugin directory. 0.3.2 Aligns the Freemius product identifiers. The Free package must use the inference-search directory. 0.3.1 Fixes the order of tied synonym suggestions on PHP 7.4 in Pro. 0.2.1 Settings changes now show up in the shop without clearing the page cache by hand. 0.2.0 First feature-complete version. The search index is built automatically in the background after updating.

常见问题:

Does it send my data anywhere?

No. Indexing, searching and statistics run in your WordPress database and are never sent anywhere. The WordPress.org Free edition does not include the Freemius SDK and does not send site or administrator data to Freemius. The separately distributed Pro edition uses Freemius for licensing and updates; its opt-in screen explains the data involved and links to the Freemius privacy policy. Inference Works publishes its Terms of Service and Privacy Policy. These documents include the terms and privacy information applicable to Inference Works plugins. Another exception is voice search, which is off by default. When you turn it on, speech is recognized by the visitor's browser. Some browsers, for example Chrome, send the recording to their maker's servers to do that. The plugin itself never receives or stores audio.

Is there a Pro version?

Yes. Inference Search Pro adds merchandising rules per search phrase, a revenue from search report, a weekly report email with synonym suggestions, and more filters (attributes, brands, tags, stock statuses). The free version is complete and does not need it. The "Pro" tab on the plugin's page describes it and links to plans and pricing.

What is stored about visitors?

Only anonymous counters per search phrase: how many times it was searched, how many times it found nothing and how many result clicks it got. No IP addresses, user accounts or sessions are stored. For rate limiting, a salted hash of the visitor's IP address is kept in a transient for one minute. Daily figures are deleted after 90 days.

My theme's search field is not taken over.

Add its CSS selector under Settings → Search fields → Additional fields. The fields input[name="s"], .search-field and .woocommerce-product-search input are always included. Any element with the data-infs-open attribute opens the overlay. Add data-infs-ignore to a field or one of its parents to keep it out.

How do I change the look?

Pick the accent color in the settings. The theme can also set the CSS variables --infs-accent, --infs-radius, --infs-font, --infs-bg, --infs-text, --infs-muted, --infs-border, --infs-hover and --infs-sale.

Does it work with page caching?

Yes. The search endpoints are public REST routes without nonces, so cached pages keep working. Their responses are cached for 10 minutes and invalidated when products or settings change.

Is my shop behind a proxy such as Cloudflare?

The statistics endpoint limits each visitor to 60 events per minute by IP address. Behind a proxy that hides visitor IPs, use the infs_log_client filter to read the trusted header.

Is there a WP-CLI command?

wp infs reindex, wp infs reindex --async, wp infs status and wp infs index <product-id>....

更新日志:

0.3.10 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.2 0.2.1 0.2.0 0.1.1