Pull Product Information in Collection Page (Studio Theme)

Hello,

I am wondering how I can pull product information so that I can use it in the collection page. For example, this product is using the product template page called “pre-order”, how can I pull it to the collection page. This is what I have currently.

{% for product in collection.product %}
  {%- if product.template contains 'pre-order' -%}
    <h3 class="SectionHeader__SubHeading Heading u-h6" style="color: red;">
      Pre-Order
    </h3>
  {%- endif -%}
{% endfor %}

Alternatively I can use tags, how would that work as well?

Thank you

1 Like

@macodocious

Sorry you are facing this issue, it would be my pleasure to help you.

Welcome to the Shopify community! :blush:
Thanks for your good question.

Please share your site URL,
I will check out the issue and provide you a solution here.