Forum Replies Created

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter beewing

    (@beewing)

    Hi!

    Once deactivated all the plugins and checked if the cancel order email works, this function still fails. Do you need the backend or/and FTP access to check it?

    Kind regards!

    Thread Starter beewing

    (@beewing)

    Yes, I’ve checked. The file admin-cancelled-order.php has not been edited or modified:

    /**
    * @hooked WC_Emails::email_header() Output the email header
    */
    do_action( ‘woocommerce_email_header’, $email_heading, $email ); ?>

    <p><?php printf( __( ‘The order #%1$d from %2$s has been cancelled. The order was as follows:’, ‘woocommerce’ ), $order->get_order_number(), $order->get_formatted_billing_full_name() ); ?></p>

    /**
    * @hooked WC_Emails::order_details() Shows the order details table.
    * @hooked WC_Structured_Data::generate_order_data() Generates structured data.
    * @hooked WC_Structured_Data::output_structured_data() Outputs structured data.
    * @since 2.5.0
    */
    do_action( ‘woocommerce_email_order_details’, $order, $sent_to_admin, $plain_text, $email );

    /**
    * @hooked WC_Emails::order_meta() Shows order meta data.
    */
    do_action( ‘woocommerce_email_order_meta’, $order, $sent_to_admin, $plain_text, $email );

    /**
    * @hooked WC_Emails::customer_details() Shows customer details
    * @hooked WC_Emails::email_address() Shows email address
    */
    do_action( ‘woocommerce_email_customer_details’, $order, $sent_to_admin, $plain_text, $email );

    /**
    * @hooked WC_Emails::email_footer() Output the email footer
    */
    do_action( ‘woocommerce_email_footer’, $email );

    I don’t see anything strange.

    Thread Starter beewing

    (@beewing)

    No, maybe I explain it badly, sorry for that. The customer doesn’t cancel the order, but when the order is cancelled because it couldn’t be paid for some reason. What I mean is the email which can be set in Woocommerce -> Settings -> Emails -> Cancelled order.

Viewing 3 replies - 1 through 3 (of 3 total)