Convert alert to regular notice.

Fixes #13216
This commit is contained in:
Mike Jolley 2017-02-16 16:27:33 +00:00
parent 2505abeb21
commit 93e21a09c7
2 changed files with 3 additions and 2 deletions

View File

@ -162,8 +162,9 @@
if ( variation ) {
form.$form.trigger( 'found_variation', [ variation ] );
} else {
window.alert( wc_add_to_cart_variation_params.i18n_no_matching_variations_text );
form.$form.trigger( 'reset_data' );
form.$form.find( '.single_variation' ).after( '<p class="wc-no-matching-variations woocommerce-info">' + wc_add_to_cart_variation_params.i18n_no_matching_variations_text + '</p>' );
form.$form.find( '.wc-no-matching-variations' ).slideDown( 200 );
}
}
} else {

File diff suppressed because one or more lines are too long