How to update Magento

KeithEcommerce, Web Development

Update Magento

If you’ve had your Magento store for a while, it may be running an out of date version of Magento. Modules and bugs are still being developed and worked out of Magento version 2, so we’re not recommending that to customers until later in the year. For version 1 the latest version at the moment is 1.9.2.3. You can check your Magento version by logging into the admin and looking in the footer.

View your Magento Version is in the middle of the footer of your admin area

View your Magento Version is in the middle of the footer of your admin area

If you’re a little out of date and want an upgrade we really recommend making a copy of your website files and database on a subdomain or test server. The last thing you want is your shop going down if something goes wrong!

Upgrading Magento can be a little tricky, and if you’d like someone to take a look we’d love to speak to you. If you want to go it alone this is how we recently updated Babyshoes.

  1. We turned off all the caches and disabled compilation before starting the process.
  2. Copied all of the files and had them on our local machine. Cloned the database to our test area setup on our server.
  3. Downloaded the latest version of Magento from http://www.magentocommerce.com/download. We uploaded the files to our test area as if it was a fresh install.
  4. We started to merge our old files from our Mac into the new install via FTP:
    1. Community (app/code/community)
    2. Local (app/code/local)
    3. Media
    4. Our theme files (app/design/frontend/<your package>) this could be a theme (app/design/frontend/default/<your theme>)
    5. Our skin files (app/design/frontend/<theme>)
    6. Module Admin themes (app/design/adminhtml)
    7. Module Admin skin (skin/adminhtml)
    8. Module XML files (app/etc/modules)
    9. Javascript files (js)
  5. Changed our local.xml file to point at our test database
  6. Go to the test site in a browser for everything to update

Once you see the site in your browser everything should have updated. Here’s where your work begins. Test everything! Then test it again!

Things to look out for after upgrading Magento

  • Since version 1.8 of Magento form keys need to be added to your template files. Without these you won’t be able to add products to your basket, register or checkout.
  • Modules may need updating. We found a onestep checkout and reward points modules needed reinstalling for our new version of Magento. Depending on the module you may need to make an additional purchase, so check with the module vendor.
  • Since version 1.9 of Magento you need to give blocks permission to be used or they won’t show on the store. This is located in System > Permissions > Blocks
  • Since version 1.9 of Magento order emails are sent out via the cron. We recommend AOE Scheduler for more control over this and making sure the cron task is working correctly.

Once we where 100% sure the upgraded Magento store was working, the theme files altered and modules upgraded we did the same process on the live site. As we’d tested everything beforehand, the store was offline for 10 minutes while we copied everything across.

Babyshoes now benefits from the latest security updates, patches and peace of mind they’re running the latest version of Magento.

If you have a Magento store that needs some TLC, or a long overdue update, contact us and we can give you advice and a quote on the best way to update your store.