Hello i use this code for my shopify store but it wont let me click on the previous category. Can anyone make it the others clickable?
{% unless template == ‘index’ or template == ‘cart’ or template == ‘list-collections’ %}
{% if template contains ‘page’ %}
›
{{ page.title }}
{% elsif template contains ‘product’ %}
{% if collection.url %}
›
{{ collection.title | link_to: collection.url }}
{% endif %}
›
{{ product.title }}
{% elsif template contains ‘collection’ and collection.handle %}
›
{% if current_tags %}
{% capture url %}/collections/{{ collection.handle }}{% endcapture %}
{{ collection.title | link_to: url }}
›
{{ current_tags | join: ’ + ’ }}
{% else %}
{{ collection.title }}
{% endif %}
{% elsif template == ‘blog’ %}
›
{% if current_tags %}
{{ blog.title | link_to: blog.url }}
›
{{ current_tags | join: ’ + ’ }}
{% else %}
{{ blog.title }}
{% endif %}
{% elsif template == ‘article’ %}
›
{{ blog.title | link_to: blog.url }}
›
{{ article.title }}
{% else %}
›
{{ page_title }}
{% endif %}
can anyone help me?
