How to upgrade PrestaShop step by step: 1.6, 1.7, 8 and 9

How to upgrade PrestaShop step by step

If you have landed here looking for how to upgrade PrestaShop, the first thing to know is that not all upgrades are the same. Going from PrestaShop 8 to 9 has little in common with going from 1.6 to 1.7, and mixing the two up is the mistake we have most often seen end in a broken shop and a lost weekend.

This guide is written from the side of those who do it every day. It is not a list of buttons to click: it is what you need to check first, what almost always breaks and how to order the work so your shop does not stop selling for a single day.

If you do not yet know what version 9 brings or whether it is worth it for you, start with what’s new in PrestaShop 9 and what to check first. And if your shop is below 9, also read about the October PHP flaw (in Spanish), because it changes the urgency.

First: see which jump you are facing

There are three different situations and each has its own difficulty, timeframe and price. Before asking anyone for a quote, find out which one you are in. Your version is shown at the bottom of your shop’s back office.

From PrestaShop 8 to 9

It is a major upgrade, but within the same technical family. Your catalogue, orders and configuration will normally carry over without surprises.

Two things usually cause trouble. Third-party modules that have not yet released a compatible version, because each vendor works at its own pace and some take months. And overrides, which is code a developer wrote at some point to change how the core behaves: when the core changes, that code no longer fits and has to be reviewed one by one.

From PrestaShop 1.7 to 8

It is the most rewarding jump of the three. PrestaShop 8 is the direct continuation of the 1.7 branch, so the database structure and the internal workings are very similar. If your shop is reasonably clean, it is a matter of preparing well and executing.

It is best done in steps rather than all at once: first bring 1.7 to its latest version and jump to 8 from there. It takes longer to explain than to do, and it greatly reduces the chance of something being left behind.

From PrestaShop 1.6 to 1.7 or later

Here is the trap, and it is the one that costs the most money to those who do not see it coming. This is not an upgrade, it is a migration.

Between 1.6 and 1.7 the theme system changed, the internal architecture changed and the way modules work changed. Your design does not carry over. Your 1.6 modules are no use, not even the paid ones. What does carry over, and this is what matters, is your data: products, categories, customers, orders and addresses.

Anyone who tells you a 1.6 shop can be upgraded at the click of a button has never done one. It can be done, and it is done every month, but the real work is not in the version jump: it is in rebuilding the design and finding replacements for the modules that no longer exist.

Why there are still so many shops on 1.6 and 1.7

If that is your situation, you are not an exception. There is a simple reason and we have heard it dozens of times: the shop works. It sells, orders come in, nobody complains. And when something works, upgrading it looks like a cost with no return.

The problem is that the decline is not visible all at once. There is no day when the shop stops working. What there is, is a product page that loads a second slower than the competition’s, a search that returns poor results, a phone on which the cart behaves strangely. Nobody writes to tell you: they just close the tab.

And there is one part that does have a date: security. An unsupported version does not receive patches. When a vulnerability affecting PHP or PrestaShop itself appears, maintained versions get a fix and those out of support do not. At that point it is no longer a question of speed, it is one of exposure.

Before touching anything

This is the part people skip and it is exactly the part that prevents the headaches. If you only take one thing from this guide, make it this list.

A full backup, and a tested one

Files and database. And the important part, which almost nobody does: check that the backup can be restored. A backup nobody has tested is not a backup, it is a folder. Restoring it locally takes half an hour and is the only way to know it works.

Set up a test environment

Never upgrade the shop that is selling. Make a copy on a subdomain or locally, upgrade it there, and when everything works repeat the process in production with fresh data. This turns a serious problem into a wasted afternoon.

If your hosting does not let you set up a test environment, that alone is reason enough to consider changing hosting before upgrading.

Take an inventory of your modules

Write down all the active ones, where they came from, which version they are on and whether the vendor still maintains them. Modules are the number one reason an upgrade goes wrong, ahead of the version jump itself.

Flag the ones that are critical to your business: the payment gateway, the shipping module, the invoicing module and the one that connects to your ERP if you have one. For those, compatibility has to be confirmed before you start, not during.

Check which PHP version you are on

