• As it turns out this is pretty simple to add by yourself so hopefully no one is paying for custom coding for this. This is a feature that should’ve been in here – how am I going to see out of stock items that are popular? Silly.

    At line 70 of sp-woocommerce-best-selling-products-by-category.php add:

    ,array(
    ‘key’ => ‘_stock_status’,
    ‘value’ => ‘instock’
    ),

    Within the ‘meta_query’ => array() section.

    • This topic was modified 6 years, 6 months ago by madturki. Reason: Not a support question
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Hiding Out of Stock Items’ is closed to new replies.