How to get a list of bundled products using wp_query in woocommerce

You should be able to do it using ‘tax_query’:

'tax_query'=> array(
    array(
        'taxonomy' => 'product_type',
        'field'    => 'slug',
        'terms'    => 'bundle', 
    ),
),

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)