Great question. Probably the easiest way to make this change is to move the collection “description” out of the collection “header” and place it below the collection grid.
Step 0: Before you edit your theme’s code, it is a best practice to duplicate it first to ensure that you’re not editing the live production theme, but rather a copy
Go to Online Store –> Themes –> Actions –> Duplicate
This will duplicate your theme – the duplicate will probably be called “Copy of Debut” and will show up in the Theme library section of the Themes page
Step 1: Navigate to the code editor within your new duplicated theme
Actions –> Edit Code
Step 2: Open up the file “collection-templates.liquid” within the Sections dropdown folder
Step 3: Find the following bit of code (ctrl-f or cmd-f is your bff), copy it to your clipboard, then delete it
No prob at all Jo, I’m glad to hear you got it working!
Alex Marse | Shopify Enthusiast
Was my reply helpful? Click Like to let me know!
Was your question answered? Mark it Accept as Solution to help others locate the answer!
Your Like and Accept as Solution are much appreciated!
Will you help me please? I’d like to add a text field beneath the products on the collection page while leaving the original text above as is. I too use the Debut Theme.
I also want to add text, on top & bottom of Debut theme, which should be different for all collection pages, can you please let us know how can we do that.
This is what got my Debut Theme to work as expected.
Under SALES CHANNELS on the left navigation panel, I clicked Themes.
On the right, I clicked Actions - > Duplicate
When Theme library finished down below, I chose Customize on the one that reads “Copy of…”. I was now working a copy rather than my active theme. If it didn’t work, I could always restore the one that was working.
I chose Actions → Edit Code from the one that reads “Copy of…”
In Sections, I chose collection-template.liquid
At line 66-68
I replaced
{{ collection.description }}
with
{{ collection.description | split: '' | first }}
Then at line 225 after {% endif %} but before
I added
{% if collection.description contains "" %}
{{ collection.description | split: '' | last }}
Now whenever I add after the main collection description, the text after appears beneath the product image grid.
since there should only be one of those per page IMHO. Also, would you mind liking those instructions above? Not sure what that does, but it may do something.
At the moment it works, that the text after is shown beneath the products – however it is also shown in the main description above – so there is two times the same text (the one after split – above the products and below.)
Any solutions for that? Of course I want to show the text after only below the products.