Skip to content

Instantly share code, notes, and snippets.

@shopifypartners
Last active September 11, 2020 17:34
Exclude breadcrumb snippet from rendering on specific templates using unless statement - https://www.shopify.com/partners/blog/breadcrumb-navigation
{% unless template == 'index' or template == 'cart' or template == 'list-collections' or template == '404' %}
{% comment %} snippet code goes here {% endcomment %}
{% endunless %}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment