Custom Checkout Field does Not show up in New Order email
-
Hello, i want to show a Booster Custom Checkout Field (1) in top of the Order email woo-template with your shortcodes: [wcj_order_checkout_field meta_key = “billing_wcj_checkout_field_1”] and also tried [wcj_order_checkout_field field_id = “billing_wcj_checkout_field_1”], but nothing show up! Then i added this functions-snippet:
add_action( "woocommerce_email_before_order_table", "custom_woocommerce_email_before_order_table", 10, 1); function custom_woocommerce_email_before_order_table( $order ) { echo do_shortcode( '[wcj_order_checkout_field field_id = "billing_wcj_checkout_field_1"]' ); }
also without success!
The Custom Checkout Field (1) is always present in the new-order-email, but after the order table! I want it to show up before the order-content! What is wrong here? I appreciate your help!
//madzzoni
The page I need help with: [log in to see the link]
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Custom Checkout Field does Not show up in New Order email’ is closed to new replies.