Hi,
Thanks for the suggestion, I’ll feed this back for future improvement.
To help you out in the meantime, you could amend the WP_Query args for the shortcode to suite your needs.
The file is named sf-products.php
, look for the function sf_product_items()
you could overwrite this in your child theme.
Specificly in your case, you would want to look for this and update as you need :
else if ($asset_type == "featured-products") {
$args = array(
'post_type' => 'product',
'post_status' => 'publish',
'product_cat' => $category,
'ignore_sticky_posts' => 1,
'meta_key' => '_featured',
'meta_value' => 'yes',
'posts_per_page' => $item_count
);
}
Thanks.