About this plugin
This plugin add allergens to each product in your store.
Features:
* Add allergens to simple and variable products
* Display allergens with customizable icons (Classic or Trece theme)
* Full WPML compatibility – allergens automatically copy to translations
)
* Pure JavaScript system for maximum compatibility (no template overrides)
* Accessibility friendly with proper ARIA labels
* Custom tab in product admin for easy management
* Developer-friendly function for custom themes: treceafw_show_allergens_out()
For Developers:
Use the treceafw_show_allergens_out($product) function to display allergens in your custom theme or plugin:
php
php
if (function_exists('treceafw_show_allergens_out')) {
echo treceafw_show_allergens_out($product);
}
>
WPML Compatibility:
When using WPML, allergen settings are automatically copied to product translations. No need to manually reconfigure allergens for each language – they will be inherited from the original product.
Page Builder Compatibility:
Works seamlessly with modern page builders like Oxygen Builder, Elementor, Bricks, and Divi. Uses pure JavaScript to dynamically inject allergens, avoiding template conflicts.
com.
Credits
com/food-allergen-icons/)
com)