Home / Forums / WoodMart support forum / Enable Stock but hide it's display
Home › Forums › WoodMart support forum › Enable Stock but hide it's display
Enable Stock but hide it's display
- This topic has 11 replies, 2 voices, and was last updated 7 years, 1 month ago by
Elise Noromit.
-
AuthorPosts
-
October 10, 2018 at 4:31 am #81852
addyParticipantHello,
As the topic says, we want to disable stock number display even though we wish to enable “manage stock” and “stock quantity”.
This is because we are using some third party countdown timer which also shows the stock number. So we do not want to display same information twice. Hence need to disable the theme display of stocks.
Let me know how it can be done.
In summary: I need to hide this display (See screenshot)
October 10, 2018 at 8:13 am #81880
Elise NoromitMemberHello,
Please disable all the third parties plugins not related to the theme. I cannot enter a product https://gyazo.com/456118de646f51c7c60813f26a5e1f4d Your site trying to search something though I did not press search. It tries on its own.
Best Reagards
October 10, 2018 at 2:30 pm #82009
addyParticipantPlease check now. The page should load correctly. And help us solve the original issue. Thanks
October 10, 2018 at 2:41 pm #82015
Elise NoromitMemberHello,
Please add this code to the Theme Settings > Custom CSS:
.product-image-summary .out-of-stock, .product-image-summary .in-stock{ display:none; }Best Regards
October 10, 2018 at 6:08 pm #82053
addyParticipantHello,
I have added that code to the global CSS in Theme settings>Global CSS but the stock number still displays.
October 10, 2018 at 6:33 pm #82060
Elise NoromitMemberHello,
I have tested the code in my testing environment and it works. Please provide your valid access.
Best Regards
October 10, 2018 at 6:53 pm #82066
addyParticipantAccess given below.
As you are already aware that this is a test website. let me know all the changes you make here. So I can replicate on the original website.
October 10, 2018 at 7:42 pm #82070
Elise NoromitMemberHello,
I have added above-provided code and stock is not visible, check this product Vornex Minimalist Wooden Coffee Table
http://prntscr.com/l4kyw1
Please clarify your purpose perhaps I have misunderstood you.Best reagards
October 10, 2018 at 7:58 pm #82071
addyParticipantWhere have you added that code? Is it specific to that product only? For example, check another product – (Link)
The stock number is displayed.
October 11, 2018 at 6:27 am #82098
Elise NoromitMemberHello,
I have also added this code for variation product:
.variations_form .woocommerce-variation-availability .out-of-stock, .variations_form .woocommerce-variation-availability .stock { display:none; }Best Regards
October 11, 2018 at 12:52 pm #82198
addyParticipantYes, it works, but I wish to display “out of stock” if the product is marked out of stock. It should not display “in stock” as said. So the correct code would be this?
.product-image-summary .in-stock{
display:none;
}.variations_form .woocommerce-variation-availability .stock {
display:none;
}
October 11, 2018 at 1:15 pm #82211
Elise NoromitMemberHello,
Yes, delete the lines with “out of stock” class
Best Regards
-
AuthorPosts
The topic ‘Enable Stock but hide it's display’ is closed to new replies.
- You must be logged in to create new topics. Login / Register