Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi @nhituyet1,

    The problem you’re facing is that the custom email template you’ve created, as per the instructions on WooCommerce’s documentation, isn’t being used when an email is sent.

    Given the problem and the provided steps, let’s diagnose and provide solutions:

    Confirm File Paths and Locations:

    ◘ Double-check your active theme’s directory to ensure the custom template files are in the correct location. It should be something like:
    /wp-content/themes/your-active-theme-name/automatewoo/custom-email-templates/custom-3/

    ◘ Inside the custom-3 directory, you should have the necessary files: email-styles.php, email-header.php, and email-footer.php.

    • Ensure that your filter is correctly added to the functions.php file of your active theme (or child theme if you’re using one).
    • The filter might look something like:
    add_filter( 'automatewoo/custom_email_templates', 'my_custom_email_template' );
    
    function my_custom_email_template( $templates ) {
        $templates['custom-3'] = get_stylesheet_directory() . '/automatewoo/custom-email-templates/custom-3/';
        return $templates;
    }

    Make sure there are no syntax errors in the functions.php file, which could break the functionality. You can confirm this by checking your site for any visible errors or by reviewing the wp-content/debug.log file (after ensuring WP_DEBUG and WP_DEBUG_LOG are set to true in wp-config.php).

    Thank You,

    Raza

    WPRobo

    Plugin Support Shameem – a11n

    (@shameemreza)

    Hi @nhituyet1

    I understand that you are using the premium plugin AutomateWoo here.

    If you have a valid license with us, can you please open a support request for us to investigate further about your issue?

    Meanwhile, I will be marking this thread as resolved since your concern would be best handled by our Happiness Engineers there.

    Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘automateWoo custom template email for action email’ is closed to new replies.