The Email Customizer for WooCommerce supports adding custom short codes. They are like snippets of code that could be called using a custom short code.

IMPORTANT: No guarantee that it would work as Checkout Field Editor PRO returns broken HTML markup, which might affect your design. 

This guide walks you through the process.

Prepare WooCommerce Checkout Field Editor PRO

  1.  Make sure that you are using the latest version of the Checkout Field Editor PRO  

Prepare WooCommerce Email Customizer with Drag and Drop Builder

  1. Create a custom short code following this guide

  2.  In the custom_code.php, add the following code snippet.

    if(isset($attr['type']) && $attr['type'] == 'checkout_field_editor'){
        $fields = apply_filters('thwcfe_custom_checkout_fields_and_values', array(), $order->get_id(), false);
        foreach($fields as $key=>$field){
            echo '<strong>'.$field['label'].'</strong>: '.$field['value'];
            echo "<br/>";

In some cases the event "thwcfe_custom_checkout_fields_and_values" might not triggered. In that case, replace with this code snippet

if(isset($attr['type']) &&below $attr['type'] == 'checkout_field_editor')
do_action( 'woocommerce_email_order_meta', $order, $sent_to_admin, $plain_text, $email );

Now you can include the data from the Checkout Field Editor PRO using the following short code.

[woo_mb_custom_code type="checkout_field_editor"]

Heads up! : The checkout field editor plugin returns a partial table cell along with the data. If you do not enclose the fields with the table element, it might be rendered with misalignment.

If you have any further questions, please submit a support request

Did this answer your question?