9 Ways to Check Magento Version

9 Ways to Check Magento Version

Magento, a popular and widely used E-commerce platform, keeps on releasing the updated versions with improvement and bug fixing. The store owners are expected to keep in pace with these updates to be able to offer the latest features and enhanced security to the shoppers.

However, to update the Magento version requires proficiency and thorough information about the current version. To kickstart with the upgrade process, I have compiled a list of methods to check Magento version. Pick any one and find out the Magento version installed in your store.

Methods to Check Magento Version:

  1. Check Admin Dashboard
  2. Check Composer.json file
  3. Check Composer.lock file
  4. Check via Command Line
  5. Using the Chrome Extension
  6. Check from the URL
  7. Check PHP Code
  8. Use Magento Version Checking tool
  9. Using Online Tools

Reviewing each method in detail,

  1. Check Admin Dashboard

    A very simple method, often unnoticed! Login to your admin panel and scroll to the bottom of the dashboard. You’ll find the version of your Magento installed as shown below:

    Magento 1:

    Magento 1 Admin Dashboard

    Magento 2:

    1_Admin Dashboard

    For Magento 2, if the admin theme is reformed, you need to navigate to System > Web Setup Wizard > System Upgrade to check the version instead of footer. Enter the public key and the private key to check the version as shown below:

    Admin Method for Custom Theme

  2. Check Composer.json file (For Magento 2 Only)

    Get the Magento 2 version in the root composer.json file:

  3. Check Composer.lock file (For Magento 2 Only)

    Get the Magento 2 version in the root composer.lock file:

  4. Check via Command Line (For Magento 2 Only)

    Run the below command to get the Magento version:

    For finding if the Magento version is community or enterprise edition, run the below command:

  5. Using the Chrome Extension

    1. Wappalyzer: Simply use the chrome extension to find out if the store is in Magento 1 or Magento 2  version!2_wappalyzer
    2. Version Check for Magento: A paid tool for checking the Magento version. However, with so many free methods available, it is not feasible to use the paid options.
  6. Check from the URL (For Magento 2 Only)

    If you do not want to use any tools, simply type your store domain url and add /magento_version in the address bar. Hit enter and you’ll see the results as below:

    3_Using URL

  7. Check PHP Code

    1. For Magento 1:

      Mage::getVersion() //will return the magento version

    2. For Magento 2.0.X

      echo \Magento\Framework\AppInterface::VERSION;

    3. For Magento 2.1.x to 2.3.x

      1. Using DI

      2. Using ObjectManager

  8. Use Magento Version Checking tool

    With the Magento Version Checking Tool, get the Magento version by entering the store URL.

  9. Using Online Tools

    1. MageScan:  The tool allows to check the Magento version of your store for free. Enter the URL and click the “Scan” button. You get the results as shown here:4_magescan-online tool
    2. MageReport: Not only does it check the Magento version but also gives a detailed report about the edition, security patches, default admin location, outdated server software, ransomware, and information that can be useful to secure the store!5_MageReport-online-tool

I am sure you’ll find your suitable method from this list.

Sometimes, the online tools may not give accurate results, and hence it is recommended to not rely on them all the time.

If you find a new method to check Magento version, do share them in the Comments section below. Also, feel free to discuss any doubts regarding the topic and I’d be happy to help.

If you find out that your Magento version is not the latest, it is high time you get the latest Magento upgrade. Not sure how to do it or want to avoid the tiresome task? You may check the Magento Upgrade Service 🙂

Thanks!

5
(based on 8 Reviews)

Sanjay is a co-founder at Meetanshi. He is a certified Magento developer who loves creating Magento E-commerce solutions. When he is not engrossed with anything related to Magento, he loves to play cricket.

Leave a Reply