PrestaShop Documentation, PrestaShop Tutorials

PrestaShop how to find version from files

You can find the version of PrestaShop from files in several ways:

Method 1: Check config/settings.inc.php (PrestaShop 1.6 and older)

Open:

/config/settings.inc.php

Search for:

define('_PS_VERSION_', '1.6.x.x');

Method 2: Check app/AppKernel.php (PrestaShop 1.7)

Open:

/app/AppKernel.php

Look for something like:

const VERSION = '1.7.x.x';

Method 3: Check src/Core/Version.php (PrestaShop 8)

Open:

/src/Core/Version.php

You may see:

public const VERSION = '8.x.x';

Method 4: Check composer.json

Open:

/composer.json

Search for:

"prestashop/core": "8.x.x"

Method 5: Use PHP file (works on most versions)

Create a file like version.php in root:

<?php
include('config/config.inc.php');
echo _PS_VERSION_;

Open in browser:

https://yourdomain.com/version.php

It will display:

8.1.5

Delete the file after checking for security.


Official documentation:
PrestaShop Developer Documentation

About zohaibk

We develop useful addons for #E-Commerce and #CRM software to provide extra features.#PrestaShop,#Magento,#SugarCRM,#Vtiger & #Android #apps
View all posts by zohaibk →