You should be able to do it using ‘tax_query’:
'tax_query'=> array(
array(
'taxonomy' => 'product_type',
'field' => 'slug',
'terms' => 'bundle',
),
),
Related Posts:
- how do i remove posts from a WP_Query so the pagination is right?
- WooCommerce shop page orderby [closed]
- Fetch Children of Grouped Products Inside WooCommerce Product Loop
- Insert content of a post into another
- WooCommerce search products between price range using WP_Query
- Redirect to another page using contact form 7? [closed]
- woocommerce search by sku and title ajax
- Loop returns the current page’s permalink and guid instead of the post in the loop
- WooCommerce Product Table – filter query on attributes
- Checkbox field that add a subscription product and change prices of other products in checkout and cart page
- Only return taxonomies that are linked to a category & product
- Advanced Custom Fields (ACF) Plugin – Random Image in Sidebar
- WooCommerce – Load Templates From Plugin For All Template Files
- WooCommerce ‘all’ orders no longer being displayed – how may I debug/fix [closed]
- Create WooCommerce Product Category Programmatically
- How to save Clicks of a download link button while it doesn’t matter if we refresh the page or again login/logout
- Find out if request is for custom post type archive before query runs
- WooCommerce Dynamic Cart Pricing
- Add multiple attributes to product from php
- How can i list random post from multiple category?
- Absolute Image URL in srcset is appended to the upload dir
- Only Homepage not loading properly
- woocommerce 3.2.1 not sending order notification emails
- Override Javascript in a Plugin?
- Woocommerce – How to populate custom select field with stored values on checkout page?
- Use wordpress functions in another PHP file
- AJAX search posts and pages
- WordPress automatically removes line break
- Add woocommerce variation images in gallery?
- WooCommerce: Building a page with user input which is used to query order status and external API and return a result
- How to toggle between two custom fields in WordPress woocommerce ‘WC Product Field Group’ plugin?
- How to add checkboxes for a woocommerce product? [closed]
- Why am I getting ( WooCommerce Services could not be installed (Could not create directory.). ) error and how to solve it ?
- how to do login using woocommerce rest api From android
- How to create a custom shortcode based on the layout?
- Woocommerce Shop page variation product button replace with add to cart button
- ACF: post query, hide duplicate values [closed]
- woocommerce with custom post type
- How to insert multiple postmeta values with one query?
- Recent posts per category loop?
- Restrict content based on buy woocommerce product
- Replacing global wp_query
- Product count in archive page Title in WooCommerce [closed]
- WordPress Stock Update Programatically
- Exclude a Woocommerce product from WP_Query
- Woocomerce add info after order email prouct item
- Getting a ressource ID, from a WC_Order_Item_Product/Order
- WP_Query multiple post results
- How to remove products-links after the product title using remove_action
- get_term_meta returns false in widget
- Custom search search does not work?
- WordPress custom plugin that uses woocommerce enabled payment gateway for payment [closed]
- Make 2 different WooCommerce checkout pages?
- Add custom PHP and HTML to the_content()
- Woocommerce Export and import Orders
- Cannot read properties of undefined (reading ‘firstChild’) using photoswipe in product page
- Sold out Label for variable products which are partially sold out
- Grouping imported products and showing variations based on selected product
- Add a Custom email notification to WC actions
- How to hide a woocommerce setting tab from admin & shop manager?
- Remove Zero Money From Previews Order woocommerce
- How would I Redirect an existing WooCommerce customer to a specific url after Checkout
- Woocommerce add products to cart
- Changing wordpress/woocommerce notices default message to other languages (text)
- Easiest way to load/fire a handful of functions, IF checkbox is checked?
- How to edit checkout page? [closed]
- WooCommerce Stripe payment plugin working perfectly in storefront parent theme but not in the child theme
- Performance considerations – postmeta table versus new table for custom posts with foreign keys?
- Programmatically generate new pages for a site based on page template and content elements accessed via DB
- WooCommerce Checkout Issue specific to Instagram In-App Browser
- How to pass multiple custom fields as shortcode’s parameters
- How to access custom post meta data from JavaScript
- Is it possible to custom set query for a WordPress REST API response?
- Woocommerce – Change variations output
- Plugin for showing single product on a page
- How to capture customer’s credit card details via PayPal on my checkout page?
- Hide ‘add to cart’ button for some products [duplicate]
- Payment failed but order is placed on wp site
- How to change the product short description for each product with PHP?
- Help needed with woocommerce (wc stripe) filter
- How to add in WP_Query to every 3 posts displayed? [duplicate]
- How can i see/log all requests coming from a registration form (not from the UI)?
- WP_Query Date Filtering Inclusive Being Ignored
- Making a Custom Post Type Publish Loop
- Add A Button to WooCommerce Product Page
- How ACF Advanced Custom Field works with Woocommerce Single Product [closed]
- is_plugin_active() not defined on active plugin, in the thumbnails.php file
- The plugin generated xxx characters of unexpected output during activation
- WP Customer Reviews call short code on another page [closed]
- Need help saving input fields for Security Deposit plugin in WC Vendors page
- Populate Woocommerce order notes with custom field value
- Woocommerce Product Add-ons – Auto-select first option
- How to dispaly post informations (such as titles) in an admin plugin menu page?
- Display out of stock products in WooCommerce [closed]
- Create Custom Coupon Type
- Add different sizes packaging boxes to orders plugin
- Woocommerce set loop_shop_columns to be 3 in the main shop page loop only and 4 otherwise
- Order custom post type by posts with most likes first
- Accessing Correct Database to Create REST API Endpoint
- A multi-section WordPress store [closed]