Merge pull request #13298 from woocommerce/localized-coupon-amount

Coupon amount should be localized
This commit is contained in:
Mike Jolley 2017-02-23 09:42:33 +00:00 committed by GitHub
commit 4ff3c300ba
1 changed files with 1 additions and 1 deletions

View File

@ -469,7 +469,7 @@ class WC_Admin_Post_Types {
echo esc_html( wc_get_coupon_type( $the_coupon->get_discount_type() ) );
break;
case 'amount' :
echo esc_html( $the_coupon->get_amount() );
echo esc_html( wc_format_localized_price( $the_coupon->get_amount() ) );
break;
case 'products' :
$product_ids = $the_coupon->get_product_ids();