$term = get_term_by( \'slug\', get_query_var( \'term\' ), get_query_var( \'taxonomy\' ) );
$args = array(
\'post_type\' => \'product\',
\'posts_per_page\' => 5,
\'tax_query\' => array(
array(
\'taxonomy\' => \'price\',
\'terms\' => $term->name,
\'field\' => \'name\'
),
),
);
$allproducts = new WP_Query($args);