How to remove "All Collections" from breadcrumbs - Atlantic theme

I am trying to remove part of the breadcrumbs that are showing on our site. We use the Atlantic theme.

I would like the breadcrumbs to NOT INCLUDE the breadcrumb that is showing as “Collections” - this links to https://maiwa.com/collections - a wonky page listing too many collections. We would like it to ONLY show…

Home / Maiwa Clothing (the collection navigated through) / product title

The code we are using is as follows:

{% if section.settings.show-breadcrumbs %}

Home

{% if template contains “product” %}

{% if collection %}

/ {{ ‘general.breadcrumbs.collections’ | t }} / {{ collection.title }}

{% else %}

/ {{ ‘general.breadcrumbs.products’ | t }}

{% endif %}

/ {{ product.title }}

{% elsif template contains “list-collections” %}

/ {{ ‘collections.listing.header’ | t }}

{% elsif template contains “collection” %}

/ {{ collection.title }}

{% elsif template contains “blog” %}

/ {{ blog.title }}

{% if current_tags.size > 0 %}

/ {{ ‘general.breadcrumbs.tagged’ | t }}: {% for tag in current_tags %}{{ tag }}{% unless forloop.last %}, {% endunless %}{% endfor %}

{% endif %}

{% elsif template contains “page” %}

/ {{ page.title }}

{% elsif template contains “article” %}

/ {{ blog.title | link_to: blog.url }}

/ {{ article.title }}

{% elsif template contains “cart” %}

/ {{ ‘general.breadcrumbs.cart’ | t }}

{% elsif template contains “404” %}

/ {{ ‘general.breadcrumbs.404’ | t }}

{% elsif template contains “search” %}

/ {{ ‘general.search.header’ | t }}

{% elsif template contains “customers/login” %}

/ {{ ‘customer.login.header’ | t }}

{% elsif template contains “customers/reset_password” %}

/ {{ ‘customer.reset_password.header’ | t }}

{% elsif template contains “customers/activate_account” %}

/ {{ ‘customer.activate_account.header’ | t }}

{% elsif template contains “customers/account” %}

/ {{ ‘general.account’ | t }}

{% elsif template contains “customers/addresses” %}

/ {{ ‘general.account’ | t }} / {{ ‘customer.addresses.header’ | t }}

{% elsif template contains “customers/order” %}

/ {{ ‘general.account’ | t }} / {{ ‘customer.orders.order’ | t }}

{% endif %}

{% endif %}

Hi @Amber_Muenz ,

You can try this code by following these steps:

Step 1: Go to Online Store->Theme->Edit code.

Step 2: Search file theme.liquid

Step 3: Paste the below code at the bottom of the file → Save


Hope my solution works perfectly for you!

Best regards,

Oliver | PageFly

Hi there,

Thank you for your suggestion. Unfortunately it doesn’t solve the issue for us.

With the addition of your code, we lose the relevant collection that the products are in, AS WELL AS the “all collections”. This is how it looks now…

Wondering if we can get back to a place of just the relevant collection in the breadcrumb list.

Thanks!