Out of Stock Not Showing on Product Page

This topic has 9 replies, 3 voices, and was last updated 2 years, 10 months ago ago by Dev Burman

  • Avatar: Dev Burman
    Dev Burman
    Participant
    May 3, 2021 at 18:45

    Hi,

    Out of Stock text is not showing on Product page. From where can I configure this?

    https://prnt.sc/12flzxb

    8 Answers
    Avatar: Robert Hall
    Robert Hall
    Support staff
    May 4, 2021 at 09:58

    Hello

    Please check if you enabled Inventory settings in Woocommerce > Settings > Products > Inventory. Then edit a product and enable stock management. https://prnt.sc/12gtucr

    Robert Hall

    Avatar: Dev Burman
    Dev Burman
    Participant
    May 4, 2021 at 12:54

    Hi,

    I checked woo commerce settings, it’s same as you mentioned in the screenshot.

    In Product page, stock management is also enabled. See the attached screenshot.

    For products which are in stock, it showing add to cart button, but for out of stock products, it’s just hide the add to cart button and not showing Out of Stock text.

    https://prnt.sc/12h3kd0

    Avatar: Robert Hall
    Robert Hall
    Support staff
    May 4, 2021 at 19:52

    Hello

    Can you please sens us your website temporary wp admin logins so that we will check your issue in more details.

    Robert Hall

    Avatar: Dev Burman
    Dev Burman
    Participant
    May 7, 2021 at 16:58

    Hi,

    Shared Details in Private.

    Please contact administrator
    for this information.
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    May 8, 2021 at 07:25

    Hello,

    Delete this custom CSS code – http://prntscr.com/12nwez8

    Regards

    Avatar: Dev Burman
    Dev Burman
    Participant
    May 9, 2021 at 09:13

    Hi,

    OK! But I dont want to showcase exact number of stock on the website. How can I hide it? Just In Stock will be enough. Check the Screenshot – https://prnt.sc/12po32r

    Also, can i change the color for Out of Stock to red and In stock to green? Right now both are having same color.

    Avatar: Robert Hall
    Robert Hall
    Support staff
    May 9, 2021 at 18:10

    Hello

    Please select the following option https://prnt.sc/12q8s4s by going to Woocommerce > Settings > Products > Inventory.

    You can change the stock color by adding a small css code in additional css by going to Dashboard > Theme Options > Additional CSS

    .stock.step-3 {
        color: #0F9C8F;
    }

    Robert Hall

    Avatar: Dev Burman
    Dev Burman
    Participant
    May 10, 2021 at 17:52

    Thanks Robert! You are a Hero!

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

The issue related to '‘Out of Stock Not Showing on Product Page’' has been successfully resolved, and the topic is now closed for further responses

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