gusman126 Posted July 26, 2018 Share Posted July 26, 2018 When using the version of Prestashop 1.6 and the Wordpress system, you can edit the wordpress template to show the prestashop header or header. This is done by creating a theme son of wordpress. in the header.php file the following code is added <?php require_once(dirname(__FILE__).'/../../../../config/config.inc.php'); require_once(dirname(__FILE__).'/../../../../header.php'); require_once(dirname(__FILE__).'/../../../../init.php'); ?> and in the file footer.php the following code <?php require_once(dirname(__FILE__).'/../../../../config/config.inc.php'); require_once(dirname(__FILE__).'/../../../../footer.php'); ?> The problem is that the prestashop 1.7 version does not have these files, so it can not be done. What solution is there? Link to comment Share on other sites More sharing options...
i12fehea Posted February 1, 2019 Share Posted February 1, 2019 Hello, have you found any solution? I have the same problem Link to comment Share on other sites More sharing options...
elfakhar Posted February 5, 2020 Share Posted February 5, 2020 (edited) Hi @gusman126 is there any solution for prestashop 1.7 version Thanks. Edited February 5, 2020 by elfakhar (see edit history) Link to comment Share on other sites More sharing options...
sylarlocke Posted March 16, 2021 Share Posted March 16, 2021 I'm the same situation, I don't find these file and then I have errors in wordpress page. Link to comment Share on other sites More sharing options...
FamousGuest Posted May 11, 2021 Share Posted May 11, 2021 Hi everyone, Looking for a solution too for PS 1.7. Did you guys find something about it ? Link to comment Share on other sites More sharing options...
olator Posted March 8, 2022 Share Posted March 8, 2022 Hello, did anyone of you found a solution to this? I'm currently setting up a WP+Prestashop web site and would like to display Prestashop header/footer in Wordpress pages. Thank you very much Link to comment Share on other sites More sharing options...
Jimbo5 Posted March 22, 2022 Share Posted March 22, 2022 Same problem in 1.7. Any solution? 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