No image available

Product PDF (simple)

Generate a PDF from product page using a customizable TPL.

Developed by Tecnoacquisti.com

Get This Module Free on GitHub
PS 8.2 – 9.x License: Unknown Status: Active Health: Excellent

Info updated 1 month ago

Sources
Stars: 1 Last commit: Jan 22, 2026
Type
Module

Info checked: Mar 2, 2026

TTA Product PDF

PrestaShop module to generate a customizable product PDF directly from the product page.

Developed by Tecnoacquisti for PrestaShop 8.2 – 9.x.

---

✨ Main features

  • PDF generation from a customizable TPL
  • Configurable content:
  • Shop logo
  • Product title
  • Price
  • Brand
  • Reference / EAN / MPN
  • Short and long description (clean text, HTML removed)
  • Product details (features)
  • Custom footer text
  • QR Code (TCPDF <code>write2DBarcode</code>) linking to the product
  • QR text translatable (handled correctly by PrestaShop)
  • Product image included
  • Selectable hook support from the Back Office:
  • <code>displayProductAdditionalInfo</code>
  • <code>displayProductActions</code>
  • Custom hook <code>displayTtaProductPdf</code>
  • Security token for PDF access
  • Compatible with Classic theme and custom themes

---

🧩 Compatibility

| PrestaShop | Support | |-----------|----------| | 8.2.x | ✅ | | 8.3.x | ✅ | | 9.x | ✅ | | 1.7.x | ❌ Not supported |

---

📦 Installation

1. Copy the <code>ttaproductpdf</code> folder into <code>/modules</code> 2. Install the module from BO → Modules 3. Configure options from the module panel

---

⚙️ Configuration

From the configuration panel you can:

  • Enable/disable individual fields in the PDF
  • Set the footer text
  • Choose the position of the PDF button (hook)
  • Use a custom position inside the product template

---

📍 Custom button position

By selecting Custom hook: <code>displayTtaProductPdf</code>, add the following line in your theme file:

<code>themes/YOUR_THEME/templates/catalog/product.tpl</code>

Insert it in the desired place (recommended before the copyright):

{hook h='displayTtaProductPdf' product=$product}

📄 PDF Template

The PDF is generated from:

<code>/views/templates/front/product.tpl</code>

The template is fully editable (simple HTML + tables, TCPDF-compatible).

🔐 Security

The PDF is accessible only via a signed token.

No direct access without valid parameters.

🌍 Translations

All strings are translatable from: International → Translations → Translations of modules

The QR Code text is managed via a TPL to avoid controller limitations.

🛠️ Technologies used

PrestaShop 8/9

TCPDF (PrestaShop core)

Smarty

PHP 8.x

👨‍💻 Author

Tecnoacquisti.com

🌐 https://www.tecnoacquisti.com

📧 helpdesk@tecnoacquisti.com

📜 License

This module is released under the Academic Free License (AFL) v. 3.0.

You are free to:

  • Use the software for commercial and non-commercial purposes
  • Modify the source code
  • Distribute modified or unmodified versions

Under the terms of the AFL v.3.0 license.

Full license text: https://opensource.org/licenses/AFL-3.0

  • Referencia
    ttaproductpdf

  • License
    Unknown
  • PS Compatibility
    8.x
    9.x
  • Status
    Active

Comentarios (0)

No hay reseñas de clientes en este momento.
Cargando...