Skip to content

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

 
 
 

Contributors