General Questions

How to display metafields in Shopify store?

There are two options to make the metafields visible at your store after migration to Shopify:

  • make use of the official Shopify documentation for guidance,
  • edit theme code yourself,
  • use the free Shopify app Metafields Guru.

How to display metafields in Shopify in 4 steps?

If you’re tech educated enough with deep knowledge of the Liquid (Shopify’s template language), just configure your theme to show metafields. However, if your Theme doesn’t have the feature to display Metafields, you can edit your Shopify Theme code yourself, following the steps below:

  1. Find your Themes code in your Shopify Admin

    Go to Shopify Admin → Online Store → Themes → Actions → Edit Code.

    Screen

  2. Locate product.liquid

    The product.liquid file contains the code for the page that displays your products.

    Screen

  3. Add code to display your Metafield

    Add the following line of code to display the Metafield created in the ‘Create Metafield’ section:

    • Material: {{ product.metafields.specs.material }}

    If stored as a Variant Metafield, use:

    • Material: {{ current_variant.metafields.specs.material }}

    Screen

  4. Save and go check any product in your store.

    Screen

Alternatively, you can benefit from the Metafields Guru App. It allows you to copy the necessary code, paste it into the product.liquid file, and have the metafield displayed where required. You’ll also be able to create, update, and delete metafields for products, collections, customers, and more directly from the Shopify admin after migration with Cart2Cart.

Screen


Do you need help? Contact our support team

Just set up the migration and choose the entities to move – the service will do the rest.

Try It Free

Delegate the job to the highly-skilled migration experts and get the job done.

Choose Package