Hi @meeko
May I suggest to update code below:
{%- unless template == 'index' or template == 'cart' or template == 'list-collections' or template == '404' -%}
{%- assign t = template | split: '.' | first -%}
{%- endunless -%}
A user is experiencing two breadcrumb navigation issues on their Shopify Dawn theme store:
Problems identified:
Solution provided:
A community member (EBOOST) offered code modifications to the breadcrumb.liquid file that successfully resolved the product name display issue. The updated code removes the product name from breadcrumbs and ensures consistent collection display.
Additional issue:
After implementing the fix, unwanted banners appeared on the homepage. EBOOST identified these as richtext elements and provided instructions to remove them through the theme customizer by toggling section visibility using the eye icon.
Status: The main breadcrumb issue appears resolved, with the user confirming the code worked. Screenshots were shared throughout to illustrate both problems and solutions.
Hi @meeko
May I suggest to update code below:
{%- unless template == 'index' or template == 'cart' or template == 'list-collections' or template == '404' -%}
{%- assign t = template | split: '.' | first -%}
{%- endunless -%}