Collection text
Show a longer text about each collection at the foot of its page, with a Read more button, from a collection metafield.
This section shows a longer text at the foot of a collection page, a few lines at a time. Each collection shows its own words. The section stays on the template, and you write the text in the collection.
When to use it
Use it when a collection needs more than a line or two: buying advice, or what sets a range apart. The short text in the Collection banner stays short, and the long one waits at the bottom for those who want it.
The section only works on collection templates. Mantel and Ridge have it on their default, department and full-banner templates. On another preset or template, click Add section and choose Collection text.
Connect a metafield
The text lives in a metafield of the collection, and you tell the section which one by typing its key.
Create the definition
Go to Settings > Metafields and metaobjects > Collections and add a definition. Use the namespace and key custom.long_description with the type Rich text. See Shopify's guide to definitions.
Write the text
Go to Products > Collections and open a collection. Find its metafields near the foot of the page, click View all if yours is not pinned, type your text, then save. Repeat for each collection that needs it.
Check the key in the section
In the theme editor, open a collection template and select Collection text. Metafield already holds custom.long_description. If you chose a different key, type it here, as namespace.key. There is nothing to connect with the connect icon.
Rich text keeps your headings, bold words and links. Another type also works, and it shows as plain text with your line breaks.
What shoppers see
A collection with no text shows nothing at all, so the section can stay on the template while you write. In the theme editor it shows a message saying that this collection has no text. To see a collection that has some, click Change under Preview in the sidebar and pick it.
Lines before Read more sets how many lines show at first, from 2 to 12. A longer text gets a Read more button that opens the rest, and Read less closes it. A shorter text shows in full with no button. The check runs again when the screen width changes, so a phone may show the button when a laptop does not.
Choose the look
Heading comes as "About" and the collection's title. To change it, type your own words. To put the title back, use Insert dynamic source, the icon in the box, then Collection > Title. Leave it empty for no heading.
Width set to Narrow gives a reading column, and Page runs to your page width. Heading size, Heading alignment and Color scheme work as in other sections.
Something not working?
The section does not show on the store. This collection has no text in that metafield. Check for typing mistakes in Metafield. It must be namespace and key with one dot between them.
There is no Read more button. The text fits within Lines before Read more. Lower the number if you want it shorter.
Collection text is not in the Add section list. You are on a template that is not for a collection. Switch template at the top of the editor.
All settings: Collection text
| Setting | What it does |
|---|---|
| Metafield | The collection metafield that holds the text, as namespace.key. Create it in Settings > Metafields and metaobjects > Collections, type Rich text. A collection without text shows nothing. |
| Heading | To show the collection's name, use Insert dynamic source (the icon in this box) > Collection > Title. Words typed around it, such as About, stay as typed. |
| Heading size | |
| Heading alignment | |
| Lines before Read more | A shorter text shows in full, without the button. |
| Width | |
| Color scheme | |
| Top padding | |
| Bottom padding |