Contact Us

Email

support@watchdo.gs

Phone

+1 (702) 727-3738

    How to check Magento version on a web store

    Rumor has it Magento gurus can recognize Magento store from the first glance on the screen

    How to check Magento version on a web store

    Rumor has it Magento gurus can recognize Magento store from the first glance on the screen. Within seconds they can tell exactly which of the Magento’s version is used to run the store. How cool is that?

    So if you’re looking how to find Magento version in code, scroll down, please. In this part I’ll tell you about the tricks without coding.

    First option is for lazy Chrome users.

    There are two Chrome extensions that will make a pro in web technologies detection. The first one is Wappalyzer which is a cross-platform utility that reveals the technologies used on websites.

    Wappalyzer uncovers the technologies used on websites.

    It detects content management systems, ecommerce platforms, web frameworks, server software, analytics tools and many more.

    The second one is Version Check for Magento. Free version will show Magento version.

    It is quite easy to handle for the stores that do not hide Magento version.

    This hidden Magento version looks quite challenging for all the tools that check Magento version in the web store. Luckily there is one solution that knows all about Magento sites. And it’s

    And it’s MageReport.com, your second option

    This free tool will open up most of the secrets for you. By the way, it will help you to check the store’s security status, installed security patches and even site’s vulnerabilities. 

    MageReport.com is the best amongst its peers. Let’s see why with the following example:

    This is an awesome shoe store. And most of the tools have failed and unable to find Magento version of this store. 

    MageScan.com and MagentoVersion.com can’t determine Magento version in this case 

    Only MageReport.com coped

    The third option –  Add /magento_version

    Just add /magento_version after your domain URL and voila

    In some cases that doesn’t work though.

    The 4th option. How Programmatically Check Magento Version (Magento 2).

    You have to inject \Magento\Framework\App\ProductMetadataInterface into your constructor.

     

    protected $productMetadata;
    
    public function __construct(
         ...
         \Magento\Framework\App\ProductMetadataInterface $productMetadata,
         ...
     ) {
         $this->productMetadata = $productMetadata;
         parent::__construct(...);
     }

     

    Then you can get current Magento version by (assuming that ProductMetadataInterface object is assigned to

    $productMetadata field):
     $version = $this->productMetadata->getVersion();

    And edition (Community/Enterprise) by:

     $edition = $this->productMetadata->getEdition();

     

    Post a Comment