Hey, I was wondering how this website shows tickets like that next to the product title. I will share a link to their website and a screenshot. Are they using code or is it a shopify app?
Hello @timelessracing
Do you want it this way? This badge has already been added. We can do it without an app, using metafields.
Hey! Sorry for the late reply. Yes we would want it that way, do you know how we could do that?
Hello @timelessracing
No problem at all. Yes, I know how to do that using metafields.
Could you tell me how?
Hello @timelessracing
Step 1: Create Metafields for Collections
Go to Shopify Admin → Click on Settings → Select Custom Data.
Click on Collections under the Metafields section.
Click Add Definition and set up the metafield:
Name: (e.g., “Custom Subtitle”)
Namespace and Key: (e.g., custom.subtitle)
Content Type: Select Single line text or other relevant type.
Step 2: Add Metafields Data to Your Collections
Go to Products → Collections in Shopify Admin.
Click on a collection you want to edit.
Scroll down to the Metafields section and enter your custom value (e.g., “Best-selling products”).
Step 3: Display Metafields on the Collections Page
Go to Online Store → Themes → Click Actions → Edit Code.
Open the Sections folder and find main-collection.liquid or collection-template.liquid.
Locate where you want to display the metafield and add this code:
{% if collection.metafields.custom.subtitle %}
{{ collection.metafields.custom.subtitle }}
{% endif %}
Save the file and check your Collections page to see the changes.
Hey, I’m sorry but that did not work for me. Could you show me what it looks like on your end. I did not get any ticket boxes to show up on my products. I want it like they have it. Do you see how they have the tickets next to the price of their product.
https://tunercult.com/collections/all/products/espresso-oversized-box-tee
Hello @timelessracing
Do you need it on the collection page or the product page? Please send me store access, and I will do it for you. You can send the code on WhatsApp.
Hey I would need it for the product page



