Jump to content

How to input PHP code in PrestaShop footer


Recommended Posts

I wan input this php code in my footer / every page

<?php include_once("facebook-live-chat/index.php");
 live_chat_facebook("https://www.facebook.com/olshdddd","http://mywebsete.com");
 ?>

can u help me ? please

 

i use prestashop last version

Edited by awenk (see edit history)
  • Like 1
Link to comment
Share on other sites

If you don't want to create a specific new module, you can edit an existing one (be aware of upgrades though!) that uses hookDisplayFooter
It might display oddly that way though, you should better assign live_chat_facebook to a variable and return it at the end of the method

Link to comment
Share on other sites

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