I want to filter products by attribute in Woocommerce using a checkbox or alternatively a link. If I mark the checkbox or click the link I want get all products that have this a
Ok i got finally the result!
I have this:
$args = array ( 'post_type' => 'product', 'posts_per_page' => 12, 'meta_query' => array( array( 'value' => 'demo', 'compare' => 'like' ), ),
);
Thanks anyway for the help!