All things Shopify and commerce
Hello,
I would like to change the Title on my All Products Page. Currently it is set to "Products" and it appears I am unable to change it without editing code. I found the code below, in "Theme.liquid". Can someone tell me where the All Products Page "collection.title" value is located?
<h1 class="collection-hero__title">
<span class="visually-hidden">{{ 'sections.collection_template.title' | t }}: </span>
{{- collection.title | escape -}}
</h1>
I tried changing it to "Something Else", which worked...however "Something Else" also displayed on my Collection page H1 titles.
<h1 class="collection-hero__title">
<span class="visually-hidden">{{ 'sections.collection_template.title' | t }}: </span>
Something Else
</h1>
Any suggestions are appreciated.
Thanks in advance,
Thomas
Sme here. I am looking for the same solution to change "Products" word to something else.
I found this with CSS selector but couldn't find the source code.
<h1 class="collection-hero__title">
<span class="visually-hidden">Collection: </span>Products</h1>
If any one know where can we find the source code to change this "product" word, it will be highly appricated.
{{- collection.title | escape -}}
{% assign current_title = collection.title %}
{% if canonical_url contains '/collections/all' %}
{% assign current_title = 'All Products' %}
{% endif %}
{{- current_title | escape -}}
Of course, do not forget that if you use several languages on your site, you need to add translation strings to the files that correspond to your languages in the system.
For example, if your site is presented in two languages (English / Spanish), you can do this:
"all_products_title": "All products (or whatever you want)"
"all_products_title": "Todos los productos (or whatever you want in Spanish)"
'sections.collection_template.all_products_title' | t
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