All things Shopify and commerce
Hello,
I would like to add a short description below each product on the collection pages. So I've created a custom definition product metafield, but I don't know after which code and where to implement it.
Thank you for your help.
Solved! Go to the solution
This is an accepted solution.
Hey @Toto
You need to call the metafield in your main-collection.liquid file. It will require custom coding in your theme files, if you're not familiar with coding then I suggest you to hire a Shopify Developer who can help you out with that. Let me know if you want me to help you out and I would be more than happy to help you.
Best Regards,
Moeed
This is an accepted solution.
Hey @Toto
You need to call the metafield in your main-collection.liquid file. It will require custom coding in your theme files, if you're not familiar with coding then I suggest you to hire a Shopify Developer who can help you out with that. Let me know if you want me to help you out and I would be more than happy to help you.
Best Regards,
Moeed
Hi Toto,
Since you are using a paid theme, it's difficult to write the code needed in order for it to integrate properly with your current theme.
That said, to show a metafield value in your product pages is to use such code:
product.metafields.custom.description_courte
or some other variations as long as that code is present.
As for where this what file to edit, it is very difficult for me to tell you where because (again) you are using a paid theme.
Usually though, it should be in a section named main-product.liquid located inside the Sections Folder of your code editor. Or some other file that controls the product page.
Hope this helps!
Learn how to build powerful custom workflows in Shopify Flow with expert guidance from ...
By Jacqui May 7, 2025Did You Know? May is named after Maia, the Roman goddess of growth and flourishing! ...
By JasonH May 2, 2025Discover opportunities to improve SEO with new guidance available from Shopify’s growth...
By Jacqui May 1, 2025