PS PrestaShop Beginner

Toy Safety / CE & Age Warnings — Complete Guide

Install, configure and use the display of CE markings, safety warnings and age restrictions on your toy pages for PrestaShop 8 and 9.

Updated Module version 1.0.0

Overview

The Toy Safety / CE & Age Warnings module displays on your product pages the compliance notices that apply to toys: the CE marking, the “0-3” pictogram, a recommended minimum age and the safety warnings from Annex V of Directive 2009/48/EC and the EN 71 standard. Everything is configured product by product from a dedicated tab, with no code.

The module is compatible with PrestaShop 8 and 9, in single- and multi-shop setups, and the standard warnings are provided in five languages (FR, EN, ES, DE, IT).

Compatibility and requirements

  • PrestaShop 8.0 to 9.x
  • PHP 7.4 minimum (compatible with 8.0 to 8.3)
  • MySQL 5.7+ or MariaDB 10.3+
  • Multi-shop and multilingual compatible

Installation

  1. In the back office, open Modules → Module Manager.
  2. Click Upload a module and drop the module ZIP archive.
  3. Once installation is complete, click Configure.

On installation, the module creates its two tables (ps_dftoysafety_product and ps_dftoysafety_product_lang) and registers its display hooks.

General configuration

The module configuration page controls how the block is displayed across the whole shop.

Display position

Choose where the block appears on the product page:

  • Under the add-to-cart area (recommended position), via the displayProductAdditionalInfo hook.
  • Below the product images, via the displayAfterProductThumbs hook.

Block heading

The Show heading option adds a “Safety & compliance” header above the block. Turn it off for a more discreet display.

Collapsible block

Enable Collapsible block to present the warnings inside an expandable panel, useful to keep the product page clean.

Configuring a product

Open a product, then the Modules tab of the product page: the Toy Safety / CE & Age Warnings panel appears there.

Enable the block

The Enable safety block switch controls the front-office display for that product. While it is off, nothing shows on the storefront.

CE marking

Enable Show CE marking to present the CE pictogram together with a short conformity statement.

0-3 pictogram

Enable Show 0-3 pictogram for the “not suitable for children under 3 years” symbol.

Enter the minimum age as free text (for example “3 years” or “6 months”). It is shown as a pill.

Standard warnings

Tick the Annex V warnings that apply to that toy. A preview of the text in the current language is shown under each label.

Custom warning

A free-text field per language lets you add a specific notice, shown below the standard warnings.

Save the product page to apply the changes.

The warning library (Annex V)

The module ships the most common standard warnings, translated into five languages:

  • Small parts — choking hazard (not suitable under 36 months)
  • Not suitable for children under 36 months
  • Functional toy — adult supervision
  • Activity toy — domestic use
  • Aquatic toy — shallow water and supervision
  • Skates and skateboards — wear protective equipment
  • Imitation masks and helmets — does not provide protection
  • Toy to be strung across a cot — remove when the child starts to get up
  • Balloons — choking hazard (under 8 years)
  • Chemical toy — adult supervision

The texts show automatically in the shop language, with an English fallback when the language is not covered.

Front-office display

On the product page, the block gathers, according to your settings: the CE badge and its statement, the 0-3 pictogram, the minimum-age pill, the list of selected warnings and the optional custom warning. The CE and 0-3 pictograms are self-hosted SVG files that inherit your theme color; no CDN, external font or cookie is used.

Compliance dashboard

The module configuration page summarizes the products for which the block is enabled, with for each one the status of the CE marking, the 0-3 pictogram, the minimum age and the number of warnings. A direct link opens the relevant product page to complete it.

Multilingual

The standard warnings are resolved from the active shop language (FR, EN, ES, DE, IT), with an English fallback. Rendering is identical under PrestaShop 8 and 9 and relies on no external translation resource. The custom warning is entered language by language.

Uninstallation

Uninstalling cleanly removes the module tables and all the per-product safety data, and unregisters the hooks.

The warning texts provided are an aid to compliance. It is up to you to verify that each notice matches the toy concerned and its certification, with regard to Directive 2009/48/EC and the applicable harmonised standard (EN 71).

FAQ

The block does not show on the storefront, why?

Check that the block is enabled on the product (Modules tab of the product page) and that at least one notice is filled in. Also check the display position chosen in the module configuration and its compatibility with your theme.

Can I edit the text of a warning?

The standard texts cannot be edited individually, but you can add a custom warning per language to complete or clarify a notice.

Is the module compatible with PrestaShop 9?

Yes, the module is compatible with PrestaShop 8.x and 9.x, in single- and multi-shop setups.

Was this page helpful?

Still stuck? Contact support