Woocommerce REST API filter price range
-
Hi,
How to filter products within a price range.
I can get the products of exact price using the filter
eg.https://ambalasweets.us/wp-json/wc/v1/products?category=7&filter[meta_key]=_price&filter[meta_value]=3.99
The above url gives me products having price $3.99.I want to get all products between $3 and $6
I have tried many things but couldn’t.
https://ambalasweets.us/wp-json/wc/v1/products?category=7&filter[meta_key]=_price&filter[meta_value]=3,6&filter[meta_compare]=BETWEEN&filter[meta_type]=NUMERIC
The topic ‘Woocommerce REST API filter price range’ is closed to new replies.