PrestaShop Catalogue Management

DataFirefly Product Trash

Never lose an accidentally deleted product again

PrestaShop 8 & 9 module that turns every product deletion into a reversible backup. Right before a product is erased — manually, in a bulk action, by an import or by a script — the module captures a complete snapshot: the product and all its translations, combinations, specific prices, stock, category links, features, the image rows in the database AND the image files on disk. One click in the trash and the product comes back to your catalogue exactly as it was, with its original ID to preserve URLs and SEO. A configurable auto-purge keeps the trash from growing indefinitely.

New PS 8 & 9 Safety net
  • 30-day refund
  • 12 months updates
  • 24h support
www.datafirefly.com/en/
DataFirefly Corbeille Produits Module Prestashop
v1.0.0 · updated 2026-06-04
What it does

The short version.

01

Capture before deletion

The module hooks into the event fired just before a product is erased, while all its data is still present. Nothing is lost, even in a bulk delete or via an import.

02

Restored identically

All linked tables are re-inserted with the original ID, inside a transaction. The product gets back its combinations, prices, stock, categories and images.

03

Images included, real files

Image files in every generated size are copied on deletion and put back on restore. Not just the database rows: the actual files on disk.

04

SEO and URLs preserved

By restoring the original product ID, canonical URLs and existing redirects stay valid. No 404s, no lost Google signals.

05

Automatic purge

Set a retention in days: older backups are deleted automatically. Set it to 0 to keep them with no limit.

The long version

Everything you'd want to know before you install.

A detailed look at how DataFirefly Product Trash works, why we built it the way we did, and the thinking behind the features above.

§ 01

A safety net against the irreversible

In PrestaShop, deleting a product is final and immediate. One click too many, a mistargeted bulk delete, an import that overwrites the catalogue or an overzealous script, and an entire record vanishes: descriptions written over hours, combinations, prices, stock, images, and the SEO that came with them. Natively, there is no way back. This module adds the missing piece: a trash bin that captures every product before it disappears and lets you bring it back exactly as it was.

§ 02

How the capture works

The module hooks into the event PrestaShop fires just before a product is erased, at the precise moment when all its data is still intact in the database. It then serialises an exhaustive snapshot: the main record, its per-shop and per-language versions, the combinations and their attributes, specific prices, stock, category links, features, tags, suppliers, carriers, attachments, related products, packs, virtual products and customization fields. In parallel, image files in every size are copied to a protected backup folder. This capture is silent and never blocks the deletion: if anything fails, PrestaShop carries on normally.

§ 03

A truly complete restore

Restoring a product is more than recreating a database row. The module re-inserts all linked tables in a single transaction, keeping the original IDs, then copies the image files back to their exact location and reruns search indexing. If any step fails, everything is cleanly rolled back: there is never a half-restored product. Your description HTML is preserved character for character, with no stripped tags. The product reappears in your catalogue just as it was before deletion.

§ 04

SEO and URLs intact

This is the difference between a real restore and a mere recreation. By reinstalling the product with its original ID, the module guarantees that its canonical URLs, redirects and internal links stay valid. No new record with a new URL, no 404, no lost signals for Google. To prevent any damage, the restore is automatically blocked if another product already uses that ID, keeping you in full control.

§ 05

Stay in control of disk space

A trash bin that grows endlessly eventually weighs on the server. The module offers a configurable retention in days: older backups are purged automatically, or kept indefinitely if you prefer. You can also delete a single backup or empty the whole trash in one click. The backup folder is protected by an htaccess and an index so no file is publicly accessible. You can even disable the image copy if you would rather back up data only.