This code enables the storeowner to apply a custom out of stock message for specific products.
The code adds a text field for the product ids and a text area for your custom out of stock text.
Configuration
In your WordPress Dashboard, go to WooCommerce > Settings > Custom OOS Text and enter a comma separated string of products ids and a custom out of stock message which is only displayed on these products.
Installation
Install the zip file as a new plugin or copy & paste the PHP code from the functions.php file to the end of your child themes functions file or custom functionality plugin.
Reviews
There are no reviews yet.