PrestaShop QR code generator

The module adds an image with a QR code to the product page that links directly to the product URL. It works completely offline, complies with CSP policy (images served from the same domain), and does not require external services. Ideal when you want to quickly share a product card on mobile devices.

Read more navigate_next

zł59.00

47.97 tax excl.

Quantity

 

Full compatibility with PS 9.x

  Free updates

A one-time purchase entitles you to unlimited updates.

  Payments

Blik, Cards, PayPal, Transfer to the account. Implemented by: Imoje, FirstData, PayPal.

GoogleQR – a lightweight QR code generator for PrestaShop

Key advantages

  • Offline and independent: QR code generation on the server side, without calls to external APIs.
  • CSP compliance: the QR image is served from your domain, so it is not blocked by Content Security Policy.
  • Lightweight and fast: no heavy dependencies – the module package weighs ~80 KB.
  • Quality and readability: PNG generated by PHP GD, automatic scaling to specified dimensions.
  • High compatibility: integration with the hook displayProductButtons in PrestaShop 1.7/8/9.
  • Flexibility: size, margin, and error correction level parameters (L/M/Q/H).
  • Fallback without GD: if PHP GD is unavailable, the module returns a readable SVG.

How it works

The module injects a tag  tag into the product buttons. The image source is the module's endpoint, which generates the QR code on the server and returns it as a PNG image (or SVG when GD is not available).

Features

  • Automatically retrieves the URL of the current product and encodes it in QR.
  • Parameters: size (e.g., 128x128), ecc (L/M/Q/H), margin (px).
  • Serving from the same domain – no CSP warnings and mixed content.
  • No Composer/vendor dependencies – very small package size.
  • Possibility of simple expansion with BO configuration (e.g., default size or ECC).

Technical requirements

  • PHP 7.2+ (higher recommended, depending on your PrestaShop version).
  • PHP GD (optional, for PNG). Without GD, the module will return SVG.

Business benefits

  • Easy sharing of product cards offline and in retail (screen scan).
  • Faster transition of mobile customers to a specific product page.
  • No costs or risks associated with external services.

FAQ

Does QR work without the internet? Yes – generation is local. Only scanning and navigating to the page requires a network on the user's side.

What if the server does not have GD? The module will automatically return the QR code in SVG format, which is readable by scanners.

Can I change the size? Yes – the parameter size in the image address or by configuring the module (if you enable it).

PrestaShop 1.3.x
No
PrestaShop 1.4.x
No
PrestaShop 1.5.x
No
PrestaShop 1.6.x
No
PrestaShop 1.7.x - 9.x
Yes
Multistore
Yes
Language
PL, EN
Responsiveness
N/A
Installation
Standard
Updates
Yes
Version
17-11-2025
Update date
2.0
Subject: - PrestaShop QR code generator

I agree to the processing of my personal data by Europasaz. for the purposes of answering the question, in accordance with and according to the principles set out in the Privacy Policy. I know that I can revoke my consent at any time.

*Required fields

Comments (0)
No customer reviews for the moment.