zambooz Posted January 30, 2023 Share Posted January 30, 2023 (edited) I have a prestashop module which is working on 1.6 but when i want to install my own module to 1.7 it is not working. What am i suppose to do ? Edited January 30, 2023 by zambooz type mistake (see edit history) Link to comment Share on other sites More sharing options...
Knowband Plugins Posted January 30, 2023 Share Posted January 30, 2023 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 More sharing options...
idnovate.com Posted January 31, 2023 Share Posted January 31, 2023 This question is too generic 😅 What exactly is not working? Are you getting an error? Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now