Text error of validation
-
Hello,
Is it possible to add this code snippet to your own theme? I would like to change the text of the error message, but I do not want to lose it when updating the plugin. ?? Please help.from file thwmscf-frontend.js, line 70:
function display_error_message(){ var error_div = $('.woocommerce-error'); var error = '<ul class="woocommerce-error" role="alert"><li>Invalid or data missing in the required field(s) </li></ul>'; tab_panels.prepend( '<div class="woocommerce-NoticeGroup woocommerce-NoticeGroup-checkout">' + error + '</div>' ); }
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Text error of validation’ is closed to new replies.