Source Product

{
  description: "A light-reflecting superproduct that’s as versatile as it is simple to use. Wear Miracle Balm alone or layer on top of foundation for an instant refresh. Changetest link",
  descriptionHtml: "A light-reflecting superproduct that’s as versatile as it is simple to use. Wear Miracle Balm alone or layer on top of foundation for an instant refresh. Change test link",
  handle: "balm",
  id: "gid://shopify/Product/7686505824421",
  maxPrice: {
    amount: "76.0",
    currencyCode: "USD",
  },
  media: [
    {
      altText: "Dawn,50ml",
      id: "gid://shopify/ImageSource/25201001300133",
      type: "image",
      url: "https://cdn.shopify.com/s/files/1/0584/6053/6997/products/Rosesmall.jpg?v=1651269732",
    },
    {
      altText: "Dawn, Dusk, Evening, Morning, Noon",
      id: "gid://shopify/ImageSource/25434767622309",
      type: "image",
      url: "https://cdn.shopify.com/s/files/1/0584/6053/6997/products/Productimage2_78b9f74a-f50a-4e3b-9beb-eb4414f1f265.jpg?v=1663857862",
    },
    {
      altText: "Dawn, 50ml",
      id: "gid://shopify/ImageSource/25201001463973",
      type: "image",
      url: "https://cdn.shopify.com/s/files/1/0584/6053/6997/products/Roselarge.jpg?v=1663857862",
    },
  ],
  metafield: {
    custom: {
      descriptionlarge: "Louise is 6'2 wearing the Open air pant in blue",
      largesizes: {
        altText: null,
        height: 800,
        id: "gid://shopify/ImageSource/25856801472677",
        url: "https://cdn.shopify.com/s/files/1/0584/6053/6997/files/Large.png?v=1663163286",
        width: 800,
      },
      mysize: "true",
      smallsizes: {
        altText: null,
        height: 800,
        id: "gid://shopify/ImageSource/25856800391333",
        url: "https://cdn.shopify.com/s/files/1/0584/6053/6997/files/Small.png?v=1663163275",
        width: 800,
      },
    },
    nyla: {
      array_of_images: "[\"gid://shopify/MediaImage/26451061047461\",\"gid://shopify/MediaImage/26451061014693\",\"gid://shopify/MediaImage/26451060981925\",\"gid://shopify/MediaImage/26451060949157\",\"gid://shopify/MediaImage/26451060883621\"]",
      featuredIngredients: "Geranium, Mint, Eucalyptus, Lavender",
      ingredients: "antioxidant, black-pepper",
      shipping: "Usually ships in 2-4 weeks",
      single_image: {
        altText: null,
        height: 4096,
        id: "gid://shopify/ImageSource/26309420417189",
        url: "https://cdn.shopify.com/s/files/1/0584/6053/6997/files/92d292fe78389de7a22c376f48164a61.jpg?v=1671467507",
        width: 2713,
      },
    },
    nyla_messaging: {
      ribbon: "Best-Seller",
      tagline: "Tagline text",
    },
    nyla_options: {
      defaultValue1: "50ml",
      defaultValue2: "Morning",
      productOptionImageFilter: "Shade",
    },
  },
  minPrice: {
    amount: "42.0",
    currencyCode: "USD",
  },
  options: [
    {
      name: "Shade",
      values: [
        "Dawn",
        "Morning",
        "Noon",
        "Dusk",
        "Evening",
      ],
    },
    {
      name: "Size",
      values: [
        "25ml",
        "50ml",
        "75ml",
        "100ml",
      ],
    },
  ],
  optionsByName: {
    shade: {
      values: [
        {
          availableForSale: true,
          isSelected: false,
          value: "Dawn",
        },
        {
          availableForSale: true,
          isSelected: false,
          value: "Morning",
        },
        {
          availableForSale: true,
          isSelected: false,
          value: "Noon",
        },
        {
          availableForSale: true,
          isSelected: false,
          value: "Dusk",
        },
        {
          availableForSale: true,
          isSelected: false,
          value: "Evening",
        },
      ],
    },
    size: {
      values: [
        {
          availableForSale: true,
          isSelected: false,
          value: "25ml",
        },
        {
          availableForSale: true,
          isSelected: false,
          value: "50ml",
        },
        {
          availableForSale: true,
          isSelected: false,
          value: "75ml",
        },
        {
          availableForSale: true,
          isSelected: false,
          value: "100ml",
        },
      ],
    },
  },
  price: {
    __nylaType: "nyla_compound_price",
    value: [
      {
        amount: "42.0",
        currencyCode: "USD",
      },
      {
        amount: "76.0",
        currencyCode: "USD",
      },
    ],
  },
  productType: "Options_shade_size",
  quantity: 1,
  shortId: "7686505824421",
  tags: [
    "categoryFace",
    "nyla_collection_285428154533",
    "nyla_collection_285428613285",
    "nyla_collection_286857232549",
    "upsell-balm",
    "upsell-top",
  ],
  title: "Balm",
  url: "/products/balm?variant_id=41606306693285",
  variant: {
    availableForSale: true,
    barcode: "",
    compareAtPrice: null,
    currentlyNotInStock: false,
    image: {
      altText: "Morning, 50ml",
      id: "gid://shopify/ProductImage/32788414529701",
      url: "https://cdn.shopify.com/s/files/1/0584/6053/6997/products/Mintlarge.jpg?v=1663857862",
    },
    media: [
      {
        altText: "Dawn, Dusk, Evening, Morning, Noon",
        id: "gid://shopify/ImageSource/25434767622309",
        type: "image",
        url: "https://cdn.shopify.com/s/files/1/0584/6053/6997/products/Productimage2_78b9f74a-f50a-4e3b-9beb-eb4414f1f265.jpg?v=1663857862",
      },
      {
        altText: "Morning, 50ml",
        id: "gid://shopify/ImageSource/25201001398437",
        type: "image",
        url: "https://cdn.shopify.com/s/files/1/0584/6053/6997/products/Mintsmall.jpg?v=1663857862",
      },
      {
        altText: "Morning, 50ml",
        id: "gid://shopify/ImageSource/25201001562277",
        type: "image",
        url: "https://cdn.shopify.com/s/files/1/0584/6053/6997/products/Mintlarge.jpg?v=1663857862",
      },
    ],
    metafield: {
      nyla: {
        dark_image: {
          altText: null,
          height: 2475,
          id: "gid://shopify/ImageSource/26309377294501",
          url: "https://cdn.shopify.com/s/files/1/0584/6053/6997/files/portrait-of-beautiful-black-woman-with-mysterious-shadows.jpg?v=1671466812",
          width: 1650,
        },
        light_image: {
          altText: null,
          height: 2474,
          id: "gid://shopify/ImageSource/26446658437285",
          url: "https://cdn.shopify.com/s/files/1/0584/6053/6997/files/portrait-of-beautiful-woman-with-clear-skin-posing-with-monster-plant-leaf.jpg?v=1675097830",
          width: 1650,
        },
        medium_image: {
          altText: null,
          height: 4096,
          id: "gid://shopify/ImageSource/26309377360037",
          url: "https://cdn.shopify.com/s/files/1/0584/6053/6997/files/dbd006133f931767456c7cdfb16cf1d4.jpg?v=1671466813",
          width: 2925,
        },
      },
    },
    price: {
      amount: "76.0",
      currencyCode: "USD",
    },
    quantityAvailable: 23,
    selectedOptions: [
      {
        name: "Shade",
        value: "Morning",
      },
      {
        name: "Size",
        value: "50ml",
      },
    ],
    sku: "",
    title: "Morning / 50ml",
  },
  variants: [
    {
      availableForSale: true,
      barcode: "",
      compareAtPrice: null,
      currentlyNotInStock: false,
      image: {
        altText: "Dusk, 50ml",
        id: "gid://shopify/ProductImage/32788414595237",
        url: "https://cdn.shopify.com/s/files/1/0584/6053/6997/products/Mangosmall.jpg?v=1663857862",
      },
      isSelected: false,
      metafield: {
        nyla: {
          dark_image: {
            altText: null,
            height: 1100,
            id: "gid://shopify/ImageSource/26309377228965",
            url: "https://cdn.shopify.com/s/files/1/0584/6053/6997/files/portrait-beautiful-black-woman-using-jade-roller-her-face.jpg?v=1671466812",
            width: 1650,
          },
          light_image: {
            altText: null,
            height: 1066,
            id: "gid://shopify/ImageSource/26309377196197",
            url: "https://cdn.shopify.com/s/files/1/0584/6053/6997/files/portrait-beautiful-woman-with-clear-skin.jpg?v=1671466812",
            width: 1600,
          },
          medium_image: {
            altText: null,
            height: 4096,
            id: "gid://shopify/ImageSource/26309420417189",
            url: "https://cdn.shopify.com/s/files/1/0584/6053/6997/files/92d292fe78389de7a22c376f48164a61.jpg?v=1671467507",
            width: 2713,
          },
        },
      },
      price: {
        amount: "42.0",
        currencyCode: "USD",
      },
      quantityAvailable: 22,
      selectedOptions: [
        {
          name: "Shade",
          value: "Dawn",
        },
        {
          name: "Size",
          value: "25ml",
        },
      ],
      sku: "",
      title: "Dawn / 25ml",
    },
    {
      availableForSale: true,
      barcode: "",
      compareAtPrice: null,
      currentlyNotInStock: false,
      image: {
        altText: "Dusk, 50ml",
        id: "gid://shopify/ProductImage/32788414562469",
        url: "https://cdn.shopify.com/s/files/1/0584/6053/6997/products/Mangolarge.jpg?v=1663857862",
      },
      isSelected: true,
      metafield: {
        nyla: {
          dark_image: {
            altText: null,
            height: 1100,
            id: "gid://shopify/ImageSource/26309377228965",
            url: "https://cdn.shopify.com/s/files/1/0584/6053/6997/files/portrait-beautiful-black-woman-using-jade-roller-her-face.jpg?v=1671466812",
            width: 1650,
          },
          light_image: {
            altText: null,
            height: 1066,
            id: "gid://shopify/ImageSource/26309377196197",
            url: "https://cdn.shopify.com/s/files/1/0584/6053/6997/files/portrait-beautiful-woman-with-clear-skin.jpg?v=1671466812",
            width: 1600,
          },
          medium_image: {
            altText: null,
            height: 4096,
            id: "gid://shopify/ImageSource/26309420417189",
            url: "https://cdn.shopify.com/s/files/1/0584/6053/6997/files/92d292fe78389de7a22c376f48164a61.jpg?v=1671467507",
            width: 2713,
          },
        },
      },
      price: {
        amount: "76.0",
        currencyCode: "USD",
      },
      quantityAvailable: 1,
      selectedOptions: [
        {
          name: "Shade",
          value: "Dawn",
        },
        {
          name: "Size",
          value: "50ml",
        },
      ],
      sku: "",
      title: "Dawn / 50ml",
    },
  ],
}

Properties

string

Stripped description of the product, single line with HTML tags removed.

string

The description of the product, complete with HTML formatting.

string

A human-friendly unique string for the Product automatically generated from its title.

string

A globally-unique identifier from Shopify (the GraphQL long-form format).

nyla_price

The highest variant's product

array

The media associated with the product. You can iterate over the array (in Grid Layout/Slide Layout) or directly use {{ product.media.0 }} to select the first image (with any number in the list).

object

nyla_price

The lowest variant's product

array

List of custom product property names like “Size”, “Color”, and “Material” with values. These represent product options and can be used for products in a variety of ways.

object

Same as product.options but keyed by option name which makes it easy to use. Each option also surfaces more useful information.

nyla_compound_price

The price range.

string

A categorization that a product can be tagged with, commonly used for filtering and searching.

number

object

string

A globally-unique identifier from Shopify (the Admin number-only format).

array

A categorization that a product can be tagged with, commonly used for filtering and searching.

string

The product’s title.

string

The URL for the product’s page on the shop’s website.

object

Returns the selected variant

array

List of product variants.