Categories

How to add Metafields?

First Install Metafields Guru App. It’s free app. Click here to install

Now go to products and click on Edit Metafields -> and Create Metafields

We have used metafields for the following in our theme.

  1. Product Video

    key: video
    namespace: meta
    value: youtube url

    You need define metafield name like below image and in value, need to enter youtube video link.
    Note: First disable editor by click on </> button then enter video link.

  2. Product Short Description

    key: short_des
    namespace: meta
    value: add html here

  3. Product Countdown

    key: countdown
    namespace: meta
    value: date in (mm/dd/yyyy) format
    Note: First disable editor by click on </> button then enter date.

  4. Product Size Chart

    key: sizechart
    namespace: meta
    value: image or html code

    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.

Table of Contents