Jump to content

Recommended Posts

Hola!!

 

Me gustaría que el cliente, una vez registrado en la tienda, pudiera navegar por la misma y viera su nombre en la parte superior de la página (donde están los enlaces permanentes), o en alguna parte visible.

 

Es que me he fijado que, una vez registrado, si estás navegando por la tienda, para ver si continúas conectado tienes que ir expresamente a mi cuenta o hacer click en el botón de login, donde compruebas si se muestra tu información personal.

 

Espero respuestas!! ;)

 

Muchas gracias!!! ^_^

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

 

 

Este es el archivo completo

<!-- Block user information module NAV  -->
{if $logged}
<div class="header_user_info">
	<a href="{$link->getPageLink('my-account', true)|escape:'html'}" title="{l s='View my customer account' mod='blockuserinfo'}" class="account" rel="nofollow"><span>{$cookie->customer_firstname} {$cookie->customer_lastname}</span></a>
</div>
{/if}
<div class="header_user_info">
	{if $logged}
		<a class="logout" href="{$link->getPageLink('index', true, NULL, "mylogout")|escape:'html'}" rel="nofollow" title="{l s='Log me out' mod='blockuserinfo'}">{l s='Sign out' mod='blockuserinfo'}</a>
	{else}
		<a class="login" href="{$link->getPageLink('my-account', true)|escape:'html'}" rel="nofollow" title="{l s='Log in to your customer account' mod='blockuserinfo'}">{l s='Sign in' mod='blockuserinfo'}</a>
	{/if}
</div>
<!-- /Block user information module NAV -->

Link to comment
Share on other sites

Sí, estoy segura. No lo muestra. He desactivado el módulo blockuserinfo y lo he vuelto a activar por si acaso, pero sigue sin salir. También he comprobado los hooks y parece que están bien. Se muestra en Header (Pages html head section) y no hay ninguna excepción.

Link to comment
Share on other sites

Sí, aquí está.

<!-- Block user information module NAV  -->
<div class="header_user_info">
	{if $is_logged}
		<a class="logout" href="{$link->getPageLink('index', true, NULL, "mylogout")|escape:'html':'UTF-8'}" rel="nofollow" title="{l s='Log me out' mod='blockuserinfo'}">
			{l s='Sign out' mod='blockuserinfo'}
		</a>
	{else}
		<a class="login" href="{$link->getPageLink('my-account', true)|escape:'html':'UTF-8'}" rel="nofollow" title="{l s='Log in to your customer account' mod='blockuserinfo'}">
			{l s='Sign in' mod='blockuserinfo'}
		</a>
	{/if}
</div>
{if $is_logged}
	<div class="header_user_info">
		<a href="{$link->getPageLink('my-account', true)|escape:'html':'UTF-8'}" title="{l s='View my customer account' mod='blockuserinfo'}" class="account" rel="nofollow">
        	<span>{$cookie->customer_firstname|truncate:2:'.'|escape:'html':'UTF-8'} {$cookie->customer_lastname}</span>
        </a>
	</div>
    {else}
    <div class="header_user_info">
    	<a href="{$link->getPageLink('my-account', true)}" title="{l s='View my customer account' mod='blockuserinfo'}" rel="nofollow">{l s='Your Account' mod='blockuserinfo'}</a>
    </div>
{/if}
<!-- /Block usmodule NAV -->
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...