Remove the stock data type on low stock threshhold input which can be blank
This commit is contained in:
parent
83cb978c9e
commit
b7f87c8cd2
|
@ -71,7 +71,8 @@ if ( ! defined( 'ABSPATH' ) ) {
|
|||
)
|
||||
);
|
||||
|
||||
woocommerce_wp_text_input( array(
|
||||
woocommerce_wp_text_input(
|
||||
array(
|
||||
'id' => '_low_stock_amount',
|
||||
'value' => $product_object->get_low_stock_amount( 'edit' ),
|
||||
'placeholder' => get_option( 'woocommerce_notify_low_stock_amount' ),
|
||||
|
@ -82,8 +83,8 @@ if ( ! defined( 'ABSPATH' ) ) {
|
|||
'custom_attributes' => array(
|
||||
'step' => 'any',
|
||||
),
|
||||
'data_type' => 'stock',
|
||||
) );
|
||||
)
|
||||
);
|
||||
|
||||
do_action( 'woocommerce_product_options_stock_fields' );
|
||||
|
||||
|
|
Loading…
Reference in New Issue