Hello, Magento folks,
When it comes to know the version of Magento, there are several ways to do that. Today, we are going to learn how to check your Magento 2 version.
Magento is one of the most used CMS platforms to build your Ecommerce store. With its frequent upgrades, it’s hard to keep track of what version of the Magento 2 you are using. It is very essential when it comes to upgrading your Magento 2 version. Every version has its advantages and disadvantages.
To upgrade the Magento version, or install a new extension, first, you need to check the version of the Magento because some of the extensions can only be compatible with 2.3+. In this article, I am going to list all of the ways you can check the version of your Magento 2 store.
Let’s Get Started?
Contents
The first and simple way to check the current version of the Magento 2 store is by adding the /magento_version at the end of the URL. This will show the current version of your Magento 2 store. Let’s look at an example,
This is also the simple way to know the current version of Magento on which your store is running. Just simply go to the backend of your store. At the bottom right corner of the dashboard and each backend page, you can see the current version of your Magento 2 store.
You can also get the current version of your Magento 2 store in Compose.Json file.
{ "name": "magento/magento2ce", "description": "Magento 2 (Open Source)", "type": "project", "version": "2.2.6-dev", "license": [ "OSL-3.0", "AFL-3.0" ],
You can check the version of Magento 2 using PHP codes as shown below,
echo\Magento\Framework\AppInterface::VERSION;
public function __construct( \Magento\Framework\App\ProductMetadataInterface $productMetadata ) { $this->productMetadata = $productMetadata; } public function getMagentoVersion() { return $this->productMetadata->getVersion(); }
$objectManager = \Magento\Framework\App\ObjectManager::getInstance(); $productMetadata = $objectManager->get('Magento\Framework\App\ProductMetadataInterface'); echo $productMetadata->getVersion();
Enter the below command to check the version of your Magento 2 store,
php bin/magento –version
There are several online tools available to check the version of your Magento 2 store.
So, this was it for the day. Using this simple method, you will be able to check the current version on which your Magento 2 store is running. If you found this helpful, then share this with your Magneto colleagues and partners.
Lastly, if you are facing any problem with your Magento store, then contact our support team for help. We will be happy to help you.
Happy Reading! with ❤️ from MageComp
E-commerce has transformed the way consumers shop for products and services and interact with businesses.…
The e-commerce world is constantly in flux. New tech and strategies emerge daily to help…
Hello Magento Friends, In today’s blog, we will discuss adding a header and footer to…
Hello React Native Friends, Building a visually appealing and responsive mobile app is crucial in…
We're thrilled to announce the release of Hyvä Themes 1.3.6 and 1.3.7! These latest updates…
Your e-commerce platform is surging - orders are rolling in, traffic spikes are becoming the…