Skip to content

Instantly share code, notes, and snippets.

@ShayneP
Created June 28, 2021 16:47
Price ranges in country (CA)
query productPriceRanges @inContext(country: CA) {
products(first: 1) {
edges {
node {
title
priceRange {
minVariantPrice {
amount
currencyCode
}
maxVariantPrice {
amount
currencyCode
}
}
compareAtPriceRange {
minVariantPrice {
amount
currencyCode
}
maxVariantPrice {
amount
currencyCode
}
}
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment