I am using the below code to hide the “Out Of Stock” status from the products which are out of stock because I am showing them for pre-order.
.woocommerce div.product .out-of-stock {
display: none;
}
.woocommerce div.product p.stock {
display: none;
}
It is working good… But now I want to show the Out Of Stock on products but when removing this code, out of stock is showing on all products even on Pre-order.
All the pre-orders products are showing because I have created a particular “pre-order” tag for them. So, I want to show the out of stock status but not for the products that they pre-order tag.
So, it is possible to hide the Out Of Stock from pre-order tagged products only…
Can you customize it a bit for me? Thanks for your help!