How can I display the shop name in a module?
I know the global variable of smarty is $shop_name
.
I tried with $Smarty.shop_name
, but didn't work
If in PHP it is $shop_name
You need to in PHP run:
$Smarty->assign('shop_name', $shop_name);
And in Smarty template:
{$shop_name}
(I don't know Prestashop so maybe $Smarty should be lower-case)