Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to check if a site runs on magento?

Is there any way to check if a given website runs on Magento? Looking for a programmatic way. I have tried to look in the documentation, but to no avail.

like image 600
therealblee Avatar asked Nov 28 '15 00:11

therealblee


People also ask

How do I find Magento URL?

In order to check the Magento version, you need to log into your Magento Admin Panel. Once you scroll down the page, you will see the Magento version in the bottom (footer) right corner.

How do I know if I have Magento 1 community or enterprise?

You can check using Magento admin panel, Click On Sales Tab from left panel, If Archive is display in your sub navigation, Its enterprise feature.

Can you build a website with Magento?

Build a Magento Website for Small BusinessOwners of small businesses can create an eCommerce website with Magento by themselves. Below you can see an overview of the process with links to useful resources. The process is quite easy and you can set up your store and make it live within days.


2 Answers

You can check from websites like http://www.builtwith.com/.

There are many browser extensions also available to check website's technology.

If you want to check by manual debugging, there are many ways to find whether a site is running on Magento or not.

  • Check page source of any page, if it has like skin/frontend
  • In address bar, open url /downloader, if it opens magento connect login page.
  • In address bar, open url /install.php, if site is Magento site, then it will show following error:

    FAILED ERROR: Magento is already installed

  • Another clue can be admin url. Most of Magento stores don't bother to change admin url. If it opens by hitting /index.php/admin and shows Magento somewhere on page, then it is 100% running on Magento Platform.

  • Magento/Varien can be found in page source if a website is built with magento.

Note: All these manual instructions are for magento version < 2.0

I hope, this will help you.

like image 68
Mohit Kumar Arora Avatar answered Sep 30 '22 19:09

Mohit Kumar Arora


By using the page view source, it can be easily identified whether site is running on Magento or not with a more specific version.

Magento 2: Mage cookies script tag will be as follows:

<script type="text/x-magento-init">
{
    "*": {
        "mage/cookies": {
            "expires": null,
            "path": "/",
            "domain": ".www.example.com",
            "secure": false,
            "lifetime": "3600"
        }
    }
}

Magento 1: Mage cookies script tag will be as follows:

<script type="text/javascript">
//<![CDATA[
Mage.Cookies.path     = '/';
Mage.Cookies.domain   = '.example.com';
//]]>
</script>
like image 31
sandip Avatar answered Sep 30 '22 19:09

sandip