From 9fade8d6e445562ef21254a8473b5882b4d994bd Mon Sep 17 00:00:00 2001 From: Coen Jacobs Date: Thu, 10 Jan 2013 11:26:28 +0100 Subject: [PATCH] Coupon labelling help, closes #2192 --- admin/post-types/writepanels/writepanel-coupon_data.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/admin/post-types/writepanels/writepanel-coupon_data.php b/admin/post-types/writepanels/writepanel-coupon_data.php index e97ce79a3fb..e65aff09a2e 100644 --- a/admin/post-types/writepanels/writepanel-coupon_data.php +++ b/admin/post-types/writepanels/writepanel-coupon_data.php @@ -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() ) ); // 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', 'min' => '0' ) ) );