Search code examples
prestashopupgradeprestashop-1.6prestashop-1.7

Upgrade Prestashop from 1.6.0.11 to 1.7 (latest version)


I want to upgrade prestashop from 1.6.0.11 to 1.7 (latest version). First, I have tried 1-click upgrade but did not worked for me. See these screenshots http://prntscr.com/ek46kr, http://prntscr.com/ek46nb, http://prntscr.com/ek46sa. Second, I have tried with manual steps like this link http://doc.prestashop.com/display/PS16/Manual+update, but this also not worked ! See screenshot http://prntscr.com/ek4dbv

If anybody know perfect steps to upgrade prestashop 1.7 please answer here. It will be really helpful.

Thanks in advance !


Solution

  • There is no general rule or guidance to upgrade from 1.6 to 1.7.

    From Prestashop developer blog: Is it be easy to upgrade from previous versions of PrestaShop to v1.7?

    In short: no, it won’t. You can upgrade, but be prepared to have to adapt or replace many of your addons (theme, modules).

    Now for the longer answer. PrestaShop 1.7 is a major version not only because it packs a lot of sweet changes, but it is also major in the SemVer sense of the term: it breaks some of the backward compatibility. If it didn’t, we probably would have called it 1.6.2.0 :)

    For starters, 1.6 themes will not work on 1.7. That’s a definite. We rewrote the way themes are made, and theme designers will be delighted to find in the new Starter Theme a solid foundation for their own themes. With this foundation, new themes can be created in half the time it took to create a 1.6 theme.

    Now, about modules. All well-written 1.6 modules should work with little to no changes in 1.7, except:

    • Those which target the theme/front office – because we rewrote the way themes are written.
    • Those which target the Product page – because the DOM of this page has changed.
    • Those which target the Modules page – again, because the DOM of this page has changed.

    What this means for any upgrade is that in order for a PS 1.6 to migrate to PS 1.7, you (or your agency) will have to:

    • Rewrite the theme, ideally using the Starter Theme or the default theme.
    • Adapt the Product page modules (CSS and JavaScript).
    • Adapt the Modules page modules (CSS and JavaScript).
    • Test all the other modules – as you would for any new release.

    In any case, we advise you to make sure that your module does work in PrestaShop 1.7 before you upgrade.