Forum Replies Created

Viewing 6 replies - 31 through 36 (of 36 total)
  • Thread Starter sanjas

    (@sanjas)

    @nuggethon will do. Thank you for your help.

    Thread Starter sanjas

    (@sanjas)

    @nuggethon thank you for a fast reply.

    1) HTML template is successfully found.

    2) We don’t use any email customizer plugin.

    3) In the email log (using the plugin you recommended) I see no errors.

    I did, however, managed to solve the issue by following the same example as offered on the topic.

    In the email-manager.php, I changed

    public function sanitize_email_template($class) 
    	{
    		remove_action( 'email_header', array($class, 'woocommerce_email_header'));
    		remove_action('email_footer', array($class, 'woocommerce_email_footer'));
    		remove_action( 'email_order_details', array( $class, 'woocommerce_order_downloads' ), 10, 4 );
    		remove_action( 'email_order_details', array( $class, 'woocommerce_order_details' ), 10, 4 );
    		remove_action( 'email_order_meta', array( $class, 'woocommerce_order_meta' ), 10, 3 );
    		remove_action( 'email_customer_details', array( $class, 'woocommerce_customer_details' ), 10, 3 );
    		remove_action( 'email_customer_details', array( $class, 'woocommerce_email_addresses' ), 20, 3 );
    	}

    to

    public function sanitize_email_template($class) 
    	{
    		remove_action( 'woocommerce_email_header', array($class, 'woocommerce_email_header'));
    		remove_action('woocommerce_email_footer', array($class, 'woocommerce_email_footer'));
    		remove_action( 'woocommerce_email_order_details', array( $class, 'woocommerce_order_downloads' ), 10, 4 );
    		remove_action( 'woocommerce_email_order_details', array( $class, 'woocommerce_order_details' ), 10, 4 );
    		remove_action( 'woocommerce_email_order_meta', array( $class, 'woocommerce_order_meta' ), 10, 3 );
    		remove_action( 'woocommerce_email_customer_details', array( $class, 'woocommerce_customer_details' ), 10, 3 );
    		remove_action( 'woocommerce_email_customer_details', array( $class, 'woocommerce_email_addresses' ), 20, 3 );
    	}

    That seemed to work since I see all the order details now.

    Thread Starter sanjas

    (@sanjas)

    Doing this https://wordpress.org/support/topic/empty-e-mail/ only enabled WooCommerce styling, but the email’s content is still blank.

    Thread Starter sanjas

    (@sanjas)

    Hi Juan,

    thanks for your reply. It worked perfectly.

    Have a nice day!

    Thread Starter sanjas

    (@sanjas)

    Update: finally found something in log, see below. The same log repeats for at least 20x

    2021-11-18T15:40:01+00:00 DEBUG 
    ====Stripe Version: 5.7.0====
    ====Start Log====
    customers/cus_JJ9BkogXQZdg4Y/sources request: Array
    (
        [limit] => 100
    )
    
    ====End Log====
    
    2021-11-18T15:40:01+00:00 DEBUG 
    ====Stripe Version: 5.7.0====
    ====Start Log====
    customers/cus_JJ9BkogXQZdg4Y/sources request: Array
    (
        [limit] => 100
    )
    
    ====End Log====
    Thread Starter sanjas

    (@sanjas)

    Ok. Thanks for fast reply!

Viewing 6 replies - 31 through 36 (of 36 total)