trying to filter products by attribute
-
hi. i use this plugin for simply getting products via wp-json api. but when i try to filter products, say by attribute, i always get all products, no filter is applied:
/wp-json/cocart/v2/products?attribute=pa_finish&attribute_term=1098
/wp-json/cocart/v2/products?pa_finish=1098
all return the same results (getting over 400 products in return, expecting 1 or so)/wp-json/cocart/v2/products?category=429
works just fineam i doing this correct?
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘trying to filter products by attribute’ is closed to new replies.