The is_price_reduced query parameter on the products
query isn’t working. It doesn’t seem like the match is working at all.
For example (query),
{
products(first: 2 query:"is_price_reduced:true") {
nodes {
id
variants(first: 5) {
nodes {
price
compareAtPrice
}
}
}
}
}
Results:
{
"data": {
"products": {
"nodes": [
{
"id": "gid://shopify/Product/4288600637512",
"variants": {
"nodes": [
{
"price": "4.83",
"compareAtPrice": "4.83"
}
]
}
},
{
"id": "gid://shopify/Product/4288600703048",
"variants": {
"nodes": [
{
"price": "3.08",
"compareAtPrice": "3.08"
}
]
}
}
]
}
},
"extensions": {
"cost": {
"requestedQueryCost": 8,
"actualQueryCost": 6,
"throttleStatus": {
"maximumAvailable": 2000,
"currentlyAvailable": 1994,
"restoreRate": 100
}
},
"search": [
{
"path": [
"products"
],
"query": "is_price_reduced:true",
"parsed": {
"field": "is_price_reduced",
"match_all": "true"
}
}
]
}
}
One would think that these products should not be returned, since their price is the same as the compare at price?
Anyone have luck with this query?