Merge 8efe9451185596a3fda502ccdc52fb607802ba1d into fa1306916c652ea5f820d5b400087bece13460fd

This commit is contained in:
Chewie 2025-03-20 13:53:44 +05:30 committed by GitHub
commit 1539ec3a23
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 16 additions and 0 deletions

2
.gitignore vendored
View File

@ -4,6 +4,8 @@
/node_modules /node_modules
/.pnp /.pnp
.pnp.js .pnp.js
yarn.lock
package-lock.json
# testing # testing
/coverage /coverage

View File

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

View File

@ -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;