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
- Shipping Refund via Stripe Creates New Order Instead of Updating Original Order
- Serve different files depending on OS/Browser
- Accessing post’s meta data based on user’s click of a post
- How to configure two SMTP Server for wordpress
- Absolute Image URL in srcset is appended to the upload dir
- Dropdown menu on custom page with product to choose number of products per page
- Woocommerce plugin for minimum order and add-to-card-step
- Add Product Subtitle to Woocommerce Product Page
- Change wordpress current_time function to different timezone
- Only Homepage not loading properly
- How can you include a theme template file from within a plugin (i.e. WooCommerce’s Shop page)?
- woocommerce 3.2.1 not sending order notification emails
- Integrating non-WooCommerce and WooCommerce Orders together [closed]
- Change the method of a class from child function.php
- Override Javascript in a Plugin?
- WooCommerce Custom Product to checkout
- Woocommerce – How to populate custom select field with stored values on checkout page?
- Get posts from WP_Query and format them on admin_head
- Override global query results without hooks
- Automatically add attributes to woocommerce product?
- Reduce Drop down Menu Width in WordPress
- Not getting author rank when using return
- How to query the custom fields by language?
- How do I “get the next 10 posts after post_id == x”?
- Use wordpress functions in another PHP file
- switched from query_posts to WP_query, not working now?
- AJAX search posts and pages
- How to stop activating a plugin and show admin notice when dependent plugins minimum version is not met
- DROP TABLE with uninstall hook not working
- How to enable specific plugin only based around shop manager role?
- What are wsm tables for?
- WordPress automatically removes line break
- Why required field not working in Country dropdown in WooCommerce –
- Woocommerce API HTTP Response 401
- woocommerce_package_rates not fired when wordpress woocommerce accessed as non ajax
- How to use WP-CLI / WC-CLI to bulk import 1000s of products (variable and simple)?
- Add woocommerce variation images in gallery?
- woocommerce payment gateway callback not firing [closed]
- How to modify WCMP Rest API response?
- WordPress Keeps Logging Out – What Tests Can I Run to Solve This?
- How to change this WP_Query to get all ProductIDs and not only specific one?
- Woocommerce dependent plugin
- How to check current user before all actions and filters?
- New databes tables with – WooCommerce – for developers [closed]
- How to send an automated email to the customers when product is added woocommerce
- Modifying a .js Function for Print [QZ Tray, WooCommerce POS]
- WooCommerce: Building a page with user input which is used to query order status and external API and return a result
- woocommerce product countdown not showing in variable product? [closed]
- Change commission_status paid when withdraw_status vendor is completed
- I want to disable Cash on delivery based on product tag in woocommerce Checkout Page [closed]
- Is there a way to create custom product templates based on category on WooCommerce?
- Woocommerce Deposit, then random payments until product paid in full [closed]
- How to toggle between two custom fields in WordPress woocommerce ‘WC Product Field Group’ plugin?
- custom payment gateway in woocommerce failed to connect to remote api server
- Programmatically Process Order through WooCommerce/Stripe Payment Gateway [closed]
- Replacing a plugin function with a custom renamed function doesn’t work
- CampaignMonitor for WooCommerce – Move subscribe button [closed]
- Multiple Billing forms in WooCommerce (one billing form per product)
- Creating a Callback URL for WordPress Woocommerce to update Order Status
- Change Product Addon price based on select Variation
- WooCommerce – Maximum qty per line per product
- Woocommerce Create custom product type with variations
- Remove /product/ from url. I want only category name then product name
- Pre booking doesn’t work with custom bootstrap modul in woocommerce [closed]
- WooCommerce specifc variations for specific user role [closed]
- Save custom attributes of product in woocommerce
- Filtering WooCommerce Orders by Category
- How to call WordPress function other files
- trying to get product category image in woo-coomerce
- 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 ?
- Out Of memory issue on post per page parameter
- Product queue for my subscription box
- Want to Show Sub categories under Categories section using Woo Commerce [closed]
- WP_Query and NULL meta keys
- how to use in custom single.php template using php?
- how to do login using woocommerce rest api From android
- Custom Pages for Woocommerce Product-Category Pages
- Woocommerce Minimum Price for a Composite Product to add in cart
- Problem with the Loop – want to limit the access to three free articles
- creating a custom shop page display on archive woocommerce
- WordPress page and plugin list using sql query
- How to create a custom shortcode based on the layout?
- Using AJAX to generate front end / viewer end pages
- Woocommerce Shop page variation product button replace with add to cart button
- How can I insert thousands of Woocommerce products by batch with PHP? [closed]
- ACF: post query, hide duplicate values [closed]
- How to use add_submenu_page() for editors?