• Resolved jyrbba

    (@jyrbba)


    Hi,

    is there a way to hide out of stock products from the loop? I don’t have the setting switched on from woocommerce to hide all out of stock products as I need some of them to show. But I have a custom code to hide them in usual places. I also have a code to hide them in normal Woo shortcodes, but i couldn’t get it to work with these.

    I’m using this kinda of shortcode:

    echo do_shortcode(‘[wcpscwc_pdt_slider type=”bestselling” slide_to_show=”3″ dots=”false” limit=”6″ cats=”‘ . $cateID . ‘”]’);

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Hide out of stock products’ is closed to new replies.