mirror of
https://github.com/vercel/commerce.git
synced 2025-04-27 21:37:50 +00:00
add compareAtPriceRange
This commit is contained in:
parent
57016c1582
commit
8efe945118
@ -14,6 +14,16 @@ const productFragment = /* GraphQL */ `
|
|||||||
name
|
name
|
||||||
values
|
values
|
||||||
}
|
}
|
||||||
|
compareAtPriceRange {
|
||||||
|
maxVariantPrice {
|
||||||
|
amount
|
||||||
|
currencyCode
|
||||||
|
}
|
||||||
|
minVariantPrice {
|
||||||
|
amount
|
||||||
|
currencyCode
|
||||||
|
}
|
||||||
|
}
|
||||||
priceRange {
|
priceRange {
|
||||||
maxVariantPrice {
|
maxVariantPrice {
|
||||||
amount
|
amount
|
||||||
|
@ -123,6 +123,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