manage stock by default
-
Hello, sorry for my english im use google translate for this ??
I need some code to make the manage stock option the default for both – simple and variable products.
i tried using this code –
if ( is_admin() ) { add_filter( 'woocommerce_product_variation_get_manage_stock', '__return_true' ); }
it works, the manage stock checkbox for variation appears, but in fact, it does not work correctly.
if I use this code, it still gives me ordering more products than indicated.I hope the translator translated correctly and you understood me ??
Thanks for any help.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘manage stock by default’ is closed to new replies.