Hi!
I'm wondering if I can use the PrestaShop template inheritance feature, to override a frontController meta_description from any module.
Based on the documentation seems that it can be done, but I have not been able to do it.
I tried the following code:
The module PHP
public function hookHeader($params)
{
return $this->display(__FILE__, 'views/templates/hook/_head_seo.tpl');
}
and the _head_seo.tpl
{extends file='page.tpl'}
{block name='head_seo_description'} Some new fancy meta description {/block}
Or am I approaching things in the wrong way?
Thanks!