In prestashop How to hide a particular hook module only for logged in users

1.6k Views Asked by At

In my prestashop site i have a banner image for advertising which displays in left side bar for all my inner pages.Now i need to hide the banner section only for logged in users.How to do it?

<div class="col-left sidebar">
                {$HOOK_LEFT_COLUMN}
                     {$dedalx.beauty_left_sidebar_customhtml|html_entity_decode}

</div>

This is the code used to display the banner image.

1

There are 1 best solutions below

1
On
{if !$logged}
{$htmlboxbody}
{/if}

ref here and here