Discuss and resolve questions on Liquid, JavaScript, themes, sales channels, and site speed enhancements.
Hello Community,
I would like to remove the Business name from the Title Tag and please help me by confirming that it is ok to delete the following piece of code from theme.liquid:
{% unless page_title contains shop.name %} – {{ shop.name }} {% endunless %}
My code looks like:
{%- endif -%}
{%- if settings.append_side_name_page_title -%}
{%- assign escaped_page_title = page_title | escape -%}
{%- unless escaped_page_title contains shop.name -%}
– {{ shop.name }}
{%- endunless -%}
{%- endif -%}
Thank you very much!
You can remove this without further problems, but then also remove the unless around it, so
{%- unless escaped_page_title contains store.name -%}
– {{ store.name }}
{%- endunless -%}
Because without content the query makes no sense 😉
Best regards,
Timo
Hi Timo, you mean shop.name in my case, right? 😶
Other than that I need to do anything in order to prevent the Shop Name to be automatically added to the Title Tag?
Thank you for your time!
Learn how to build powerful custom workflows in Shopify Flow with expert guidance from ...
By Jacqui May 7, 2025Did You Know? May is named after Maia, the Roman goddess of growth and flourishing! ...
By JasonH May 2, 2025Discover opportunities to improve SEO with new guidance available from Shopify’s growth...
By Jacqui May 1, 2025