• Resolved aliaslina

    (@aliaslina)


    Hello,
    I am trying to appear the Phone field (custom field) to the vendor’s new order email, as it appears to the “New Order” email of the admin and the customer.

    Is there a certain code that I should add to the vendor’s template or in the function file?

    Regards,
    Lina

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

    (@themehigh)

    All the fields created using our plugin are saved as Order Meta Data.

    You can retrieve the data from the database using the below function:

    get_post_meta($order_id, 'field_name', true);

    We hope this will help.

    Thank you!

Viewing 1 replies (of 1 total)
  • The topic ‘Show a custom field to vendor’s new order email’ is closed to new replies.