Integrate Social Login pop-up

The app automatically integrates Social Login links to your site. But it takes a little longer to load. You can speed it up and integrate links.

1) Go to Shopify Admin panel >
Themes > Edit HTML/CSS > theme.liquid and find this code (code can be different depending on your theme):  

{% if customer %}
  Logged in as <a href="/account">{{ customer.first_name }}</a> {{ "Logout" | customer_logout_link }}
{% else %}
  {{ 'Log in' | customer_login_link }}{% if shop.customer_accounts_optional %} or {{ 'Create an account' | customer_register_link }}{% endif %}
{% endif %} 

2) Past the code above between these following codes instead of the line:



3) So it looks like this in our example:  

{% capture the_snippet_auth %} {% include 'socialshopwave-widget-auth' %}{% endcapture %}
{% if the_snippet_auth contains 'Liquid error' %}  
  {% if customer %}
    Logged in as <a href="/account">{{ customer.first_name }}</a> {{ "Logout" | customer_logout_link }}
  {% else %}
    {{ 'Log in' | customer_login_link }}{% if shop.customer_accounts_optional %} or {{ 'Create an account' | customer_register_link }}{% endif %}
  {% endif %}
{% else %}
  {{ the_snippet_auth }}
{% endif %}  

4) Click on Save button. That's it!

Also, you can put social icons anywhere. Put a line of code on any wished page using Theme Editor


{% capture the_snippet_social_login %}{% include 'ssw-widget-social-login' %}{% endcapture %}
{% unless the_snippet_social_login contains 'Liquid error' %}
  {{ the_snippet_social_login }}
{% endunless %}
 

We strongly recommend you to contact us to get professional installation on your site for free.  

Feedback and Knowledge Base