Jump to content

No sign out or log out when I have created an account in my shop


Recommended Posts

Hi, I registered and everything functioned except for what you described.

 

The module that displays 'Sign in or..etc' on your site can be found at:

 

site root/themes/modules/blockuserinfo file blockuserinfo.tpl

 

it should check if customer is already logged in, here is an example:

 

 {if $cookie->isLogged()}
  <span>{$cookie->customer_firstname} {$cookie->customer_lastname}</span>
  ( <a href="{$link->getPageLink('index.php')}?mylogout" title="{l s='Log me out' mod='blockuserinfo'}">{l s='Log out' mod='blockuserinfo'}</a> )
 {else}
  ( <a href="{$link->getPageLink('my-account.php', true)}">{l s='Log in' mod='blockuserinfo'}</a> )
 {/if}

 

note: if you decide to modify this file, you will need to turn on smarty recompile, back office-->preferences-->performance

  • Like 1
Link to comment
Share on other sites

Thanks for your concern, the site I am working on is currently in testing mode and all prices are fake, I am sure if you want to buy a hat in the future, it will be a ot cheaper than the current price! :rolleyes:

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...