Remove “In Stock” status
-
In order for the this plugin to work, I choose the pre-order option and change the inventory above 0 products.
But now, on the single product page, there remains the “In stock” status even though there is no real inventory.
How do I add the following as part of a filter to my functions page in order to hide the “In stock” message when the pre-order option has been enabled?
$pre_order = new YITH_Pre_Order_Product( $product_id );
$is_preorder = $pre_order->get_pre_order_status();
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Remove “In Stock” status’ is closed to new replies.