Skip to content

Implements allergen tagging for PrestaShop products with support for multilingual labeling, pack inheritance, and visual front-end display, following EU Regulation 1169/2011 on food information.

License

Notifications You must be signed in to change notification settings

mhonty/AllergenModulePsForEU

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

1 Commit
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

AlergenosPresta

AlergenosPresta is a PrestaShop module that allows food-related stores to assign and display allergen information per product, complying with EU Regulation 1169/2011 on food labeling.

๐Ÿงพ Purpose

European law requires that customers be informed about the presence of 14 mandatory allergens in food products. This module helps you comply by assigning allergens to each product and displaying them clearly in the front office.

๐Ÿ”ง Features

  • Assign one or more allergens to each product
  • Supports the 14 mandatory EU allergens
  • Displays allergen icons and names on the product page
  • Inherits allergens from products in a pack (for bundle products)
  • Back office integration via Symfony product form modifier
  • Lightweight and multilingual
  • Optional data removal on uninstall

๐Ÿ“ฆ Installation

  1. Download or clone this repository
  2. Zip the folder as alergenos.zip (make sure the folder alergenos/ is at the root)
  3. Upload the module via PrestaShop Back Office > Modules > Module Manager > Upload a module
  4. Install it as any other module

๐Ÿ“ Requires PrestaShop 8.x โ€“ Compatible with PHP 7.4, 8.0, 8.1

๐Ÿš€ Usage

  1. Go to any product in the Back Office
  2. You'll see a new Allergens section in the product form
  3. Select relevant allergens (checkboxes)
  4. Save. The icons will be shown on the product page automatically.

For pack products, the allergen list is generated based on the included products and cannot be edited manually.

๐ŸŒ Translations

The module includes translations for all major EU languages:

  • ๐Ÿ‡ฌ๐Ÿ‡ง English, ๐Ÿ‡ช๐Ÿ‡ธ Spanish, ๐Ÿ‡ซ๐Ÿ‡ท French, ๐Ÿ‡ฉ๐Ÿ‡ช German, ๐Ÿ‡ฎ๐Ÿ‡น Italian, ๐Ÿ‡ต๐Ÿ‡น Portuguese, ๐Ÿ‡ณ๐Ÿ‡ฑ Dutch
  • ๐Ÿ‡ท๐Ÿ‡ด Romanian, ๐Ÿ‡ญ๐Ÿ‡บ Hungarian, ๐Ÿ‡ต๐Ÿ‡ฑ Polish, ๐Ÿ‡ธ๐Ÿ‡ช Swedish, ๐Ÿ‡ฌ๐Ÿ‡ท Greek, ๐Ÿ‡ง๐Ÿ‡ฌ Bulgarian
  • ๐Ÿ‡จ๐Ÿ‡ฟ Czech, ๐Ÿ‡ฉ๐Ÿ‡ฐ Danish, ๐Ÿ‡ธ๐Ÿ‡ฐ Slovak, ๐Ÿ‡ธ๐Ÿ‡ฎ Slovenian

Allergen names and module strings are translatable via the built-in PrestaShop translation interface.

๐Ÿค Contributing

Pull requests and suggestions are welcome! If you want to help add new features or improve translations, feel free to fork the project.

๐Ÿ“„ License

This project is licensed under the GNU GPL v3 License.


๐Ÿ›  Developed by Pedro Montalvo
๐Ÿ“ฌ Contact: github.com/mhonty

About

Implements allergen tagging for PrestaShop products with support for multilingual labeling, pack inheritance, and visual front-end display, following EU Regulation 1169/2011 on food information.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published