Hi,
I’m developing a headless store with Shopify and I finally managed to filter my products by price, vendor and by metafield.
But one of my metafields is an integer and I would like to filter products with this metafield value lower than X or greater than X.
In the documentation, there is only an example for filtering products with metafield value = X, so is there a way to do it?
Can I use a key “max” or “min” like prices?
[
'productMetafield' =>
[
'namespace' => 'custom',
'key' => 'length',
'value' => 18
]
]
[
'productMetafield' =>
[
'namespace' => 'custom',
'key' => 'length',
'max' => 18
]
]