Hi, Guys, I’ve installed the plug-in and so far everything is working fine.
But the newly displayed text stock status is in red. I go into the WooCommerse setting and select a new color each time and save my changes it’s still stuck on red. I would be ok with any other color but red to me says stop do not proceed. Any help would be greatly appreciated. Thanks, Kenny
Is this still supported? as it seems like a wonderful idea!
Or has it been superseded by woocommerce?
I get this fatal error when I try to activate this plugin.
Fatal error: Uncaught Error: Call to undefined method WC_Custom_Stock_status::init() in /www/dronedepot_765/public/wp-content/plugins/wc-custom-stock-status/wc-custom-stock-status.php:360 Stack trace: #0 /www/dronedepot_765/public/wp-admin/includes/plugin.php(2141): include() #1 /www/dronedepot_765/public/wp-admin/plugins.php(175): plugin_sandbox_scrape(‘wc-custom-stock…’) #2 {main} thrown in /www/dronedepot_765/public/wp-content/plugins/wc-custom-stock-status/wc-custom-stock-status.php on line 360
Clered cache, disabled cache…
]]>This plugin is exactly what I’ve been looking for, but it doesn’t really work. Is it still being developed/supported?
]]>I tried to bulk edit the products that I want to uses the custom statuses that I created but they are not available there. Is there any way to do it in bulk?
]]>Hello,
running your plugin with the following setup
Wordpress 5.1.1
Woocommerce 3.5.7
WooCommerce Custom Stock Status 1.0.0
When having your plugin activated I cannot apply any changes
to Woocommerce Settings. I have to de-activate your plugin
and in that case all statuses are set to default, upon re-activation.
Please advise!
Bill
]]>After installing the plugin and heading to Woocommerce > Products > Stock statuses, I noticed that the default stock status options are not showing.
I tried adding my own stock status options but these do not appear on the product admin page.
I am using the Electro theme by Madrasthemes.
My website is: https://shumata.com
Latest WooCommerce doesn’t save settings when your plugin is installed. You might want to check it.
]]>Hi, I Found a bug and fixed, with HTML special chars…
It was not passing, pls check this hack, hope helps someone, thks!
public_html/wp-content/plugins/wc-custom-stock-status/wc-custom-stock-status.php
$availability['availability'] = '<p><b><span style="color:' . $color . ';font-size:16pt;">' . $label . '</span></b></p>';
echo htmlspecialchars_decode($availability['availability']);
}
// return $availability; /* CRAION.COM */
]]>
Hi, as you mentioned :
It only works on simple products, not on variable products.
Does it only mean that the custom status will not be applied to any product with variations? Or is it simply applying the same status to all variables ?
]]>Status not showing in the product Single page
I’ve print the array it only show the following ??
Array ( [instock] => In stock [outofstock] => Out of stock [onbackorder] => On backorder )
could you please advise?
]]>