How Can We Help?

How to add Metafields?

We have used metafields for the following in our theme.

  1. Product Video

    Go to Store Admin –> Settings –> Metafields –> Click Products

    Click on “Add definition” and add data as below

    Name: Video
    Namespace and Key: my_fields.video ( For Avone theme version 4.1 and below use key “meta.video”)
    Content type:Text ( Select Single Line text )

    Now go to your products and Scroll down to “Metafields” and Add youtube video url in Video Text

  2. Product Short Description

    Click Here

  3. Product Countdown

    Go to Store Admin –> Settings –> Metafields –> Click Products

    Click on “Add definition” and add data as below

    Name: Countdown
    Namespace and Key: my_fields.countdown ( For Avone theme version 4.1 and below use key “meta.countdown “)
    Content type: Date and Time( Select Date )

    Now go to your products and Scroll down to “Metafields” and Select Date from Countdown field and click save.

  4. Product Size Chart

    Go to Store Admin –> Settings –> Metafields –> Click Products

    Click on “Add definition” and add data as below

    Name: Size Chart
    Namespace and Key: my_fields.sizechart ( For Avone theme version 4.1 and below use key “meta.sizechart”)
    Content type:Text ( Select Multi-line text )

    Now go to your products and Scroll down to “Metafields” and Add data in Size chart field

    If you don’t add data here, global data will appear in page (same data for all products). You can read this above in Product Tabs section.