We'll create fresh WordPress site with Out of Stock Message for WooCommerce installed. You have 20 minutes to test the plugin after that site we'll be deleted.
Out of Stock Message for WooCommerce plugin is used to write out of stock custom message with different background and text color. This stock out message can be set on woocommerce specific product or all global products. You can inform your customer product stock status in product details page. How many product on your stock will show on product page.
You can change default stock out status message and change colors with where message will be shown.
FEATURES
Allows specific product message.
Allows global message from WooCommerce inventory setting.
Sold out badge for product loop and single product
Can customize message showing position in product page.
Admin will receive when a product stock out.
In Stock product quantity message on product page
Why does this plugin?
This plugin allows you to supply a literal message for stock out product.
Default “Out of Stock” Message
1. Go to WooCommerce > Settings > Products > Inventory
2. Type your message on “Out of Stock Message” field
3. Save Changes
Individual “Out of Stock” Message
1. Go to Add/Edit product panel
2. Open Inventory settings of product panel
3. On Stock Status, check ‘Out of Stock’
4. The Out-of-Stock Note field is displayed. Type your note/message in input field.
5. Click Publish or Update
For Developers
By default, you don\’t have to modify any code of template file. Because the plugin automatically displays out of stock note right after product title in single product page (as seen above).
If you want to display the out of stock note at other places, use the codes below.
Getting individual note value: get_post_meta($post->ID, \’_out_of_stock_note\’, true);
Getting global note value: get_option(\’woocommerce_out_of_stock_note\’);
Use this shortcode to output stock out message
[wcosm_stockout_msg][/wcosm_stockout_msg]
We bring sold out badge on product image corner in 1.0.5 version. It will show on loop product and details product page. You can change ‘sold out’ text and it’s Background color. Also you can change it’s font color.
On our 1.0.5 version we bring in stock message with how many product on your inventory. You can set it background and text color from Dashboard woocommerce inventory settings.