PrestaShop 1.7.4–1.7.8, 8.0–8.2, 9.0–9.2 compatible

Database Cleaner for PrestaShop

5.0 61 Google reviews of PrestaHU

Old carts, logs and statistics are deleted, and the backup of the deleted rows comes back with one click.

Free

Free • the licence comes with a €0 order

See how it looks
  • Rows counted first
  • Restorable backup
  • Support in English
Old carts, logs and test orders deleted after a count, with a backup that can be restored.

What it does

It counts and backs up first, and only then deletes.

Rows counted before deleting

For the selected tasks the module first counts, per task and per table, how many rows would go, and nothing changes yet. Deleting starts only after you confirm, in steps, so the webshop stays usable during a large cleaning.

A backup of every run

Before every run the deleted rows are backed up. The Backups screen lists every run: who started it, what was deleted and how many rows. Restore puts the rows back into the database.

Nine tasks, each with its own age

Abandoned carts, expired discount codes and special prices, visit and search statistics, the page-not-found log, the PrestaShop log, the sent e-mail log and orphan records. Each task deletes the rows older than the days you set, and never a row more recent than its lower limit.

Scheduled cleaning

The scheduled task of the hosting (cron) runs the selected tasks daily or weekly, removes expired backups and continues a cleaning that did not finish. On request it e-mails a report with the number of deleted rows.

Test orders and customers

Orders and customer accounts made while testing are found by search and deleted one selection at a time. The stock goes back, a paid order needs an extra confirmation, and the dialog lists the invoice numbers of the deleted orders.

Largest tables, optimized

The module lists the largest tables of the webshop with their row count, size and reclaimable space. Optimize gives back the space the deleted rows left in the table file.

Real interface

How the module looks inside

Good to know

What you need to use it

Upload the module ZIP in the Module Manager as usual; the menu item appears under Advanced Parameters. No external account is needed; a scheduled task is needed only for scheduled cleaning. After installation no task is on, so the module deletes nothing until a task is turned on.

  • PrestaShop: 1.7.4 to 9
  • PHP: 7.1 to 8.5
  • Interface languages: Hungarian, English, Romanian
  • Multistore: the tasks run in the selected webshops
  • Backups: in the var folder of the webshop, kept 1–365 days
  • Scheduled task: called hourly, cleans daily or weekly

Why it pays off

A smaller database, without the risk

  • Faster backups and listsFewer rows go into the backup, and the back office lists and the search work on smaller tables.
  • Less disk spaceAfter optimizing, the space of the deleted rows is freed too.
  • RestorableRows deleted with a backup come back from the Backups screen with one click.
  • Clean test dataBefore going live, test orders and test customers are removed and the stock is put back.

Technical data

Compatibility and version

Compatibility
PrestaShop 1.7.4–1.7.8, 8.0–8.2, 9.0–9.2
Version
1.0.0

Versions

What changed in each version

v1.0.02026-11-09

  • Nine cleaning tasks, each with its own age limit: abandoned carts, expired discount codes and special prices, visit and search statistics, the page-not-found log, the PrestaShop log, the sent e-mail log, orphan records
  • Before deleting, the rows concerned are counted per task and per table; deleting runs in steps after you confirm
  • A backup of every run; deleted rows come back with one click on the Backups screen
  • Scheduled cleaning daily or weekly, with an e-mail report on request
  • Test orders and test customers found by search and deleted by selection, with the stock put back
  • A list of the largest tables with reclaimable space, table optimization, and a log per webshop

PrestaHU reviews on Google

Google 5.0 61 Google reviews All reviews on Google
  • tomica blagojević 10 months ago

    I bought a PrestaShop module from PrestaHU and I’m very satisfied. The module works perfectly, and the owner Levente quickly resolved all my questions with great support. Highly recommended!

  • Ivonig Corfmat 2 years ago

    Levente/presta.hu has been very helpful and quick to reply to any question or issue we may have had in order to install and configure the plugins.

    We got 2 plugins from presta.hu and both are doing their tasks just fine.

  • Marcos Ametller 1 year ago

    The module with SimplePay worked and was a lower price than the recommended by OTP. And the service from Levente has been spotless. I recommend

  • András Bajomi 2 years ago

    Levente is a real Prestashop guru, with all the skills & knowledge to solve our PS issues quickly and efficiently.

  • Wiki W 3 years ago

    Great modules for Prestashop and excellent support from Levi!
    All recommendations for this developer!

FAQ

Questions before downloading

What does the module delete after installation?
Nothing. After installation no task is on; the module only deletes the old rows of the tasks that are on, and counts them first.
Can deleted rows be restored?
Yes, when the task kept a backup. Carts, discount codes, special prices and orphan records always get one; for statistics and logs it can be turned off. The backup is kept for the set time, 1 to 365 days.
Does the scheduled task delete orders or customers?
No. Orders and customers are deleted only on the Orders and customers screen, one selection at a time, after confirmation.
What happens to the stock and the invoices when a test order is deleted?
The order lines go back to stock, except for cancelled, refunded and failed orders, which did not take stock. When the deleted orders had invoices, the dialog lists their numbers: if the highest number is among them, the next invoice gets that number again; otherwise a gap stays in the numbering.
Does cleaning slow down the webshop?
Rows are deleted in steps of a size you set (50 to 5000), so the webshop stays usable during a large cleaning. While a table is optimized it is locked for writing, so a large table is best optimized outside busy hours.
Which PrestaShop versions does it support?
PrestaShop 1.7.4 to 9 and PHP 7.1 to 8.5, with one or more webshops. When a table of a task does not exist in the version of the webshop, the dialog says so, and the other tables of the task are still cleaned.
What happens when the module is uninstalled?
Uninstalling deletes the module’s backups, its list of runs and its settings. Deleted rows do not come back, so a run that has to be restored must be restored before uninstalling.

Help

Where to get help

All modules

Browse our other PrestaShop modules.

Built to work together

Our modules are designed to run side by side in the same shop.

Frequent updates

Fixes and improvements arrive continuously, in frequent new versions.

Live support

Direct help during install and configuration.

100%

Scroll or double-click: zoom · Drag: move · ESC: close

Database Cleaner for PrestaShop: old carts, logs and test orders Free
My modules