show currency. Closes #1468.

This commit is contained in:
Mike Jolley 2012-09-06 17:47:05 +01:00
parent c73393fbec
commit 6496215d48
2 changed files with 3 additions and 1 deletions

View File

@ -227,7 +227,7 @@ class WC_Coupon {
if ($this->minimum_amount>0) :
if ( $this->minimum_amount > $woocommerce->cart->subtotal ) :
$valid = false;
$error = sprintf( __( 'The minimum spend for this coupon is %s.', 'woocommerce' ), $this->minimum_amount );
$error = sprintf( __( 'The minimum spend for this coupon is %s.', 'woocommerce' ), woocommerce_price( $this->minimum_amount ) );
endif;
endif;

View File

@ -161,6 +161,8 @@ Yes you can! Join in on our [GitHub repository](http://github.com/woothemes/wooc
* Fix - Variation sku updating after selection.
* Fix - Active plugins display on status page.
* Localization - French update by Arnaud Cheminand
* Localization - Romanian update by silviu-bucsa
* Localization - Dutch updates by Ramoonus
= 1.6.5.1 - 25/08/2012 =
* Fix - Parse error in Users overview screen