Had spent some time trying to show content only if user is logged or not, there is a paid module to make it easier but i figured out.
In any .tpl file you can use:
you can also use ! before $ to use if customer is not logged like:
It might be easy for those who already know more about prestashop but i struggled a lot for it, so there it is.
In any .tpl file you can use:
{if $customer.is_logged} **CONTENT** {/if}
you can also use ! before $ to use if customer is not logged like:
{if !$customer.is_logged} **CONTENT** {/if}
It might be easy for those who already know more about prestashop but i struggled a lot for it, so there it is.