Upgrade PrestaShop – Are you Ready?

by Curt Donohue on July 13, 2011

Update PrestaShopSo who wants to upgrade their PrestaShop store?  I’m guessing most of us would like to upgrade because of the perceived benefits that an upgrade can bring, but is there a downside to upgrading?  There sure can be if you don’t know what you are doing.

I want to be sure that everyone understands my position on upgrading from one version to another.  I think it is generally a good idea, especially if there are security improvements.  It may be especially necessary in that case.

However, it can be a very bad idea to update your store if you haven’t considered the consequences, which can be numerous and severe.  Two obvious consequences of upgrading can be 1) the money and 2) the time it takes to upgrade a store from one version to another.

Don’t be fooled into thinking that upgrading is just a matter following the PrestaShop PDF Upgrade Guide or their Upgrade Video.  It can be vastly more complex than either of those resources demonstrate.

In my opinion, core code changes and a custom theme are the two biggest challenges to upgrading a store.

If a store owner modified any part of the PrestaShop core code, which is very common, they would be required to make similar modifications to the new version of software.  It may not be a simple matter of copying and pasting code either since the new PrestaShop version may use a different version of PHP, Smarty, or JQuery.

One of the biggest challenges with making core code changes is remembering what you changed and where those changes are located.  Many people make changes and don’t document those changes.  I’ve certainly been guilty of that, but no more.

Now, any change I make in a pre-1.4.x version is documented in a “code-changes.txt” document that I can use to copy and paste code during the update process.  Of course, you don’t need this tool in post-1.4.x versions because of the “override” capability.

If you are making core code changes, you need to be documenting all of those changes starting immediately.  Make note of the date, file location, and the actual code that was modified.  This will save you tons of time, money, and frustration when you upgrade you store.

Because of the difficultly level of updating PrestaShop, I decided to put together a 5-part video series that will walk you through the update process step-by-step and in great detail.  Since it took me three weeks of research, testing, and video production, I can only offer this training as part of my paid PrestaShop 1.4 Tutorials product.  It’s a steal at $17/month, however.

To give you an idea what is covered in the Update PrestaShop video series, take a look at the table of contents below.

Part 1

  1. Summary of what you will learn in the video series
  2. Who may or may not want to update
  3. Risks and rewards of updating
  4. Tools you will need to update effectively

Part 2

  1. Summary of the update process
  2. Disabling your store
  3. Backing up your store’s files
  4. Backing up your store’s database
  5. Download the current version of PrestaShop
  6. Prepare those downloaded files

Part 3

  1. Copy prepared files to WAMP test server
  2. Create a database locally and import your store’s backup database
  3. Run the install and upgrade script on the WAMP server
  4. Import Translations
  5. Test your store on the WAMP server

Part 4

  1. Copy prepared files to your working store
  2. Run the install and upgrade script on your working store
  3. Import Translations
  4. Generate a new .htaccess file
  5. Re-enable modules
  6. Test your working store
  7. Enable your working store – go live!

Part 5

  1. What do you do if your update fails?
  2. Delete the files from your live site
  3. Upload backup files
  4. Delete the database from your live store
  5. Create a new database
  6. Import the backup database
  7. Import translations
  8. Enable your store

If you want to learn more about how how to access these Upgrade PrestaShop videos, check out PrestaShop 1.4 Tutorials.

Learn PrestaShop 1.4 Fast!

Curt Donohue

Curt Donohue is a PrestaShop enthusiast and the creator of PrestaTraining.com as well as PrestaShop 1.4 Tutorials.

Facebook Twitter LinkedIn 

If you enjoyed this article, get email updates (it's free).