Show contents for logged user, and different for unlogged user (in PrestasShop)

Hi I have an issue in my prestashop website. Unfortunately i removed the sign in button and my account button from navigation bar. I did added my account link for logged user by using html box. I want to add sign in button. Can you help me. I dont have money to buy pro version of html box
html block prestashop modulehtml block nice editor easy in usehtml block prestashop module

Simple smarty code to achieve what you expect

Hello,
if you use free version of the module it is not possible to achieve what you expect (with usage of module configuration page). In html box pro it is possible.

The only one way to achieve your expectactions is a modification of module .tpl file
Open it and add there code like:
{if !Context::getContext()->customer->isLogged()}
Here sign in button for unlogged users
{/if}
this text will appear for unlogged users only.

best regards,
milos
Share on Google Plus

About VEKIA

This is a short description in the author block about the author. You edit it by entering text in the "Biographical Info" field in the user admin panel.
    Blogger Comment

0 comments:

Post a Comment