mirror of
https://github.com/vercel/commerce.git
synced 2025-07-14 00:11:22 +00:00
added compareAtPriceRange to the Product object
This commit is contained in:
parent
30a080182c
commit
6f08795b2b
@ -14,6 +14,16 @@ const productFragment = /* GraphQL */ `
|
|||||||
name
|
name
|
||||||
values
|
values
|
||||||
}
|
}
|
||||||
|
compareAtPriceRange {
|
||||||
|
maxVariantPrice {
|
||||||
|
amount
|
||||||
|
currencyCode
|
||||||
|
}
|
||||||
|
minVariantPrice {
|
||||||
|
amount
|
||||||
|
currencyCode
|
||||||
|
}
|
||||||
|
}
|
||||||
priceRange {
|
priceRange {
|
||||||
maxVariantPrice {
|
maxVariantPrice {
|
||||||
amount
|
amount
|
||||||
|
@ -116,6 +116,10 @@ export type ShopifyProduct = {
|
|||||||
description: string;
|
description: string;
|
||||||
descriptionHtml: string;
|
descriptionHtml: string;
|
||||||
options: ProductOption[];
|
options: ProductOption[];
|
||||||
|
compareAtPriceRange: {
|
||||||
|
maxVariantPrice: Money;
|
||||||
|
minVariantPrice: Money;
|
||||||
|
};
|
||||||
priceRange: {
|
priceRange: {
|
||||||
maxVariantPrice: Money;
|
maxVariantPrice: Money;
|
||||||
minVariantPrice: Money;
|
minVariantPrice: Money;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user