Each PrestaShop version requires a specific PHP range, and it is a range, not a minimum. A PHP that is too old blocks the upgrade, and one that is too new breaks the shop you already have running. Check the requirements of the version you are moving to before touching the server, not after.

Write down your customisations

If someone touched code at some point, with overrides or direct changes to the theme, that does not survive an upgrade on its own. Make a list of what your shop does that a freshly installed PrestaShop does not. Whatever is not on that list will be lost, and you will notice three weeks later when a customer tells you.

What survives a PrestaShop upgrade and what has to be redone
Data carries over on its own. Design, modules and custom code do not.

What survives and what has to be redone

This is the question we are asked most often on the phone, and the short answer is: the data carries over, the handmade work does not.

Carries over on its own: the full catalogue with its categories, attributes and combinations, customers and their addresses, order history and invoices, and the tax, zone and carrier configuration.

Does not carry over on its own: the design if you come from 1.6, modules with no compatible version, overrides, custom translations you wrote on top of the official ones, and redirects, if any address changes along the way.

The right sequence to upgrade PrestaShop: backup, test environment, upgrade, testing and go live outside sales hours
The order matters more than the tool you use.

The two methods available

The official upgrade module

PrestaShop maintains a free module that automates the process. It makes its own backup, downloads the target version, replaces the core files and updates the database.

It is the recommended route for jumps within the same branch. Always use the latest version of the module, even if your shop is old, because that is where the bugs in the upgrade process itself have been fixed.

Two warnings from experience. First: in shops with many products the process can hit the server’s maximum execution time, so if you have command-line access, run it from there. Second, and this one is important: if it fails halfway, do not run it again without restoring the backup first. An interrupted upgrade leaves the database halfway through, and running it again on top usually makes things worse.

The manual upgrade

It consists of replacing the core files by hand and running the upgrade installer. It gives more control and is what ends up being done when the module cannot cope with the shop, usually because of its size or the number of customisations.

It requires knowing which folders are replaced, which are kept as they are and how permissions should look afterwards. If you are not sure, this is not the method for you.

Modules, one by one

This is where most of the time in an upgrade goes, so it is worth having a rule rather than improvising. For each module, three questions in this order.

Is there a compatible version? If the vendor has released it, you buy or download it and that is it. It is the easy case and, with luck, the most common one.

If there is not, is there an alternative that does the same? Many features have three or four equivalent modules on the market. Switching vendor is usually cheaper than keeping an abandoned module alive.

If there is no alternative, do you really need it? This is the uncomfortable question and the one that saves the most. In almost every shop we review there are active modules nobody has used for years, installed for a specific campaign or by a previous provider. Each one of them is work, risk and extra page weight.

Only when all three answers leave no choice is it rebuilt from scratch. And then it is worth knowing before you start, because it is the item that moves the budget.

The design: what rebuilding it means

If you come from 1.6, the design does not carry over. And it is worth understanding what that involves, because people tend to imagine something worse or better than it is.

It does not mean reinventing your brand. Your colours, logo, typography and shop structure are kept. What is rebuilt is the technical layer that renders them, because the theme system from 1.7 onwards has nothing to do with that of 1.6.

In practice there are two paths. Start from a current theme and adapt it to your identity, which is quicker and cheaper. Or rebuild the design from scratch, which makes sense if your shop has specific catalogue or checkout needs. The decision depends on how much of your current design is identity and how much is inertia.

A tip you will thank us for later: an upgrade is the only moment when reorganising the menu, cleaning up dead categories and reviewing product pages comes almost for free, because you are already in there. Doing it later costs twice as much.

What almost nobody checks: the SEO side of the upgrade

This is the part that does the most damage when ignored, because the damage does not show up on day one. It shows up six weeks later, when traffic has dropped and nobody connects one thing with the other any more.

Addresses. If the URL structure changes, every old address has to redirect to its new equivalent with a permanent redirect. One by one, not all to the homepage. Redirecting everything to the homepage is the fastest way to lose the rankings of an entire shop.

Titles and descriptions. Check that the product and category metadata has made the trip. Sometimes it gets lost on the way and the shop appears in Google with generic texts.

