This module adds a smarty function to redirect the user directly from a template
- Copy the module into
<thelia_root>/local/modules/
directory and be sure that the name of the module is SmartyRedirection. - Activate it in your thelia administration panel
You can use the {phone}
or {desktop}
return true
{if {phone}}
View Phone
{/if}
{if {desktop}}
View Desktop
{/if}