Coupon labelling help, closes #2192
This commit is contained in:
parent
91a8cfcb8c
commit
9fade8d6e4
|
@ -42,7 +42,7 @@ function woocommerce_coupon_data_meta_box( $post ) {
|
||||||
woocommerce_wp_select( array( 'id' => 'discount_type', 'label' => __( 'Discount type', 'woocommerce' ), 'options' => $woocommerce->get_coupon_discount_types() ) );
|
woocommerce_wp_select( array( 'id' => 'discount_type', 'label' => __( 'Discount type', 'woocommerce' ), 'options' => $woocommerce->get_coupon_discount_types() ) );
|
||||||
|
|
||||||
// Amount
|
// Amount
|
||||||
woocommerce_wp_text_input( array( 'id' => 'coupon_amount', 'label' => __( 'Coupon amount', 'woocommerce' ), 'placeholder' => '0.00', 'description' => __( 'Enter an amount e.g. 2.99', 'woocommerce' ), 'type' => 'number', 'custom_attributes' => array(
|
woocommerce_wp_text_input( array( 'id' => 'coupon_amount', 'label' => __( 'Coupon amount', 'woocommerce' ), 'placeholder' => '0.00', 'description' => __( 'Enter an amount or percentage e.g. 2.99 or 15%', 'woocommerce' ), 'type' => 'number', 'custom_attributes' => array(
|
||||||
'step' => 'any',
|
'step' => 'any',
|
||||||
'min' => '0'
|
'min' => '0'
|
||||||
) ) );
|
) ) );
|
||||||
|
|
Loading…
Reference in New Issue