diff --git a/lib/shopify/fragments/product.ts b/lib/shopify/fragments/product.ts index be14dedca..40a4a699e 100644 --- a/lib/shopify/fragments/product.ts +++ b/lib/shopify/fragments/product.ts @@ -14,6 +14,16 @@ const productFragment = /* GraphQL */ ` name values } + compareAtPriceRange { + maxVariantPrice { + amount + currencyCode + } + minVariantPrice { + amount + currencyCode + } + } priceRange { maxVariantPrice { amount diff --git a/lib/shopify/types.ts b/lib/shopify/types.ts index 9b443559e..11ca01016 100644 --- a/lib/shopify/types.ts +++ b/lib/shopify/types.ts @@ -123,6 +123,10 @@ export type ShopifyProduct = { description: string; descriptionHtml: string; options: ProductOption[]; + compareAtPriceRange: { + maxVariantPrice: Money; + minVariantPrice: Money; + }; priceRange: { maxVariantPrice: Money; minVariantPrice: Money;