Jump to content

{if $logged} ignored in catalog mode


Recommended Posts

Hello!

 

When I add a simple test code

 

{if $logged}
     <p>Hello, you are logged in</p>
{/if}
 

to any tpl page within my template it doesn't work. the code seems to be ignored by the catalog mode.

 

Is this a bug or can I change this behaviour somewhere?

 

thx, piku

 

Link to comment
Share on other sites

I am trying to simply hide the downloads of attachments in catalog mode

if (only if) the user is not logged in.

 

Put differently:

I want to offer free downloads on product pages only for registered users while the shop is set to catalog  mode only.

 

that's it basically but I really tested and the code line above works once I disable catalog mode.

 

I guess there must be some special condition for user rights within catalog mode.

 

Any idea, EL Patron?

 

:-)

Edited by piku (see edit history)
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...