Jump to content

Get version of Prestashop


carlosap
 Share

Recommended Posts

Hi, i am develop an app to interact whit webservice of prestashop but i need get the current version of prestashop that i am consulting, because depend of wich version it is, i have to change my code. Exist any webservice that give me the current version of the prestashop.

I will appreciate your support.

Share this post


Link to post
Share on other sites

Hi,

_PS_VERSION_  variable help to get the version of the PrestaShop. Below is the example and video regarding web service.

 

if (_PS_VERSION_ < '1.6') {
            $type = 'radio' ;
        } else {
            $type = 'switch' ;
        }

PrestaShop how to configure and use webservices

 

 

 

PrestaShop Tutorials Videos [How to do Tasks]

https://www.prestashop.com/forums/topic/907438-prestashop-tutorials-videos-how-to-do-tasks/

 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More