Change AJAX add coupon generic error notice type

This commit is contained in:
EmilEriksen 2016-04-12 17:07:11 +02:00
parent 930798779a
commit a0ae25ca24
1 changed files with 1 additions and 1 deletions

View File

@ -214,7 +214,7 @@ class WC_AJAX {
$coupon = wc_clean( $_POST['coupon'] );
if ( ! isset( $coupon ) || empty( $coupon ) ) {
wc_add_notice( __( 'Sorry there was a problem removing this coupon.', 'woocommerce' ) );
wc_add_notice( __( 'Sorry there was a problem removing this coupon.', 'woocommerce' ), 'error' );
} else {