Follow these steps to change the success message displayed after a customer submits an Exchange or Refund request.
1. Open your theme’s functions.php file
Navigate to your child theme’s directory and locate the functions.php file.
If it does not exist, you can create one.
2. Insert the following code snippet
Copy and paste the code snippet below into your functions.php file:
/*
* Change the success message shown after submitting a return or exchange request
*/
add_filter( 'zorem_returns_success_message_text', 'change_success_message_text' );
function change_success_message_text( $text ) {
// Customize the success message as needed
$text = esc_html__( 'Thank you for your request. We’ll get back to you within one business day.', 'zorem-returns-exchanges' );
return $text;
}3. Save the file
Save the changes to your functions.php file.
By following these steps, you’ve successfully changed the success message displayed after a customer submits a Refund or Exchange request.