The sitemap. Regenerate it after upgrading and submit it again in Search Console. It takes a minute and greatly speeds up Google’s understanding of the new structure.

Images. When thumbnails are regenerated, alt texts can be lost. If you had that work done, check it before signing off the upgrade.

Structured data. If it came from a module that no longer exists, you stop sending price, availability and ratings to Google, and you lose the rich results you used to appear in.

To put it in perspective: a well-done upgrade should not move your rankings a single position. If it does, someone skipped this section.

There are three SEO problems we see appear after an upgrade, and each has its own article: duplicate URLs, when the canonical redirect is misconfigured; indexed filters, worth reviewing if you change or reinstall the faceted search module; and discontinued products (in Spanish), which start returning a 404 in the new shop if nobody decides what to do with them.

What almost always breaks

  • Third-party modules with no compatible version. By far the most frequent.
  • The theme. If it is custom or heavily modified, be ready for design work. When jumping from 1.6, it is a certainty.
  • Overrides. Code that overrides the core no longer fits when the core changes.
  • Page addresses. Without redirects, you lose the rankings you had.
  • The internal search. After upgrading, the index has to be rebuilt. Otherwise it returns empty results and you do not notice, because you do not search your own shop.
  • Automatic emails. Email templates are replaced and the customised ones go back to the defaults.
  • Custom translations. If you changed shop texts by hand, check they are still there.

After upgrading: the checklist

Do not sign off an upgrade until you have tested this, on mobile as well as on desktop, because that is where most people buy:

  • A complete purchase from start to finish, with a real order.
  • A new customer sign-up and an existing customer login.
  • The search, with a product you know exists.
  • Category filters and faceted navigation.
  • Automatic emails: order confirmation, status change and password recovery.
  • Payment gateways, one by one.
  • Shipping cost calculation by zone and by weight.
  • Invoicing, taxes and invoice numbering.
  • Returns and order status changes.
  • The whole back office, not just the dashboard.
  • Loading speed, compared with before.

How long it really takes

We cannot give you a figure without seeing your shop, but we can give you the order of magnitude and what it depends on.

A jump within the same branch, in a clean shop with few modules, is a matter of days. A migration from 1.6 with a redesign and custom modules is measured in weeks, and most of that time is not the upgrade: it is the design and the modules.

What any professional should give you after reviewing your shop is a specific date, not an open range. If they do not, they have not looked closely enough.

If in the copy you discover custom modules that do not survive the jump, that is work for a PrestaShop developer (in Spanish). There you will find what to ask before hiring one.

When you should not do it yourself

There are three clear signs. If your shop is on 1.6, because it is not an upgrade and the real work lies elsewhere. If you have custom modules nobody maintains, for the same reason. And if you have nowhere to test, because then your test environment is your shop and your customers are the ones who find the bugs.

In those three cases the cost of getting it wrong is higher than that of handing it over, and not because of the price of the upgrade, but because of the days of sales lost while it gets fixed.

If the upgrade has already been done and the shop has stopped working, the procedure to roll back without losing the orders in between is in PrestaShop broken after upgrading (in Spanish).

Frequently asked questions

Can I jump straight from 1.6 to PrestaShop 9?

Technically it is done in steps, not in one jump. But from your point of view it is a single project: the shop is migrated and ends up on the current version, without being left on an intermediate one.

Will I lose my old orders?

No. Order history, invoices and customers carry over. It is precisely what survives best.

Do I have to close the shop during the upgrade?

No, if the work is done on a copy. The shop keeps selling and the switch to production happens outside sales hours, usually overnight.

What if my hosting cannot handle the new version?

It is detected in the initial review. Sometimes changing the PHP version from the hosting panel is enough, and sometimes the shop has to be moved to a server that meets the requirements. Better to know beforehand.

Is it worth upgrading if my shop sells little?

It depends on why it sells little. If it is because of the shop, the upgrade is part of the solution. If it is a lack of visibility, upgrading alone will not fix it: rankings need work too. An up-to-date, fast shop is the foundation, not the goal.

If you would rather we looked at it before anything is touched, you can request a free technical review of your PrestaShop (in Spanish). We tell you which version you are on, which modules break, whether your server can cope and what it would cost, with a fixed quote.