Home Forums General Issues How can i query acf products by category


How can i query acf products by category

  • Hello,
    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.

    best regards

  • My mistake, i have found it, thanks

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.