Discuss and resolve questions on Liquid, JavaScript, themes, sales channels, and site speed enhancements.
Hi everyone,
my name is Michael, I started using Shopify some days ago.
I'm using the Refresh template and created a collection which is integrated on my landing page.
So far everything is working fine.
Unfortunately the title of each product isn't enough and doesn't look very well. That's why I'd like to have a subtitle on the collection for each product. In the picture below is a more detailed overview I'd like to achieve.
Searched within the community and found out that a metafield is required. Looks like this on my side:
Afterwards I tried to integrate the subtitle within my template:
<p>{{ product.metafields.descriptors.subtitle }}</p>
Is it the right place within the template and position?
Unfortunately it doesn't work for me.
Thanks for your help.
Michael
Solved! Go to the solution
This is an accepted solution.
Thank you very much. Right now I has been able with more search in the community to fix my error.
The solution for others was this code within the card_product.liquid file:
{% if card_product.metafields.descriptors.subtitle %}
<h3 class="h5">{{ card_product.metafields.descriptors.subtitle.value }}</h3>
{% endif %}
@123michi19 Hey, thanks for posting here.
first please search "{% for " loop in the code then put it in init
and also please try <p>{{ product.metafields.descriptors.subtitle.value }}</p>
I hope it will help you
Thanks for your reply. I'm not quite sure if I can follow you correctly with your instruction. Is it possible to describe it more in detail? Am I in the right file / section?
@123michi19 i think yes
please search "{% for " then put <p>{{ product.metafields.descriptors.subtitle.value }}</p> under it, and then check front.
Unfortunately not able to get a result for you search string ("{% for ").
@123michi19 can I help you with access?
for now, I'm not helping like this, its difficult to understand you.
Yes, would be happy if you can provide me some support on this topic. How can I create access for you and share the details not public?
@123michi19 check your private message here.
This is an accepted solution.
Thank you very much. Right now I has been able with more search in the community to fix my error.
The solution for others was this code within the card_product.liquid file:
{% if card_product.metafields.descriptors.subtitle %}
<h3 class="h5">{{ card_product.metafields.descriptors.subtitle.value }}</h3>
{% endif %}
June brought summer energy to our community. Members jumped in with solutions, clicked ...
By JasonH Jun 5, 2025Learn 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, 2025