wp-graphql-woocommerce
wp-graphql-woocommerce copied to clipboard
ProductCategoryToProductConnection getting not related products
Describe the bug
Querying for the products of a category using productsCategories
returns not related products.
To Reproduce
- Query for the products belonging to a category using
productsCategories
Expected behavior Child category only returns related products
Screenshots
No product from the child category belongs to it.
Plugin Versions WooGraphQL Version: 0.18.3 WPGraphQL Version: 1.19.0 WordPress Version: 6.4.2 WooCommerce Version: 8.3.1
Just tested with v0.19.0 and having the same issue