this is for breadcrumb.. i had added code in snippet & section should i share those??
URL: https://es04e0amvz2qadma-56620318792.shopifypreview.com
this is for breadcrumb.. i had added code in snippet & section should i share those??
URL: https://es04e0amvz2qadma-56620318792.shopifypreview.com
Hi @Emiway ,
Step 1: Go to Shopify Admin → Online Store ->Theme → Edit code
Step 2: Search folder snippets → Add a new snippets
Step 3: Put name is “breadcrumb”
Hope this can help you,
If our suggestions are useful, please let us know by giving it a like or marking it as a solution. Thank you ![]()
i had already added it Checkout
{% comment %}
Documentation - http://docs.shopify.com/support/your-website/navigation/creating-a-breadcrumb-navigation
{% endcomment %}
{%- capture separator -%}
{%- endcapture -%}
{%- capture home -%}
{{ ‘general.breadcrumbs.home’ | t }}
{%- endcapture -%}
{% if container == nil %}
{% assign container = ‘container-fluid’ %}
{% endif %}
{% unless template == ‘index’ %}
{% if template.name == ‘product’ %}
{{ separator }}
{% if current_tags %}
{% capture url %}/collections/{{ collection.handle }}{% endcapture %}
{{ collection.title }}
{{ separator }}
{{ current_tags | join: " + " }}
{% else %}
{{ collection.title }}
{% endif %}
{% elsif template.name == ‘blog’ %}
{{ separator }}
{% if current_tags %}
{{ blog.title }}
{{ separator }}
{{ current_tags | join: " + " }}
{% else %}
{{ blog.title }}
{% endif %}
{% elsif template == ‘article’ %}
{{ separator }}
{{ blog.title }}
{% elsif template == “customers/addresses” %}
{{ separator }}
{{ ‘customer.account.page_title’ | t }}
{{ separator }}
{{ page_title }}
{% elsif template contains ‘page’ %}
{{ separator }}
{{ page.title }}
{% elsif template contains ‘search’ %}
{{ separator }}
{{ ‘general.search.heading’ | t: count: search.results_count, terms: search.terms }}
{% else %}
{{ separator }}
{{ page_title }}
{% endif %}
Hi @Emiway ,
Step 1: Go to Shopify Admin → Online Store ->Theme → Edit code
Step 2: Search file theme.liquid
Step 3: Insert this code above tag:
Here is result:
![]()
Hope this can help you,
If our suggestions are useful, please let us know by giving it a like or marking it as a solution. Thank you ![]()