Shopify themes, liquid, logos, and UX
Guys, I do have customer accounts enabled in Shopify settings, also it’s enabled in the theme settings. The customer account button shows up in the header, but when I click it - nothing happens. Header liquid file seems ok. Don’t really understand what’s wrong. Anyone? The theme is Printella
The site is here - printsol.lv
I appreciate your help
Hi @vadmore
The link for the account page is not added to the account icon.
Add href="/account" to the <a> tag.
Hi
the header.liquid part for the icons is as folows -
{% if shop.customer_accounts_enabled and section.settings.show_account %}
<div class="dt-sc-header-toggle">
<a class="user-group dt-sc-toggle"> {% render 'icon-login' %}</a>
<ul class="dt-sc-toggle-content">
{% if customer %}
<li><a href="{{ routes.account_url}}" class="site-header__icon site-header__account">
{{ 'layout.customer.account' | t }}
</a>
</li>
<li><a href="{{ routes.account_logout_url }}" class="site-header__icon site-header__account">
{{ 'layout.customer.log_out' | t }}
</a>
</li>
{% else %}
<li> <a href="{{ routes.account_login_url }}" class="site-header__icon site-header__account">
{{ 'layout.customer.log_in' | t }}
</a>
</li>
<li> <a href="{{ routes.account_register_url }}" class="site-header__icon site-header__account">
{{ 'layout.customer.create_account' | t }}
</a>
</li>
{% endif %}
Hello @LuffyOnePiece
The customer accounts icon in my Shopify store header is unclickable, when I hover over it nothing happens, and even when I click it nothing happens. I am using the dawn theme btw. Please help. Thanks!
Hi @Butter_Dog ,
Can you please send me a preview url of the store?
Thank you
Hey Community! As the holiday season unfolds, we want to extend heartfelt thanks to a...
By JasonH Dec 6, 2024Dropshipping, a high-growth, $226 billion-dollar industry, remains a highly dynamic bus...
By JasonH Nov 27, 2024Hey Community! It’s time to share some appreciation and celebrate what we have accomplis...
By JasonH Nov 14, 2024