
As to the footer, capability to modify it is essential while customizing the store.
For instance, if you want to change its position, open the following file: themes/[you_theme]/footer.tpl and move {$HOOK_FOOTER} to any place.
What about footer content? Well, to change it, you need to develop a module, which will use footer hook. Here is module structure:
custom_footer.zip/custom_footer/custom_footer.php:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 |
<?php if (!defined('_PS_VERSION_')) { exit; } class custom_footer extends Module { public function __construct() { $this->name = "custom_footer"; $this->tab = "front_office_features"; $this->version = "1.0.0"; $this->author = "author"; parent::__construct(); $this->displayName = $this->l("Custom footer"); $this->description = $this->l("Custom footer"); |
1 2 3 4 5 6 7 8 |
} public function install() { return (parent::install() and $this->registerHook('footer')); } public function uninstall() |
1 2 3 4 5 6 7 8 9 10 11 12 |
{ return (parent::uninstall() and $this->unregisterHook('footer')); } public function hookFooter($params) { $content = 'CONTENT'; $this->smarty->assign('footer', $content); return $this->display(__file__, 'tpl/content.tpl'); } } ?> |
custom_footer.zip/custom_footer/content.tpl:
1 |
{$footer} |
Module position among other modules can be changed in this hook with the help of Modules -> Positions.

Partner With Us
Looking for a partner to grow your business? We are the right company to bring your webstore to success.
Talk to Andrey
thanks