• Resolved cappeddog

    (@cappeddog)


    Hi,

    Is it possible to hide the ‘Order Items’ section from specific WooCommerce emails using Kadence WooCommerce Email Designer? I would like to keep it visible in the ‘Customer On Hold Order’ email but hide it in the ‘Customer Processing Order’ email.

    Thanks,

    Brian

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support Gilbert Hernandez

    (@ghernkadence)

    Hello @cappeddog,

    There aren’t settings to accomplish the goal you mentioned. However, you can replace the email template and remove the “Order Items” section for the “Customer Processing Order” email. For example, the plugin has a file at wp-content\plugins\kadence-woocommerce-email-designer\templates\woo\emails\customer-processing-order.php. The file contains a comment at the top that reads:

    This template can be overridden by copying it to yourtheme/woocommerce/emails/customer-processing-order.php.

    Copy the file to your theme (or child theme if necessary) and remove line 45 of the file that reads:

    do_action( 'woocommerce_email_order_details', $order, $sent_to_admin, $plain_text, $email );

    You may want to use a child theme because the file may be erased when your theme updates. Nonetheless, if you overwrote the file with a copy in your theme directory and remove the line of code that shows the order details, you can accomplish the goal you described.

    Plugin Support michael-levelup

    (@michaeltarongoy)

    Hi there,

    This topic has been inactive for more than a month. I’ll proceed to marking this as resolved.

    If you have further questions or need additional assistance, feel free to start a new topic or refer to our Kadence Help Center here: https://www.kadencewp.com/help-center

    Thank you for your understanding!
     
    Kind Regards,
    Michael Taro

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Need Help Customizing Specific Email Types’ is closed to new replies.