Email Customizer for WooCommerce supports all the built-in default values of the order object, there might be scenarios where you might have used a plugin or created custom fields to save additional information for an order.
There are 3 such scenarios:
- Get information from the Order Meta data - Additional Order Meta
- Get data from the default woocommerce through hooks
- Get hidden order meta informations.
Get information from the Order Meta data - Additional Order Meta:
In some cases, if you are using any third party plugins and if you wish you get the information provided from the plugin into the emails for reference for the Customers.
A good example is the Shipment Tracking ID. Here is a screenshot showing the custom field.
This custom field usually gets saved in the wp_postmeta table as a meta_key and meta_value.
Or if you have created any additional custom fields in your orders, you can easily add the information to your emails by just adding a shortcode.
The information through custom fields created manually or by third plugins will be visible in the additional short codes.
Just pick the short code and add to the email template in order to get the dynamically generated values from the third party plugins to the emails sent to the users efficiently.
Get data from the default woocommerce through hooks:
In some cases, the events which are not loaded using our plugin, for example: informations which loads in normal woocommerce emails can be loaded using the order meta short code.
These short code, loads Woocommerce Email contents through hooks.
[woo_mb_woocommerce_email_order_meta] - Contents which loads by the hook woocommerce_email_order_meta [woo_mb_woocommerce_email_before_order_table] - Contents which loads by the hook woocommerce_email_before_order_table
NOTE: These short code values will only load in the actual emails. Kindly test the short code by creating actual order - How to test your email templates ?
Get hidden order meta informations:
Some of the default woocommerce events or events of some third party plugins are hidden in the Order meta informations.
We have improved our plugin to load order meta directly through shortcodes -->, example like Billing First Name.
Just add the order meta as a short code to get the info.
Short code followed by hyphen "-" then the order meta starting with underscore.
So, now it is easier to get the additional informations on the order to the email templates.
Let's Try it ...!
You have something more to discuss and make it clear on the possibilities of our plugin ?
Write to us here -> https://www.flycart.org/support
We are here to assist you :)