Текст появился, значит хук цепляет шаблон. Можно добавлять определение smarty переменных
public function hookMyCustomHook($params)
{
$this->smarty->assign(
array(
'products' => /*здесь свой массив товаров*/,
'imgSize' => Image::getSize(ImageType::getFormatedName('тип изображений')),
/* и т.д.*/
)
);
return $this->display(__FILE__, 'mymodule.tpl');
}
В шаблоне mymodule.tpl добвлять показ товаров
{foreach from=$products item='product' name=product}
...