Coupon labelling help, closes #2192

This commit is contained in:
Coen Jacobs 2013-01-10 11:26:28 +01:00
parent 91a8cfcb8c
commit 9fade8d6e4
1 changed files with 1 additions and 1 deletions

View File

@ -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'
) ) ); ) ) );