Stock showing on products – how to remove?

This topic has 4 replies, 3 voices, and was last updated 1 years, 8 months ago ago by Rose Tyler

  • Avatar: padel
    padel
    Participant
    March 24, 2023 at 17:23

    I would like to remove the places where the number of products in stock show.
    When you do a quick view and the product pops up on the right side, it shows how many products are in stock. This I would like to remove.

    When you search for at product, the products that show up in the search shows how many products are in stock. I would like to remove that.

    3 Answers
    Avatar: Tony Rodriguez
    Tony Rodriguez
    Support staff
    March 25, 2023 at 05:45

    Hello, @padel,

    1. To remove the number of stocks from the Quick View, please copy and paste the following CSS code to XStore >> Theme Options >> Theme Custom CSS >> Global CSS and then clear your browser cache.

    .et-quick-view-canvas.et-off-canvas-wide > .et-mini-content p.stock.in-stock.step-1 {
        display: none !important;
    }

    2. To remove the number of stocks from the Search Products, please copy and paste the following CSS code to XStore >> Theme Options >> Theme Custom CSS >> Global CSS and then clear your browser cache.

    .autocomplete-suggestion .content-product .product-details>.stock {
        display: none !important;
    }

    We hope this information is helpful.

    Best regards,
    8Theme’s Team.

    Avatar: padel
    padel
    Participant
    March 26, 2023 at 11:12

    I have tried this, but they still appear on quick view. They do not appear on search. Actually on some products it appears and on others it does not appear on quick view.

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    March 26, 2023 at 12:27

    Hello, Padel,

    In this case, delete that custom CSS code.
    Go to WooCommerce > Settings > Products > Inventory > Stock display format > Never show quantity remaining in stock. Then go to Theme Options > use search to find “Stock Status” option and disable it.

    Kind Regards,
    8theme team

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

The issue related to '‘stock showing on products – how to remove?’' has been successfully resolved, and the topic is now closed for further responses

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