add compareAtPriceRange

This commit is contained in:
codingChewie 2024-10-30 16:54:01 -05:00
parent 57016c1582
commit 8efe945118
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

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