change the hook for prestashop 1.5 and more