Hooks


Liste hooks Prestashop 1.6
Doc balancer hooks dans un module

Ajouter du CSS ou du JS

public function hookDisplayHeader($params)
{
	$this->context->controller->addCSS( _MODULE_DIR_ . 'presta_pop/view/css/presta_pop.css' );
	// ...
}
public function hookDisplayFooter($params)
{
	$this->context->controller->addJS( _MODULE_DIR_ . 'presta_pop/view/js/displayMessage.js' );
	// ...
}