wp-graphql-woocommerce icon indicating copy to clipboard operation
wp-graphql-woocommerce copied to clipboard

ProductCategoryToProductConnection getting not related products

Open YishaqG opened this issue 1 year ago • 1 comments

Describe the bug Querying for the products of a category using productsCategories returns not related products.

To Reproduce

  1. 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. CleanShot 2023-12-19 at 16 36 11@2x

Plugin Versions WooGraphQL Version: 0.18.3 WPGraphQL Version: 1.19.0 WordPress Version: 6.4.2 WooCommerce Version: 8.3.1

YishaqG avatar Dec 19 '23 22:12 YishaqG

Just tested with v0.19.0 and having the same issue

YishaqG avatar Jan 05 '24 22:01 YishaqG