Subtitle shown on all Product Cards - each having its own subtitle

LukeMac
Tourist
19 0 4

I would like to have a subtitle under the main product title on my product cards that are displayed on my collection pages and anywhere else a product card is displayed. Each product needs to have its own subtitle. 

 

Website: https://itscalledfragrances.com/

Password: auskao

 

Please help. 

 

Thanks in advance.

Replies 5 (5)

Sweet_Savior_3
Shopify Partner
1248 99 123

Hello @LukeMac 

 

Welcome to Shopify Community.

 

You can set up a metafield and use it card-product.liquid file to show at the frontend. It will show unique subtitle to all the products. 

 

Let me know if you any assistance. 

 

Thanks

Don't forget to like and accept the solution to help others store owners.
Looking for an expert or Have any queries ? Send query to the Inbox
Coffee Tip ? Pay to shopify.dev.34@gmail.com
From Less To Further !!!
LukeMac
Tourist
19 0 4

Thanks for the swift reply. Can you please help me. I inserted some code in the card-product-liquid file, but I cant get it to work.

 

I am also unsure whether I set up the metafield correctly.

Sweet_Savior_3
Shopify Partner
1248 99 123
Sure, will it be okay for you to provide a collaboration request to access
the code editor ?
Don't forget to like and accept the solution to help others store owners.
Looking for an expert or Have any queries ? Send query to the Inbox
Coffee Tip ? Pay to shopify.dev.34@gmail.com
From Less To Further !!!
LukeMac
Tourist
19 0 4

I'd prefer if you give me the code to paste in the editor. This is what I currently have:

Screenshot 2024-05-28 at 19.31.58.pngScreenshot 2024-05-28 at 19.34.06.pngScreenshot 2024-05-28 at 19.34.15.png

 

I followed the instructions from this link: https://community.shopify.com/c/shopify-design/dawn-theme-adding-subtitle-on-product-cards/td-p/1956...

 

 

LukeMac
Tourist
19 0 4

Don't stress, I managed to get it to work. Thank you for your time - I appreciate your assistance.