Fa?am o seguinte:
Dentro do wordpress v?o em: Aparencia > Editor de Temas > Fun??es do tema (functions.php)
No final da página entrem com esse código:
function brazilian_market_on_wooCommerce_display_email_order_user_meta( $order, $sent_to_admin, $plain_text ) {
if ($order->billing_cpf){
echo '<br><p> <strong>CPF: </strong>'. $order->billing_cpf.'</p>';
}
if ($order->billing_cnpj){
echo '<br><p> <strong>CNPJ: </strong>'. $order->billing_cnpj. '</p>';
}
}
add_action('woocommerce_email_customer_details', 'brazilian_market_on_wooCommerce_display_email_order_user_meta', 30, 3 );
>>>>>>>>>
OBS: vcs devem estar utilizando o plugin: Brazilian Market On WooCommerce