diff --git a/pitticatrovaprezzi.php b/pitticatrovaprezzi.php index 8151cfa..1c715c3 100644 --- a/pitticatrovaprezzi.php +++ b/pitticatrovaprezzi.php @@ -22,7 +22,7 @@ public function __construct() { $this->name = 'pitticatrovaprezzi'; $this->tab = 'front_office_features'; - $this->version = '1.0.0'; + $this->version = '1.1.0'; $this->author = 'Pittica'; $this->need_instance = 1; $this->bootstrap = 1; @@ -46,7 +46,7 @@ public function install() reset($carriers); Configuration::updateValue('PITTICA_TROVAPREZZI_CARRIER', !empty($carriers[0]['id_carrier']) ? (int) $carriers[0]['id_carrier'] : -1); - return parent::install() && $this->installTab(); + return parent::install() && $this->installTab() && $this->registerHook('displayFooterAfter'); } public function uninstall() @@ -178,9 +178,9 @@ protected function renderForm() return $helper->generateForm($fields_form); } - public function hookDisplayCustomerAccount($params) + public function hookDisplayFooterAfter($params) { - return $this->display(__FILE__, 'displayCustomerAccount.tpl'); + return $this->display(__FILE__, 'displayFooterAfter.tpl'); } public function getFilePath() diff --git a/views/templates/hook/displayFooterAfter.tpl b/views/templates/hook/displayFooterAfter.tpl new file mode 100644 index 0000000..a795bf6 --- /dev/null +++ b/views/templates/hook/displayFooterAfter.tpl @@ -0,0 +1,11 @@ +{** + * 2020 Pittica S.r.l.s. + * + * @author Lucio Benini + * @copyright 2020 Pittica S.r.l.s. + * @license http://opensource.org/licenses/LGPL-3.0 The GNU Lesser General Public License, version 3.0 ( LGPL-3.0 ) + *} +
+ Presente su TrovaPrezzi + Presente su ShoppyDoo +