Add special wc_query variable when querying products. #6444