From 4a2988ad35947c9fc19d7596c7e3b14d636d6bae Mon Sep 17 00:00:00 2001 From: Mike Jolley Date: Fri, 11 Oct 2013 13:54:53 +0100 Subject: [PATCH] Usage limit "per coupon". #3902 --- .../post-types/meta-boxes/class-wc-meta-box-coupon-data.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/admin/post-types/meta-boxes/class-wc-meta-box-coupon-data.php b/includes/admin/post-types/meta-boxes/class-wc-meta-box-coupon-data.php index ecf87f07649..1d0640a64e5 100644 --- a/includes/admin/post-types/meta-boxes/class-wc-meta-box-coupon-data.php +++ b/includes/admin/post-types/meta-boxes/class-wc-meta-box-coupon-data.php @@ -140,7 +140,7 @@ class WC_Meta_Box_Coupon_Data { echo '
'; // Usage limit - woocommerce_wp_text_input( array( 'id' => 'usage_limit', 'label' => __( 'Usage limit', 'woocommerce' ), 'placeholder' => _x('Unlimited usage', 'placeholder', 'woocommerce'), 'description' => __( 'How many times this coupon can be used before it is void.', 'woocommerce' ), 'type' => 'number', 'custom_attributes' => array( + woocommerce_wp_text_input( array( 'id' => 'usage_limit', 'label' => __( 'Usage limit per coupon', 'woocommerce' ), 'placeholder' => _x('Unlimited usage', 'placeholder', 'woocommerce'), 'description' => __( 'How many times this coupon can be used before it is void.', 'woocommerce' ), 'type' => 'number', 'custom_attributes' => array( 'step' => '1', 'min' => '0' ) ) );