跳到内容

Allergen Exclusion Filter for WooCommerce

v1.3.0

TecnologiaPa'Todos · 2026年1月12日 上架

Filter WooCommerce products by excluding ingredients and allergens. Fully customizable, accessible and HPOS-compatible.

正在使用
10 以下
评分
暂无
累计下载
632
最近更新
2026年7月6日
需要 WordPress 5.8+已测试到 7.0.9PHP 7.4+

截图

Assigning allergens (like milk or wheat) to a product using the admin meta box.
Assigning allergens (like milk or wheat) to a product using the admin meta box.
The unified admin page with "Usage" and "Settings" tabs.
The unified admin page with "Usage" and "Settings" tabs.
The settings page: display mode, custom texts, appearance (colors and widths) and search engine options.
The settings page: display mode, custom texts, appearance (colors and widths) and search engine options.
The Block mode on the frontend: full card with title, description and search form.
The Block mode on the frontend: full card with title, description and search form.

Allergen Exclusion Filter for WooCommerce allows your customers to filter the product catalog by excluding specific ingredients or allergens they want to avoid. Ideal for food stores, bakeries, pharmacies, herbalists and any shop that needs to guarantee safe products for people with allergies or dietary restrictions.

Main Features

  • Three display modes: Simple bar, full Block card, and Compact bar for headers and sidebars.
  • Fully customizable: Editable title, description, placeholder, button text, background color, button color and bar width.
  • AJAX autocomplete: Live suggestions while typing, with keyboard navigation (WAI-ARIA combobox pattern).
  • Tag-style interface: Selected allergens become removable pills.
  • Direct redirection mode: The Compact mode redirects to the shop page without AJAX, keeping layouts clean.
  • Icon or text button: Use a magnifying glass icon or custom text in any mode.
  • Multiple instances: Place several shortcodes on the same page (e.g. compact in the header and simple in the body), they work independently.
  • WCAG 2.1 accessibility: role=”combobox”, aria-expanded, aria-controls, aria-activedescendant, aria-live, keyboard navigation.
  • Security first: Nonces, sanitization, escaping, capability checks, rate limiting on autocomplete, defense in depth on colors.
  • HPOS compatible: Uses the native wc_get_products() API for future-proof WooCommerce compatibility.
  • Performance: Transient-based caching for autocomplete, automatic cache invalidation on term changes.
  • WooCommerce dependency check: Graceful admin notice if WooCommerce is not active.

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums