В шаблоне видно то, что вы определили для него
public function hookDisplayHome($params)
{
$this->smarty->assign(
array(
'products' => HomeFeatured::$cache_products,
'myvar' => $this->myvar,
'add_prod_display' => Configuration::get('PS_ATTRIBUTE_CATEGORY_DISPLAY'),
'homeSize' => Image::getSize(ImageType::getFormatedName('home')),
)
);
return $this->display(__FILE__, 'homefeatured.tpl');
}
в шаблоне tpl
{$myvar}