@flycoders_sourav wrote:
I’m interested to know what is the specific url endpoint i need to hit such that i can get all products from a given category.
Tried:
this.WooCommerce.getAsync("products?filter[category]=" +this.category.slug).then((data) => { console.log(JSON.parse(data.body)); this.products = JSON.parse(data.body); }, (err) => { console.log(err) })
none are not working. This seems like a basic requirement. Am I missing something obvious here? Any insight into solving it is much appreciated. Thanks
Posts: 1
Participants: 1