Jump to content

How to upgrade prestashop module 1.6 to 1.7 in code side


zambooz

Recommended Posts

Please find the below point which need to be followed

1. Check the hook , whether it exist in PS 1.7 or not, if not then find an alternative hook for that.

2. Also check whether you are using any default function which may not exist in ps 1.7

3. In ps 1.6 , for front controller we use "$this->setTemplate('stores.tpl');" but in PS 1.7 , we replace that with "$this->setTemplate('{module_name}/views/templates/front/stores.tpl');" 

 

If still the module doesnt work, then kindly debug the same line by line after enabling the debug mode. please enable the debug mode from the directory

config/defines.inc

Change: define('_PS_MODE_DEV_', false);

To: define('_PS_MODE_DEV_', true);

 

Link to comment
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
×
×
  • Create New...