From 7d5d364298130b9905f332bacf915c791cb42706 Mon Sep 17 00:00:00 2001 From: andr-ew Date: Wed, 21 Jun 2023 16:14:32 -0500 Subject: [PATCH] lib/shopify: add compareAtPrice to product query fragment --- lib/shopify/fragments/product.ts | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/lib/shopify/fragments/product.ts b/lib/shopify/fragments/product.ts index f8b5f7b73..e6ea44cf4 100644 --- a/lib/shopify/fragments/product.ts +++ b/lib/shopify/fragments/product.ts @@ -62,6 +62,16 @@ const productFragment = /* GraphQL */ ` title } } + compareAtPriceRange { + maxVariantPrice { + amount + currencyCode + } + minVariantPrice { + amount + currencyCode + } + } } ${imageFragment} ${seoFragment}