Our Partner & Developer boards on the community are moving to a brand new home: the .dev community forums! While you can still access past discussions here, for all your future app and storefront building questions, head over to the new forums.

Storefront API - Filtering On 'On Sale'

Storefront API - Filtering On 'On Sale'

YuraNice
Visitor
2 0 1

Hi guys,

Is there a way to implement the 'on Sale' filter functionality for products using Storefront API?

I read about supported filter parameters of the “query” argument in the ‘products’ connection but nevertheless I did manage to filter on variants:sku and it works properly.

So, I thought maybe there is a way to implement it with 'Compare at price'

I have already tried the following query variants:compare_at_price_v2:amount:>0 to find products with Compare at price set but It didn't work...

Any ideas?

Replies 0 (0)