i have created products and product categories with ACF. I dont use Woocommerce and build it with acf fields.
I use Breakdance Builder and want to query all products per specific category. So i created a template for my product archives but it shows all products from all product categories and not the specific iam on, like sneakers.
I can insert a query which is atm.
return [‘post_type’ => ‘products’];
Can you please help me how i can query products by category.
My mistake, i have found it, thanks