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
/.pnp
.pnp.js
yarn.lock
package-lock.json
# testing
/coverage

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;