1. What this module does

Show GPSR manufacturer, EU responsible person and safety information on every product page. The module keeps the e-mail and website of each brand, your responsible persons in the EU, warnings by brand, category and product, and safety documents, and prints them in a "Product safety" section of the product page. A report lists what is still missing. It helps you meet the information requirements of the General Product Safety Regulation (EU) 2023/988.

Works with PrestaShop 1.7.8, 8.x and 9.x (PHP 7.2.5 or newer), with the Classic and Hummingbird themes and with multistore.

2. Installation

  1. Download the module from My account → Order history at addonspresta.com.
  2. In your Back Office, open Modules → Module Manager and click Upload a module.
  3. Drop the ap_gpsr_v1.0.0.zip file and wait for the confirmation.
  4. Click Configure on the module card.

If you have shell access, you can also unpack the zip into modules/ and run php bin/console prestashop:module install ap_gpsr from the shop folder.

Right after the installation the section is shown in the product tabs. Products whose brand already has an address in PrestaShop show that address as the manufacturer at once; everything else is still empty. For a new shop, this order of work is the quickest:

  1. Enter the address of every brand in PrestaShop: Catalog → Brands & Suppliers, list Addresses below the brands, button Add new brand address.
  2. Add the responsible persons in the EU of the manufacturers that are established outside the EU (section Responsible persons).
  3. Set the e-mail, the website and the responsible person of each brand (section Brands).
  4. Write the warnings and safety information (section Safety information), first by brand or category, then the exceptions by product.
  5. Upload the safety documents in Catalog → Files and assign them to brands or categories (section Documents).
  6. Open Missing data and work through its lists until nothing important is left.

For many brands, steps 2 and 3 are faster with the CSV files of Import / export.

3. How it works

What the regulation asks. Since 13 December 2024 the General Product Safety Regulation (EU) 2023/988 requires every online offer of a consumer product to show:

  • the name of the manufacturer and its postal and electronic address;
  • when the manufacturer is established outside the European Union, the name and the postal and electronic address of the person responsible for the product in the EU (an importer, an authorised representative or a fulfilment service provider);
  • the warnings and safety information of the product, in a language the customer understands.

The module keeps this data and shows it next to each product. It helps you meet the requirement, but it is not legal advice and it does not judge whether a product or its texts comply: what you enter is what the customer sees.

Where the data comes from.

  • Manufacturer — the brand of the product. The postal address is the first address of the brand in PrestaShop (Catalog → Brands & Suppliers → Addresses): street, postcode, city, country and phone. When the address has a company name, that name is shown instead of the brand name. The e-mail and the website are set in the module. A brand without an address, e-mail and website shows no manufacturer.
  • Products without a brand show the responsible person chosen in Manufacturer of products without a brand as their manufacturer, for shops that sell their own products. They never show a responsible person.
  • Responsible person in the EU — the person assigned to the brand in the module.
  • Warnings and safety information — one text, taken from the product, its category or its brand (see "Safety information" in the next chapter).
  • Documents — PrestaShop files (attachments) assigned in the module to the brand and to the default category of the product or one of its parent categories.

