Jump to content

[gelöst]anmelde/abmelde Button


andre60

Recommended Posts

Im Standardumfang von PrestaShop ist ein Modul " blockuserinfo" vorhanden. Dieses wird im Normalfall in den Bereich TopOfPage(s) eingehängt und bietet immerhin schon mal einen anmelden / abmelden Link, den müsste man nur noch mit CSS "hübsch"  machen.

 

LG Klaus / Lockesoft

Link to comment
Share on other sites

in meinem template blockuserinfo.tpl fehlen meiner meinung nach die zeilen zur an- abmeldung.

wie könnte ich diese korrekt einfügen?

 

 

<!-- Block user information module HEADER -->
 
 
<div id="header_user">
<ul id="header_nav">
{if !$PS_CATALOG_MODE}
<li id="shopping_cart">
          <strong class="opancart"></strong>
<b>
<span class="ajax_cart_quantity{if $cart_qties == 0} hidden{/if}">{$cart_qties}</span>
<span class="ajax_cart_product_txt{if $cart_qties != 1} hidden{/if}">{l s='product' mod='blockuserinfo'}</span>
<span class="ajax_cart_product_txt_s{if $cart_qties < 2} hidden{/if}">{l s='products' mod='blockuserinfo'}</span>
<span class="ajax_cart_total{if $cart_qties == 0} hidden{/if}">
{if $cart_qties > 0}
{if $priceDisplay == 1}
{assign var='blockuser_cart_flag' value='Cart::BOTH_WITHOUT_SHIPPING'|constant}
{convertPrice price=$cart->getOrderTotal(false, $blockuser_cart_flag)}
{else}
{assign var='blockuser_cart_flag' value='Cart::BOTH_WITHOUT_SHIPPING'|constant}
{convertPrice price=$cart->getOrderTotal(true, $blockuser_cart_flag)}
{/if}
{/if}
</span>
<span class="ajax_cart_no_product{if $cart_qties > 0} hidden{/if}">{l s='empty' mod='blockuserinfo'}</span>
</b>
</li>
{/if}
 
{*<li id="header_user_info">
{l s='Welcome' mod='blockuserinfo'}
{if $logged}
<a href="{$link->getPageLink('my-account', true)}" class="account"><span>{$cookie->customer_firstname} {$cookie->customer_lastname}</span></a>
<a href="{$link->getPageLink('index', true, NULL, "mylogout")}" title="{l s='Log me out' mod='blockuserinfo'}" class="logout">{l s='Log out' mod='blockuserinfo'}</a>
{else}
<a href="{$link->getPageLink('my-account', true)}" class="login">{l s='Log in' mod='blockuserinfo'}</a>
{/if}
</li>
*}
</ul>
</div>
<!-- /Block user information module HEADER -->
 
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...