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!
As 2024 wraps up, the dropshipping landscape is already shifting towards 2025's trends....
By JasonH Nov 27, 2024Hey Community! It’s time to share some appreciation and celebrate what we have accomplis...
By JasonH Nov 14, 2024In today’s interview, we sat down with @BSS-Commerce to discuss practical strategies f...
By JasonH Nov 13, 2024