What the visitor sees. A "Product safety" section with up to four parts: Manufacturer and Responsible person in the EU side by side (one below the other on a phone), then Warnings and safety information and Documents. Each address shows the name, street, postcode and city, country, e-mail (a link that opens the visitor's mail program), phone and website (a link that opens in a new tab). Documents are links that download the file. A part without data is left out, and a product without any safety data shows no section and no empty tab. The section uses the fonts and colours of your theme and needs no JavaScript.

What the module changes. It keeps its data in its own tables and only reads the brands, addresses, categories, products, files and countries of PrestaShop, without changing them. When you delete a brand, a category, a product or a file in PrestaShop, the module removes its own entries for it. It writes no files, sets no cookies and does not connect to addonspresta.com or any other server: nothing you enter is sent anywhere.

4. Features and settings

Open Modules → Module Manager → GPSR Product Safety → Configure. The Help box at the top links this manual and the module page at addonspresta.com in the language of your Back Office, gives our support address and shows the installed version. Below it, a row of links opens the seven sections of the page: Settings, Brands, Responsible persons, Safety information, Documents, Import / export and Missing data. Lists show 50 rows per page.

Settings

The three settings are saved for the shop selected in the Back Office header (see "Multistore"). Click Save to apply them.

Where the safety section is shown

  • In the product tabs (default) — a "Product safety" tab next to the description and the product details.
  • Below the product, across the page — the section with its heading at the bottom of the product page, across its whole width.
  • In the product column, below the buttons — next to the pictures, below the add to cart button. Not in quick view.
  • Nowhere (widget only) — the module prints nothing by itself; your theme shows the section with the widget.

For the widget, a theme developer adds {widget name='ap_gpsr' product=$product} to a product template. It prints the whole section with its heading, whatever this setting says, so choose Nowhere (widget only) when you use it, or the section appears twice. The module's small stylesheet is loaded on product pages only.

Manufacturer of products without a brand

For shops that sell their own products: products without a brand show the person chosen here as their manufacturer. Create an entry with your company's data in Responsible persons first, then choose it here. None (default) shows no manufacturer for such products.

Send safety information to PriceWars feeds

For the module PriceWars - Product Feeds up to version 1.1: the offers of its feeds receive the safety text of the product, on one line. Manufacturer and responsible person in those feeds stay the ones PriceWars takes from its own data. PriceWars 1.2 and later read the manufacturer, the responsible person and the safety text from this module themselves, according to their own setting, and this switch then has no effect. Without PriceWars it does nothing. On (Yes) by default.

Brands

The list shows the brands of your shops with Address in PrestaShop, E-mail, Website and Responsible person; "missing" marks an address or an e-mail that is not set. Search by Brand name and click Search.

Edit opens the brand:

  • Address in PrestaShop — read only: the first address of the brand in Catalog → Brands & Suppliers → Addresses. Edit it there. When its company field is filled in, the company name is shown on the product page instead of the brand name — useful when the brand is not the name of the manufacturer.
  • E-mail — the electronic address of the manufacturer, required by the regulation.
  • Website — optional, a full address starting with http:// or https://.
  • Responsible person — the person of the Responsible persons section that answers for this brand in the EU. Required when the manufacturer is established outside the European Union.

Responsible persons

The persons who answer for the products of manufacturers established outside the EU: an importer, an authorised representative or a fulfilment service provider. The list shows Name, Address, E-mail, Phone and the number of Brands that use each person. Click Add a responsible person, or Edit on a row:

  • Name — the company or person as it has to appear on the product page; required, each person needs a different name.
  • Address, Address (line 2), Postcode, City and Country — the postal address; Address, City and Country are required.
  • E-mail — required.
  • Phone and Website — optional; the website starts with http:// or https://.

All fields are plain text: the characters < and > are refused. A person assigned to a brand or chosen as Manufacturer of products without a brand cannot be deleted; the message tells you why. Assign another person to those brands first.

The same entries serve as the manufacturer of products without a brand (see "Settings").

Safety information

Warnings and safety information shown on product pages: for example the age limit of a toy, the handling of a chemical, the instructions for safe use. Click Add safety information, or Edit on a row:

  • Level — Brand, Category or Product.
  • Brand, Category or Product ID — fill in only the field that matches the level; the other two are ignored. The categories are listed as a tree. A product must exist in your shops.
  • What to show — This text, or No safety information (do not inherit).
  • Text — one field per language, up to 5000 characters, required in the default language for This text. It is plain text: line breaks are kept, everything else is shown exactly as typed. A language left empty shows the text of the default language.

Each brand, category or product can have one entry. In the list, an entry of a brand, category or product outside your shops shows "not in your shops", without its text and without buttons.

Which text a product shows. A product shows exactly one text, the nearest one:

  1. the entry of the product itself;
  2. else the entry of its default category, or of the nearest parent category that has one (up to the Home category);
  3. else the entry of its brand.

An example: the category Toys has the text "Not suitable for children under 3 years. Small parts.", its subcategory Wooden toys has none, and the brand Kidsy has "Keep away from fire.". A wooden train of Kidsy whose default category is Wooden toys shows the text of Toys: the category comes before the brand, and the texts are not combined. A rattle with its own entry shows that one. A gift card in Toys shows the toy warning too — give it an entry with No safety information (do not inherit): that entry ends the search and the product shows no text. Only the default category of a product and its parents count, not the other categories the product is in.

Documents

Instructions, declarations of conformity and other files shown in the section of every product of a brand or a category, including its subcategories. The files are PrestaShop attachments: upload them first in Catalog → Files. In Assign a document, choose the File, the Level (Brand or Category), the brand or the category, and click Assign. A product shows every document of its brand, of its default category and of the parents of that category, under the name of the file in the visitor's language. Remove in the list removes the assignment; the file itself stays in PrestaShop.

Documents of a single product are PrestaShop's own product attachments, which you attach in the product page of the Back Office and which your theme shows in its own way; the module does not list them in its section. Nothing is uploaded in this section.

Import / export

Two CSV files keep the data of many brands and persons in a spreadsheet: separated by semicolons (;), in UTF-8, the first line with the column names.

  • Brands: e-mail, website, responsible person — the columns id_manufacturer;brand;email;website;responsible_person, one line per brand of your shops. responsible_person is the name of a responsible person.
  • Responsible persons — the columns name;address1;address2;postcode;city;country;email;phone;website, one line per person. country is the two-letter ISO code of the country (PL, DE, CN…), as in International → Locations → Countries.

Export. Choose the Data and click Download the file. A cell that starts with =, +, - or @ — a phone number such as +48…, for example — gets an apostrophe in front, so that the spreadsheet does not run it as a formula; the import removes it again.

Import. Choose the Data and the CSV file (up to 1 MB and 5000 lines below the header) and click Check the file. The file is read and never kept on the server. The columns may be in any order; other columns are ignored. Lines are matched like this:

  • responsible persons by Name, upper and lower case alike: a known name updates that person, a new name adds one;
  • brands by id_manufacturer or, when it is empty, by the exact brand name. Only brands of your shops are accepted and no brand is created: create new brands in PrestaShop first.

Each accepted line replaces all the values of that person or brand: an empty cell clears the value. Import the persons before the brands that refer to them.

The Import preview shows how many lines will be added, updated and rejected, the first 20 accepted lines and the first 50 rejected lines with their number (the header is line 1) and the reason. Nothing is saved yet. Click Import to save the accepted lines; they are checked again before writing.

Missing data

What your product pages still lack, in three lists with their counts, for the shops you manage:

  • Active products without a brand — they show no manufacturer, unless you set Manufacturer of products without a brand. The list keeps showing them even then, so a shop that sells its own products can leave it as it is.
  • Brands without a complete address or an e-mail — an address is complete with street, city and country.
  • Brands outside the EU without a responsible person — brands whose address is in a country outside the 27 member states of the European Union (Switzerland, the United Kingdom, China, the United States…) and that have no responsible person.

Edit on a brand opens its form in Brands. The report checks only these data; it does not check the safety texts or the documents.

5. Multistore

The GPSR data — brands, responsible persons, safety information and documents — is the same for every shop of the installation: who made a product does not depend on the shop that sells it. Only the three settings are saved per shop, for the shop or shop group selected in the Back Office header. In the All shops or group context only an employee who manages every shop of that context can save them.

The lists show the brands and products of the shops of the current context that you manage, and you edit only the entries of those brands, categories and products. Responsible persons are common to all shops and every employee who may configure the module can edit them. One licence covers every shop of the installation.

6. Uninstall

Module Manager → GPSR Product Safety → Uninstall deletes the settings and all the data of the module: the e-mails and websites of the brands, the responsible persons, the safety information and the document assignments. It cannot be restored. Download both files of Import / export first to keep the brands and the persons; write down your safety texts, which have no export. The brand addresses and the files stay in PrestaShop.

To keep the data, use Disable instead: nothing is shown while the module is disabled.

7. FAQ and troubleshooting

The section does not appear on a product page. The product has no data yet: no brand address, e-mail or website, no responsible person, no safety text and no document. Check also that Where the safety section is shown is not Nowhere (widget only), and clear the cache in Advanced Parameters → Performance. If your theme has no product tabs, choose another place.

The manufacturer shows a different name than the brand. The address of the brand has a company name, which is shown instead of the brand name. Change or empty the company field in Catalog → Brands & Suppliers → Addresses.

Where do I enter the manufacturer's address? In PrestaShop: Catalog → Brands & Suppliers, click Add new brand address above the list Addresses. The module uses the first address of each brand. The e-mail and the website are set in the module, section Brands.

My products have no brand. Either assign them to brands in PrestaShop, or, when you make them yourself, add your company in Responsible persons and choose it in Manufacturer of products without a brand.

A warning shows on a product that should not have it. The product inherits the text of its default category, a parent category or its brand. Add an entry for that product with No safety information (do not inherit), or move the text to a more precise category.

The import rejects my file or some lines. The first line must name the columns of the chosen data — export a file to see them. Save the file from your spreadsheet as "CSV UTF-8" with semicolons. The preview gives the reason of the rejected lines: for persons, the country must be a two-letter ISO code; for brands, the brand must be in your shops and the responsible person must already exist — import the persons first.

Is the data sent anywhere? No. The module does not connect to any server. Only PriceWars, if you use it, puts the data in the feed files it creates for your shop.

Is this legal advice? No. The module helps you show the information that the General Product Safety Regulation (EU) 2023/988 asks of an online offer. It does not check whether your products, your texts or your documents comply. Check your obligations, and the language requirements of the countries you sell in, with your manufacturers or an adviser.

8. Updates and support

Updates are free for life: download new versions from My account → Order history at addonspresta.com and upload them like a new module. Your settings and data are kept.

Support is included for 12 months from your order: write to mail@addonspresta.com or use the contact form at addonspresta.com (Monday to Friday, 10:00–16:00; we usually answer within 2 business days). Please include your PrestaShop version, the module version and the steps that lead to the problem.

Back to User manuals

Loading...
Back to top