• Paul

    (@paulschiretz)


    Hi there,

    I just noticed that hiding the stock status in the bundled products on the single Product page is not working.

    I checked the code and it’s simply missing the get_option() call.

    echo '<div class="woosb-availability">' . wc_get_stock_html( $_product ) . '</div>';

    can you please fix that!

    Thanks,
    Paul

    • This topic was modified 4 years, 2 months ago by Paul.
    • This topic was modified 4 years, 2 months ago by Paul.
Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author WPClever

    (@wpclever)

    Hi @paulschiretz

    Please add below CSS code to WP-Admin → Appearance → Customizer → Additional CSS

    .woosb-availability { display: none !important; }

    Thread Starter Paul

    (@paulschiretz)

    Well, sure i can hide it with css. Not an issue right now but i just wanted to let you know that the setting (bundled products section, show stock: no) in the option panel does nothing… if you look at the code line i posted earlier, it’s missing the check for the option if i’m not mistaken, maybe this can be fixed in some future version.

    Thanks,
    Paul

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Hide Bundled Product availability not working’ is closed to new replies.