added compareAtPriceRange to the Product object

This commit is contained in:
Aayush Rajagopalan 2023-05-31 16:50:31 +00:00
parent 30a080182c
commit 6f08795b2b
2 changed files with 14 additions and 0 deletions

View File

@ -14,6 +14,16 @@ const productFragment = /* GraphQL */ `
name
values
}
compareAtPriceRange {
maxVariantPrice {
amount
currencyCode
}
minVariantPrice {
amount
currencyCode
}
}
priceRange {
maxVariantPrice {
amount

View File

@ -116,6 +116,10 @@ export type ShopifyProduct = {
description: string;
descriptionHtml: string;
options: ProductOption[];
compareAtPriceRange: {
maxVariantPrice: Money;
minVariantPrice: Money;
};
priceRange: {
maxVariantPrice: Money;
minVariantPrice: Money;