How to change Dawn theme All Product Page title

Topic summary

Users are trying to change the default “Products” title on Shopify’s Dawn theme All Products page.

Initial Problem:

  • The title appears hardcoded and cannot be changed through the standard interface
  • One user found {{ collection.title }} in theme.liquid but couldn’t locate where to modify it

Solution Provided:

  • Navigate to main-collection-banner.liquid (around line 17)
  • Replace {{- collection.title | escape -}} with conditional code that checks if the URL contains ‘/collections/all’
  • Use {% assign current_title %} logic to set a custom title specifically for the All Products page

Multi-language Support:
For sites using multiple languages, add translation strings:

  • In locales/en.default.json: add "all_products_title": "All Products"
  • In locales/es.json: add "all_products_title": "Todos los productos"
  • Replace the hardcoded text in main-collection-banner.liquid with {{ 'sections.collection_template.all_products_title' | t }}

This approach allows customization while maintaining translation compatibility across different language versions.

Summarized with AI on November 4. AI used: claude-sonnet-4-5-20250929.

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?

# 
        {{ 'sections.collection_template.title' | t }}: 
          {{- collection.title | escape -}}
      

I tried changing it to “Something Else”, which worked…however “Something Else” also displayed on my Collection page H1 titles.

# 
        {{ 'sections.collection_template.title' | t }}: 
          Something Else
      

Any suggestions are appreciated.

Thanks in advance,

Thomas

2 Likes

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.

Collection: Products

If any one know where can we find the source code to change this “product” word, it will be highly appricated.

  • Go to customize your template
  • Find the file main-collection-banner.liquid
  • Find the line with the code (most likely line 17)
{{- collection.title | escape -}}​​
  • Replace this line with this code
{% assign current_title = collection.title %}
{% if canonical_url contains '/collections/all' %}
  {% assign current_title = 'All Products' %}
{% endif %}
{{- current_title | escape -}}​
  • Replace ‘All Products’ with whatever you want

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:

  • in the locales/en.default.json file in sections->collection_template add
"all_products_title": "All products (or whatever you want)"​
  • and do the same in the locales/es.json file, but add
"all_products_title": "Todos los productos (or whatever you want in Spanish)"​
  • after that, replace ‘All products’ in main-collection-banner.liquid with
'sections.collection_template.all_products_title' | t​
1 Like