I've built a recent item slider for the front page of my site, but now I'm trying to add a similar slider to a blog page that only gets the products from certain product tags.
Here is the code I have now that isn't working. It displays all products, no matter the product tag.
$args = array( 'post_type' => 'product', 'posts_per_page' => 12,'product_tag' => '16' );
I've also tried;
'cat' => '16'
'product_cat' => 'shoes'
'product_cat' => '16'
'product_tag' => 'shoes'
'slug' => 'shoes'
Does anybody have any suggestions? I'm completely stuck on this issue!