$query = new WP_Query( [
'post_type' => 'product',
'post_status' => 'publish',
'posts_per_page' => -1,
'tax_query' => [
'relation' => 'AND',
[
'name__like'=> $product_name,
],
[
'taxonomy' => 'product_cat',
'field' => 'slug',
'terms' => array('nabor'),
],
[
'taxonomy' => 'product_cat',
'field' => 'slug',
'terms' => $day,
],
]
] );