Action and Display in Prestashop
- action<Something>
- Triggered by specific events that take place in PrestaShop.
- display<Something>
- Result in something being displayed, either in the front-end or the back-end.
public function hookDisplayHeader(array $params)
{
// Your code.
}
public function hookDisplayFooter(array $params)
{
// Your code.
}
public function hookActionOtherHook(array $params)
{
// Your code.
}
Hook::exec('actionCartUpdateQuantityBefore', $data);
Hook::exec('actionCartUpdateQuantityBefore', $data);
Comments
Post a Comment