Remove backorder with snippet code
-
Hi,
Please check this image >> https://ibb.co/0ZddWT0
How can I get rid of “Backorder sections” completely?I also tried below snippet codes. But not fixed for all.
add_filter( 'wcfm_product_fields_stock', function( $stock_fields, $product_id, $product_type ) { $stock_fields = wcfm_hide_field( 'backorders', $stock_fields ); return $stock_fields; }, 50, 3 ); add_filter( 'woocommerce_product_backorders_allowed', '__return_false' );
The topic ‘Remove backorder with snippet code’ is closed to new replies.