Categories: How To

How to Upgrade Magento

The reason behind popularity of Magento is, it keeps updating by means of providing new features and security updates to make Magento stores secured from potential attacks. Keeping up to date with Magento is important in order to leverage new features and most importantly to safeguard your Magento stores.

Today we are going to learn steps to Update Magento in detail:

Before you begin upgrading Magento:

  • Don’t forget to take backup of both files and database. It helps to restore data in case of crash while performing upgrade.
  • Deeply go through version notes to better understand the reason behind upgrade and changes introduced with the update.
  • Try updating Magento in staging version prior to upgrading the live site. It helps compatibility of the store with the newer version.
  • Prefer a time when you have least traffic on your site.

Methods for Magento Upgrade:

There are two methods one of which you can use to upgrade your Magento:

  1. Magento Connect
    • Log in to Magento Connect. Go to System -> Magento Connect -> Magento Connect Manager.
    • Select preferred state as stable in Settings tab than click on check for upgrade button in extensions tab.
    • It is possible that there would not be pear package available in Magento connect, it’s because you have no package xml files inside your var/package or someone might have removed it. You need to place it from current version.
    • Click on Mage_All_Latest:1.9.2.4, check on clear session after successfully upgraded.
    • Click on commit changes.
  2. Manually Copy latest version (1.9.2.4) and paste into current Magento root directory and you’re done.

Note: If you are using 1.4.1 or earlier version, you first need to upgrade to 1.4.2 and then you can upgrade to any higher version directly.

More steps for Magento Updates 1.9.2.2 or higher version:

If you have performed Magento update for 1.9.2.2 or higher version, you need to upgrade Magento extensions as well to make compatible with SUPEE 6788.
Apart from following Magento upgrade steps, you need to additionally follow below steps:

  • After Magento version upgrade, customers will not be able to log in to the account as the installed theme does not support a variable called form_key. To make it work, add the following code snipped after

      to every of your login.phtml for theme:

    getFormKey(); ?>” />
  • Shopping cart does not update of the product quantity after you upgrade Magento to 1.9.2.2 version. Place the below code to your app/design/frontend/yourthemepackage/yourtheme/template/checkout/cart.phtml file:
    getBlockHtml(‘formkey’); ?>
    into the line 50 just after 
    getUrl(‘checkout/cart/updatePost’)?>” method=”post”>
  • If you are using blocks to display something in frontend, it will stop working as after updating Magento, custom blocks have lost the permissions to support upgrade. Go to System -> Permisson -> Blocks and allow permission for all of your custom blocks to make it displayed on frontend.

Tell how tricky it was for you to upgrade Magento and how this blog helped you to ease your work. If you are still facing any issue, comment below to get our help.

Click to rate this post!
[Total: 3 Average: 5]
Dhiren Vasoya

Dhiren Vasoya is a Director and Co-founder at MageComp, Passionate 🎖️ Certified Magento Developer👨‍💻. He has more than 9 years of experience in Magento Development and completed 850+ projects to solve the most important E-commerce challenges. He is fond❤️ of coding and if he is not busy developing then you can find him at the cricket ground, hitting boundaries.🏏

Recent Posts

How to Integrate ChatGPT with Laravel Application?

In this guide, we'll explore how to integrate ChatGPT, an AI-powered chatbot, with a Laravel…

3 days ago

What are Net Sales? How to Calculate Your Net Sales?

In the world of business, understanding financial metrics is crucial for making informed decisions and…

5 days ago

Magento 2 Extensions Digest April 2024 (New Release & Updates)

Welcome to the MageComp Monthly Digest, where we bring you the latest updates, releases, and…

5 days ago

The ABCs of Geofencing: Definition, Features and Uses

In this era, businesses are always on the lookout for ways to engage with their…

6 days ago

How to Delete Product Variant in a Shopify Remix App using GraphQL Mutations?

Managing a Shopify store efficiently involves keeping your product catalog organized. This includes removing outdated…

7 days ago

6 Innovative Tools Revolutionizing E-Commerce Operations

E-commerce has transformed the way consumers shop for products and services and interact with businesses.…

1 week ago