Supply Theme - Login/Create Account in Header - Help Please

New Member
1 0 0

Hi!

    I'm working from the Supply theme and customizing a store front pre-launch, and I am having a heck of a time getting the login/create account links to show up in my header. I'm sure it's something simple that I'm overlooking, because I see it included in the theme.liquid code header section. I've got customer accounts set to optional, and I thought this part of the theme.liquid code would have it covered:

 


<body id="{{ page_title | handle }}" class="{% if customer %}customer-logged-in {% endif %}template-{{ template | replace: '.', ' ' | truncatewords: 1, '' | handle }}" >

  <header class="site-header" role="banner">
    <div class="wrapper">

      <div class="grid--full">
        <div class="grid-item large--one-half">
          {% if template == 'index' %}
            <h1 class="header-logo" itemscope itemtype="http://schema.org/Organization">
          {% else %}
            <div class="h1 header-logo" itemscope itemtype="http://schema.org/Organization">
          {% endif %}
            {% if settings.logo_use_image %}
              <a href="/" itemprop="url">
                <img src="{{ 'logo.png' | asset_url }}" alt="{{ shop.name }}" itemprop="logo">
              </a>
            {% else %}
              <a href="/" itemprop="url">{{ shop.name }}</a>
            {% endif %}
          {% if template == 'index' %}
            </h1>
          {% else %}
            </div>
          {% endif %}
        </div>
       

        <div class="grid-item large--one-half text-center large--text-right">
          {% if settings.header_message != blank or shop.customer_accounts_enabled %}
            <div class="site-header--text-links{% if settings.header_message == blank %} medium-down--hide{% endif %}">
              {% if settings.header_message != blank %}
                {{ settings.header_message }}
              {% endif %}

              {% if shop.customer_accounts_enabled %}
                <span class="site-header--meta-links medium-down--hide">
                  {% if customer %}
                    {% capture first_name %}<a href="/account">{{ customer.first_name }}</a>{% endcapture %}
                    {{ 'layout.customer.logged_in_as_html' | t: first_name: first_name }} &middot; {{ 'layout.customer.log_out' | t | customer_logout_link }}
                  {% else %}
                    {{ 'layout.customer.sign_in' | t | customer_login_link }}
                    <span class="site-header--spacer">{{ 'layout.customer.or' | t }}</span>
                    {{ 'layout.customer.create_account' | t | customer_register_link }}
                  {% endif %}
                </span>
              {% endif %}
             
            </div>

            <br class="medium-down--hide">
          {% endif %}

          {% include 'search-bar' %}

          <a href="/cart" class="header-cart-btn cart-toggle">
            <span class="icon icon-cart"></span>
            {{ 'layout.cart.cart' | t }} <span class="cart-count cart-badge--desktop {% if cart.item_count == 0 %}hidden-count{% endif %}">{{ cart.item_count }}</span>
          </a>
        </div>
      </div>

    </div>
  </header>

0 Likes
Shopify Staff
Shopify Staff
565 4 98

Hi Amber!

Liam here from Shopify - thank you for your question :)

Great to see you are experimenting with different options in the lead up to your store launch! I have checked your store and the Login/Create Account buttons are actually in your Header. However they are hidden because the text of the buttons are white.  

If you watch this video, you will see that you can make the text visible by changing the colour settings within the customise theme section. All you need to do is choose a colour you like and you can start building up a customer database- best of luck with the launch!

Hope this helps Amber, if you have any other questions, just let me know!

Cheers,
Liam

Shopify Guru
support@shopify.com

0 Likes
Shopify Partner
3 0 0

Hi Liam,

I tried changing the color of both the background and the text but the Login/Create account buttons are still not there.

I see this post is marked outdated. Is there a new solution? 

Thanks!

-Niwo

 

 

0 Likes
Shopify Partner
3 0 0

Never mind. I figured it out. Needs to enable "customer account" in admin. 

0 Likes
New Member
5 0 0

I am using ella theme and i am facing some issue in add cart is avalable in same computer but when i login my account in other computer cart is not available.

0 Likes
New Member
1 0 0

did not get it 

0 Likes