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)