Product subtitle metafield not connected

Hello, I am trying to add a subtitle under the name of my product on my main page. I tried watching numerous videos on youtube about it however none of them have worked for me. I added

{{card_product.custom.productsubtitle}}

underneath the product card om card-product.liquid. However on the website only


appears underneath the card heading without the metafield.

FragranceDealer_0-1726363059108.png

Much help would be appreciated.

Hi @FragranceDealer :waving_hand: it looks correct, also try : {{ card_product.custom.productsubtitle*.value* }}

Also make sure for that specific product in it’s admin you have entered a value in the metafield form.

If you need this debugged you can contact me by my email for services.
Contact info in forum signature.
ALWAYS please provide context, examples: store url, theme name, post url(s) , or any further detail in ALL correspondence.

Good Luck

Hi @FragranceDealer , the correct synctax to add your metafield in your product card is

{{card_product.metafields.custom.productsubtitle}}

Make sure to add it below all the card__heading tags, as there are three positions where you need to add it in the card_information file.

Hope it helps you :blush:

Should I change the namespace in the product metafield defination?

Hello, this did not work.

This worked. Thank you so much for your help!