Coupon amount should be localized

This commit is contained in:
Claudio Sanches 2017-02-22 18:58:32 -03:00
parent 868f685818
commit 53cf89f63a
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();