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.

This guide walks you through the process.

Prepare WooCommerce Checkout Field Editor PRO

  1. Go to the settings of the WooCommerce Checkout Field Editor PRO plugin.
  2. Enable PDF Invoice and Packing Slip support option. 

3. Choose fields to display in the Invoice Fields selector.

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'){
    do_action('wpo_wcpdf_after_order_data', 'invoice', $order);
}

 


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”]

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

Did this answer your question?