Hide sidebox my account when not logged in

Hello is it possible to hide sidebox my account when a visitor is not logged in? and also the box where a customer can fill in the quanty what they want to order?


Jan Roel


you can update your main.tpl to not show the myaccount include

presently you will have this line in your main.tpl

{include file=“side_boxes/my_account.tpl”}

if you want to check if logged in first use

{if $auth.user_id}

{include file=“side_boxes/my_account.tpl”}


good luck

great it works thank you

I recommend showing at least a box with a login form. Otherwise, how are they going to login, other than at the checkout.

In top menu when you click on My account it asks you to login