Hello, there is such a thing as meta_query. It is necessary that 2 values fall into value, and not 1 as now.
EXAMPLE:
site.com/?color_value=#9ac317&color_value=#b2004b/ to 'value' => $_GET['color_value'] only #b2004b .
Below is the code for more convenient understanding:
if(!empty($_GET['color_value'])) $param_1 = array( 'key' => 'select_color', 'value' => $_GET['color_value'], 'compare' => 'LIKE'); $args = array( 'post_type' => 'product', 'posts_per_page' => -1, 'orderby' =>'date', 'order' => 'DESC', 'tax_query'=> array( array( 'taxonomy' => 'product_cat', 'field' => 'id', 'terms' => $category_id)), 'meta_query' => array($param_1) );