[2.2] Fix error message with maximum amount

Fixes #6567
This commit is contained in:
Mike Jolley 2014-10-21 14:55:43 +01:00
parent e4b212cb3a
commit 0bc3ad868d
1 changed files with 1 additions and 1 deletions

View File

@ -660,7 +660,7 @@ class WC_Coupon {
$err = sprintf( __( 'The minimum spend for this coupon is %s.', 'woocommerce' ), wc_price( $this->minimum_amount ) );
break;
case self::E_WC_COUPON_MAX_SPEND_LIMIT_MET:
$err = sprintf( __( 'The maximum spend for this coupon is %s.', 'woocommerce' ), wc_price( $this->minimum_amount ) );
$err = sprintf( __( 'The maximum spend for this coupon is %s.', 'woocommerce' ), wc_price( $this->maximum_amount ) );
break;
case self::E_WC_COUPON_NOT_APPLICABLE:
$err = __( 'Sorry, this coupon is not applicable to your cart contents.', 'woocommerce' );