This topic has 2 replies, 2 voices, and was last updated 2 years, 3 months ago ago by Rose Tyler
Hi,
I opened a few days ago another ticket but i closed it by mistake and now i can’t find an option to open it back
I am trying to use your email builder and include values from the order meta ( also known as “custom fields” )
These fields are used by various plugins to add additional information to the order.
Take a look at this screenshot from an order on my store: https://prnt.sc/9zWT5lPay-H4
For example in my case, my shipping plugin write the courier tracking number in the order meta with the name “numar_awb”.
Taking into account the screenshot i sent, for example for this order it was created a custom meta with the name “numar_awb” and with the value “00009999”
What i am looking to do is write in an email something like “Dear c ustomer Your courier tracking number is: {numar_awb} ….
So in this way it will export the VALUE of that field
Is there a way to do this using your email builder?
I am also ok with adding custom php code in the functions.php file that would perhaps enable your theme to export meta fields. So if you can help in this way this is fine for me.
Thank you
Hello,
Please, read next topics
https://www.8theme.com/topic/problem-with-email-builder-not-displaying-3rd-party-shortcodes-content/
and
https://www.8theme.com/topic/delivery-time-in-email-builder/
In simple words, you may add WC hook element to email builder and then write your custom php code that will show info you want to for the specific type of email.
Regards
Tagged: add emails, email builder, order meta values, seo friendly, themes, woocommerce, wordpress
You must be logged in to reply to this topic.Log in/Sign up