Jump to content

Edit the homepage of a prestashop template or default template.


Recommended Posts

Hi.

 

You need to hook the module to 'displayHome'

 

$this->registerHook('displayHome')

 

Then you need to create the function for it:

public function hookDisplayHome($params)
 {

//code goes here

}

 

Look at the 'editorial' module as an example.

 

Regards.

Robin.

The CartExpert Team

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