How can I hide stock status? - by ianabel

This topic has 6 replies, 2 voices, and was last updated 3 years, 2 months ago ago by Rose Tyler

  • Avatar: ianabel
    ianabel
    Participant
    February 2, 2021 at 19:55

    Hello, I would like to hide stock status on product page. This are my settings but still is visible https://prnt.sc/y1ui3e
    Thanks

    5 Answers
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    February 2, 2021 at 20:49

    Hello,

    WooCommerce > Settings > Products > Inventory
    https://docs.woocommerce.com/document/configuring-woocommerce-settings/#inventory-options

    Regards

    Avatar: ianabel
    ianabel
    Participant
    February 3, 2021 at 15:30

    OK, but I want tha woocomerce manage the inventory, I only need that “in stock text” red, green or brown according to the quantity, remains hidden.

    Thanks

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    February 3, 2021 at 19:52

    Hello,

    Try this option – https://prnt.sc/y6c06f
    or this custom CSS code –

    .single-product .stock {
        display: none;
    }

    Regards

    Avatar: ianabel
    ianabel
    Participant
    February 4, 2021 at 15:58

    Hello, I already had that option selected https://prnt.sc/y6c06f and also set the custom css but still stock status is visible. Here you have control panel access in case you need it
    Thanks!

    Please contact administrator
    for this information.
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    February 4, 2021 at 17:46

    Hello,

    As I can see, the code works – https://prnt.sc/yajfrz Please clear cache and check one more time.

    Regards

  • Viewing 6 results - 1 through 6 (of 6 total)

You must be logged in to reply to this topic.Log in/Sign up

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.