{
  "theme": "Kera",
  "note": "Metafields the Kera theme reads. All are optional. Create definitions in Shopify admin > Settings > Metafields and metaobjects. 'Read by' says whether the theme reads the key itself or a merchant connects it to a block setting with Connect dynamic source.",
  "guide": "https://spellnsell.com/themes/kera/docs/store-data/metafields",
  "metafields": [
    {
      "owner": "product",
      "key": "custom.size_guide",
      "type": "page_reference",
      "read_by": "theme",
      "used_for": "The size guide page this product opens first, before the page named after its product type and the page picked in the Size guide block."
    },
    {
      "owner": "product",
      "key": "custom.cart_upsells",
      "type": "list.product_reference",
      "read_by": "theme",
      "used_for": "Bag suggestions. When this product is the first item in the bag, these products are suggested first (up to 3 in all)."
    },
    {
      "owner": "product",
      "key": "custom.real_size",
      "type": "single_line_text_field",
      "read_by": "theme",
      "used_for": "A real-size label such as 12 mm, shown under the name on product cards whose name sits inside the image."
    },
    {
      "owner": "product",
      "key": "custom.size_previews",
      "type": "list.metaobject_reference",
      "read_by": "theme",
      "used_for": "Size comparison section with Sizes set to Product metafield: Size preview entries (metaobject type size_preview: image, size_mm, measure_line_x, measure_line_y, measure_line_width), one worn photo per size. An entry shows when the product's size option has a value with that number of mm."
    },
    {
      "owner": "product",
      "key": "reviews.rating",
      "type": "rating",
      "read_by": "theme",
      "used_for": "Star rating on product cards (Theme settings > Product cards > Show star rating), the Rating block on the product page and aggregateRating in the product's structured data. Written by reviews apps; shown out of 5 whatever its scale."
    },
    {
      "owner": "product",
      "key": "reviews.rating_count",
      "type": "number_integer",
      "read_by": "theme",
      "used_for": "The review count shown after the stars and used as reviewCount in structured data. Written by reviews apps."
    },
    {
      "owner": "product",
      "key": "seo.hidden",
      "type": "number_integer",
      "read_by": "theme",
      "used_for": "Shopify's key to hide a product from search (value 1). Kera also leaves the product out of the Gift finder. Usually set by SEO apps; no definition needed."
    },
    {
      "owner": "product",
      "key": "custom.stack",
      "type": "list.product_reference",
      "read_by": "dynamic source",
      "used_for": "Complete the stack block. Connect the block's Products setting to this metafield to give each product its own stack. Templates install with no connection, so connect it in each product template that should use it."
    },
    {
      "owner": "product",
      "key": "custom.badge",
      "type": "single_line_text_field or metaobject_reference",
      "read_by": "theme setting",
      "used_for": "The metafield badge on product cards and the product page. Enter the key in Theme settings > Badges > Badge metafield; it installs empty, so no badge shows until you set it. custom.badge is the suggested key."
    },
    {
      "owner": "collection",
      "key": "custom.view_toggle",
      "type": "boolean",
      "read_by": "theme",
      "used_for": "Shows (true) or hides (false) the Worn / Still toggle on that collection page. Empty, the toggle shows when products have a second photo."
    },
    {
      "owner": "collection",
      "key": "custom.real_size",
      "type": "single_line_text_field",
      "read_by": "theme",
      "used_for": "A real-size label such as 12–30 mm on mega menu collection cards and in the Collection list section."
    },
    {
      "owner": "article",
      "key": "custom.reading_time",
      "type": "number_integer",
      "read_by": "theme",
      "used_for": "Reading time in minutes on article cards and article pages. Empty, it is worked out from the word count."
    },
    {
      "owner": "article",
      "key": "custom.products",
      "type": "list.product_reference",
      "read_by": "theme",
      "used_for": "Products shown by the article's Shop the story block (up to 4) when the block has no products picked."
    },
    {
      "owner": "market",
      "key": "custom.free_shipping_threshold",
      "type": "number_decimal",
      "read_by": "theme",
      "used_for": "Free shipping goal on the bag progress bar for that market, in the market's currency. Empty, the amount in the cart settings applies."
    },
    {
      "owner": "market",
      "key": "custom.free_gift_threshold",
      "type": "number_decimal",
      "read_by": "theme",
      "used_for": "Free gift goal on the bag progress bar for that market, in the market's currency."
    }
  ]
}
