New Shopify Certification now available: Liquid Storefronts for Theme Developers

How to update rich text for each collection page?

RobbieBursAus
Visitor
1 0 1

I Need help inn adding rich text block for each of my collection pages. For example I have Diamond, Ceramic and I have added Rich Text to the template but the same text goes across all pages. I just want the text to be about the specific page 

Reply 1 (1)
ZestardTech
Shopify Expert
5300 950 1262

Hello @RobbieBursAus 


Rich text content to your collection pages using metafields in Shopify. Here's how you can achieve it:

 

1.Create Metafields:

 

- Go to "Products" > "Collections" in your Shopify admin.
- Select the collection for which you want to add unique content.
- In the collection settings, look for the newly created metafield (e.g., "Collection Description" or "Rich Text Content").- Enter your unique rich text content for this collection.

 

2.Display Metafield Content on Collection Pages:

 

- Edit your collection template file (e.g., collection-template.liquid).
- Use liquid code to retrieve and display the metafield content. Here's an example:

 

<div class="rich-text-collection">
{{ collection.metafields.custom.collection_description }}
</div>

 

Replace custom with the actual namespace and key of your metafield.

 

4.Save and Preview: Save your changes, and then preview your collection pages. Each collection should now display the unique rich text content you added using metafields.

 

Want to modify or develop new app, Hire us.
If helpful then please Like and Accept Solution .
Email: support@zestard.com
Shopify Apps URL :- https://apps.shopify.com/partners/zestard-technologies
Custom Modifications Into Shopify Theme | Shopify Private App | SEO & Digital Marketing