fragment VariantFragment on ProductVariant {
  id
  title
  price
  weight
  available
  image {
    id
    src
    altText
  }
  selectedOptions {
    name
    value
  }
}


Add compare at price to variant
fragment VariantFragment on ProductVariant {
  id
  title
  price
  weight
  available
  compareAtPrice
  image {
    id
    src
    altText
  }
  selectedOptions {
    name
    value
  }
}