Skip to content

Upgrade PrestaShop 1.7 → 8 → 9 without losing orders

· The AYT team · 6 min read

Woman in sunglasses holding many shopping bags

A PrestaShop upgrade from 1.7 to 9 happens in two steps: first 1.7 → 8.2, on PHP 7.4, then you switch PHP to 8.1 and do 8.2 → 9. The reason is PHP: no 1.7 release runs on PHP 8, and PrestaShop 9 doesn't run below PHP 8.1. The official Update Assistant module (formerly "1-Click Upgrade", technical name autoupgrade) does both upgrades and updates the database in place, so orders, customers and products stay. Orders get lost only when you restore an older backup over a shop that has kept selling in the meantime.

The steps from PrestaShop 1.7 to 9, with the PHP version at each step

Why you can't jump straight to 9

The Update Assistant only shows the versions compatible with the PHP version the shop runs on at that moment. On a 1.7 shop running PHP 7.4, the newest version it can install is 8.2 (which accepts PHP 7.2.5–8.1). Only once the shop is on 8.2 and you switch PHP to 8.1 does the module offer 9. The full table is in the article on PrestaShop hosting requirements.

Before you upgrade

  1. Make a full backup, files and database, and download it to your computer. Don't rely only on the module's backup.
  2. List the installed modules and the theme. For every paid module, check on PrestaShop Addons or with the developer whether it has a version for 8 and for 9. Payment and courier modules come first.
  3. Make a copy of the shop (staging) and rehearse the whole upgrade there first. The copy tells you which modules break without stopping sales.
  4. Pick a low-traffic hour and tell your colleagues not to work in the back office during that window.

How not to lose orders

Never overwrite the live shop with anything older than its latest order.

  • Rehearse on the copy, but run the real upgrade on the live shop, with the steps you checked. Don't move the upgraded copy over live: orders placed on live in the meantime would be lost.
  • Put the shop in maintenance mode right before the upgrade so no orders come in during it. Add your IP to the addresses that still see the shop in maintenance so you can test.
  • Note the number of the last order before you start. After the upgrade, check it's still there.
  • If you have to go back to a backup, compare the backup's time with the time of the last order. Orders placed after the backup have to be re-entered by hand from the confirmation emails and your payment processor's account.

Step 1: bring the shop to 1.7.8.11

The last 1.7 release is 1.7.8.11, released in January 2024. If you're on an older 1.7, move to it first, on PHP 7.4 (the 1.7.8 branch runs on PHP 7.1–7.4). If the shop is on 1.7.6 or older, check first which PHP it runs on: see PrestaShop 1.7 and PHP versions.

Step 2: upgrade from 1.7 to 8.2 with the Update Assistant

  1. Download the latest version of the Update Assistant module from PrestaShop Addons or from its releases page on GitHub.
  2. In the back office, under Modules → Module Manager, upload the module's archive and install it, then click "Configure".
  3. Choose "Update your store". The version choice step shows the version recommended for your PHP; on PHP 7.4 that is an 8.2 release.
  4. Fix anything shown in red in the requirements check. Orange warnings let you continue, but read them.
  5. In the options: "Deactivate non-native modules" is on by default, and it's best to leave it on. "Regenerate email templates" is also on by default and overwrites email templates you changed, so turn it off if you changed them. "Disable all overrides" helps if you have modules that change PrestaShop's classes.
  6. For the backup, choose a complete backup (files, database and images). The module stores it in admin-folder/autoupgrade/backup, so you need free space for one more copy of the shop.
  7. Start the upgrade and keep the page open until it ends. At the end you get a checklist of things to verify.
  8. Turn the deactivated modules back on one by one and check the home page, a product, the cart and a test order after each.

Step 3: switch PHP to 8.1

With the shop on 8.2, switch the domain's PHP version to 8.1, clear the PrestaShop cache (see how to clear the cache) and test again. PHP 8.1 has had no security updates since December 2025, so don't stay on this step for long.

Step 4: upgrade from 8.2 to 9

Repeat step 2 with the latest version of the module. On PHP 8.1, the Update Assistant also offers version 9. Check beforehand that every module you depend on has a version for 9. After the upgrade you can move PHP to 8.4 or 8.5, depending on the 9.x release you installed.

If something goes wrong

  • The upgrade stopped halfway: read the log the module shows, fix the cause and restore, from the module, the backup it made before the upgrade (the "Restore your store" path).
  • The shop returns a 500 error after the upgrade: it's usually an incompatible module or override. The steps are in the article on the PrestaShop 500 error.
  • The module's restore doesn't work: go back to your own full backup or to the hosting backup.

Upgrading PrestaShop on AYT hosting

On AYT, backups run daily (the last 7 days, then one a week for 4 weeks and the last of each month for 24 months) and are restored from the panel. The PrestaShop Toolkit makes staging copies on a subdomain. You pick the PHP version per site on the PHP versions page; before you start, check there that the version each step needs is available. The PrestaShop upgrade itself is done with the Update Assistant, from the back office: the toolkit doesn't do PrestaShop version upgrades. The toolkit manages PrestaShop 8 shops, where its Settings page has the maintenance switch, the field with the IP addresses that see the shop in maintenance, and cache clearing. A 9 shop shows up in the list, but the toolkit only shows it without changing it, so after the upgrade you turn on maintenance in the back office (Shop Parameters → General → Maintenance).

If you'd rather move the shop to AYT first, moving PrestaShop is free on paid plans. See the plans on the hosting page and the toolkits on the features page.

More articles

All articles