diff --git a/ecomailemailmarketing/ecomailemailmarketing.php b/ecomailemailmarketing/ecomailemailmarketing.php index 20a2cf7..37a9111 100644 --- a/ecomailemailmarketing/ecomailemailmarketing.php +++ b/ecomailemailmarketing/ecomailemailmarketing.php @@ -30,7 +30,7 @@ public function __construct() $this->module_key = '3c90ebaffe6722aece11c7a66bc18bec'; $this->name = 'ecomailemailmarketing'; $this->tab = 'emailing'; - $this->version = '2.0.21'; + $this->version = '2.0.22'; $this->author = 'Ecomail'; $this->need_instance = 0; $this->ps_versions_compliancy = ['min' => '1.7.0.0', 'max' => _PS_VERSION_]; @@ -112,7 +112,7 @@ public function setHooks(): bool return $this->registerHook('actionCustomerAccountAdd') && $this->registerHook('actionValidateOrder') - && $this->registerHook('displayFooter') + && $this->registerHook('displayAfterBodyOpeningTag') && $this->registerHook('actionCustomerNewsletterSubscribed') && $this->registerHook('actionCartSave') && $this->registerHook('actionCustomerAccountUpdate') @@ -770,7 +770,7 @@ public function hookActionCartSave(array $params): void } } - public function hookDisplayFooter(array $params): string + public function hookDisplayAfterBodyOpeningTag(array $params): string { $this->context->smarty->assign( [