Woocommerce query by price range and custom meta key
The featured product’s meta key is _featured, but you are using featured in your meta query. This will return no products, since the key doesn’t exist. Also, as far as I know, the value of the key is yes, so your arguments should be like this: array( ‘key’ => ‘_featured’, ‘value’ => ‘yes’, ) Another … Read more