My account not working

Perfectt
New Member
1 0 0

Hi everybody in my site https://perfecttrainers.co.uk/ my account functionality not working also you can see that login register and my account link is missing in header i can paste here the backened code which i think is incorrect kindly help me out on this you can see that in header my account. i am posting here my header.liquid file code kinldy correct  it also please see that if else condition is not correct

<div class="site-header_myaccount dropdown">
<div class="myaccount-title dropdown-toggle label-header" data-toggle="dropdown">
<i class="icon-account d-lg-none d-md-block"></i>
<span class="d-lg-block d-md-none">{{ 'layout.customer.title' | t }}</span>
</div>
<div class="account-list dropdown-menu dropdown-menu-right" id="_desktop_account_list">
<div class="nov_sideward_content">
<div class="account-list-content">
{% if shop.customer_accounts_enabled %}
{% if customer %}
<div>
<a class="myaccount" href="{{ shop.secure_url }}/account" rel="nofollow" title="{{ 'layout.customer.account' | t }}">
<i class="icon-myaccount d-inline-block"></i>
<span>{{ 'layout.customer.account' | t }}</span>
</a>
</div>
<div>
<a class="logout" href="{{ shop.secure_url }}/account/logout" rel="nofollow" title="{{ 'layout.customer.log_out' | t }}">
<i class="icon-logout d-inline-block"></i>
<span>{{ 'layout.customer.log_out' | t }}</span>
</a>
</div>
{% else %}
<div>
<a class="login" href="{{ shop.secure_url }}/account/login" rel="nofollow" title="{{ 'layout.customer.log_in' | t }}">
<i class="icon-login d-inline-block"></i>
<span>{{ 'layout.customer.log_in' | t }}</span>
</a>
</div>
{% if shop.customer_accounts_optional %}
<div>
<a class="register" href="{{ shop.secure_url }}/account/register" rel="nofollow" title="{{ 'layout.customer.create_account' | t }}">
<i class="icon-register d-inline-block"></i>
<span>{{ 'layout.customer.create_account' | t }}</span>
</a>
</div>
{% endif %}
{% endif %}

<div>
<a class="check-out" href="{{ shop.secure_url }}/checkout" rel="nofollow" title="{{ 'layout.customer.checkout' | t }}">
<i class="icon-checkout d-inline-block"></i>
<span>{{ 'layout.customer.checkout' | t }}</span>
</a>
</div>
<div>
<a class="wishlist" href="/pages/wishlist" rel="nofollow" title="{{ 'layout.customer.my_wishlists' | t }}">
<i class="icon-wishlist d-inline-block"></i>
<span>{{ 'layout.customer.my_wishlists' | t }}</span>
</a>
</div>
</div>
</div>
</div>
</div>

0 Likes