Jump to content

¿prestashop 1.7 header in theme blog wordpress? solution for PS 1.6 OK


gusman126

Recommended Posts

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

  • 6 months later...
  • 1 year later...
  • 1 year later...
  • 1 month later...
  • 9 months later...
  • 2 weeks later...

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...