How to display meta fields on a Prestige theme product page?

1 0 0

Hi! How do I get my meta fields to show up on my products page? I don't see a collapsible block to use either. 


Thank you! 

Replies 2 (2)

172 12 32


To display meta fields on your product page in the Prestige theme, you'll need to make some code customizations. Here's how you can do it:

  1. From your Shopify admin, go to Online Store > Themes.

  2. Find the Prestige theme and click on Actions > Edit code.

  3. In the left sidebar, click on "product.liquid" to open the product template file.

  4. Look for the section where you want to display the meta fields. This could be in the product description, under the product title, or in a separate section altogether.

  5. To display a specific meta field, use the following code:


{{ product.metafields.namespace.key }}



Replace "namespace" with the namespace of your meta field and "key" with the key of your meta field.

  1. Save your changes and preview your product page to see the meta fields in action.

Note that if you don't see a collapsible block to use, you may need to add one manually to your product template file. Here's an example of how to add a collapsible block:


{% if product.metafields.namespace.key %} <div class="collapsible-block"> <h3 class="collapsible-block__heading">Meta field title</h3> <div class="collapsible-block__content"> {{ product.metafields.namespace.key }} </div> </div> {% endif %}

This code will only display the meta field if it exists for the product. Replace "namespace" and "key" with the namespace and key of your meta field, and "Meta field title" with the title you want to display for the collapsible block.

I hope this helps! Let me know if you have any further questions.


New Member
4 0 0

Hi @sweetmday , I have the same question. Did @mics solution work for you?