Hi there, I’m wondering if someone could help me with how to change the title of the products page on the craft theme?
I’d really like it to say ‘packages’ instead of 'products.
Hi there, I’m wondering if someone could help me with how to change the title of the products page on the craft theme?
I’d really like it to say ‘packages’ instead of 'products.
@erin_smith26 , could you please explain me in detail? also, share your URL to get a better idea.
if possible share a screenshot what do you want to change?
I can help you with this.
@erin_smith26 , for this you have to update your collection name with the package. Follow the step to update your collection name:
From your Shopify admin, go to Products > Collections.
Click the name of the collection that you want to update.
To change the title of the products page on the Craft theme and replace it with “packages,” you’ll need to modify the theme files. Here’s a step-by-step guide on how to do it:
Access your Craft theme files: You’ll need to have access to the theme files either through a code editor or a file manager in your hosting environment.
Locate the file: Look for the file responsible for rendering the products page. Typically, it is named something like products.liquid or collection.liquid. If you’re unsure, check the theme’s documentation or ask the theme developer for guidance.
Open the file for editing: Open the file in a code editor or a suitable text editor.
Find the page title code: Look for the code that outputs the page title. It might look something like this:
liquid
# Products
Replace the title: Replace the existing title, “Products,” with “Packages” or any other desired title. For example:
liquid
# Packages
Save the changes: Once you’ve made the modification, save the file.
Test the changes: Upload the modified file back to your website’s theme directory and check the products page to see if the title has been updated to “Packages.”
Please note that the specific steps may vary depending on the Craft theme version or customization. If you encounter any issues or have further questions, it’s recommended to consult the Craft theme documentation or reach out to the theme developer for personalized assistance.
From the Online Store tab in your dashboard, click on the three dots for your theme and click Edit Code. Navigate to the “main-collection-banner.liquid” file in the Sections folder.
Then navigate to this code block:
<h1 class="collection-hero__title">
<span class="visually-hidden">{{ 'sections.collection_template.title' | t }}: </span>
{{-" collection.title" | escape -}}
</h1>
You can do this by searching manually (it’s towards the top of the file, at line 15-18 for me), or click on ctrl+f to pop up a search bar and input a part of the code block for quick search.
In this line:
<span class="visually-hidden">{{ 'sections.collection_template.title' | t }}: </span>
{{-" collection.title" | escape -},
replace the “collection.title” part with whatever word you want to display as the page title. For example to display the word Services:
<span class="visually-hidden">{{ 'sections.collection_template.title' | t }}: </span>
{{-" Services" | escape -}}
Hope this helps!
That worked perfectly. I wanted to change PRODUCTS to APPAREL and that did the trick. However the title tag of the page (in the tab/browser bar) still reads PRODUCTS so any time I post the link to some place like facebook, it shows the page title, “PRODUCTS”. Is there a way to change this also?
this as a solution does not work on my code. it makes it disappear?
June 2025: If you dont want to change your Themes code (e.g. for multi-language support):