This topic has 4 replies, 3 voices, and was last updated 1 years, 9 months ago ago by Rose Tyler
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.
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.
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.
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
The issue related to '‘stock showing on products – how to remove?’' has been successfully resolved, and the topic is now closed for further responses