• fgmorabito

    (@fgmorabito)


    Hi everybody,
    it’s possible to add label and value for CF and / or in new order emails notify template?

    thanks
    Francesco

Viewing 1 replies (of 1 total)
  • Plugin Author labdav

    (@labdav)

    The CF/VAT number is usually added to the customer’s address.
    If you need something more specific, you can use the action:
    do_action( 'woocommerce_email_customer_details', $order, $sent_to_admin, $plain_text, $email );
    getting the meta value of cf/vat# by this function:
    $cf = $order->get_meta("_billing_cf",true);

Viewing 1 replies (of 1 total)
  • The topic ‘add CF / VAT to order new email’ is closed to new replies.