You need a way of facilitating adding product meta prior to showing it in emails. This could be through Advanced Custom Fields (ACF) assigned to the products post type.
Simply copy the pre-coded solution to your active theme’s functions.php or preferably the Code Snippets Plugin.
Need support with the snippet? We’re Here to Help You, Contact Us!
A lot of the time, the default WooCommerce product editor doesn’t give the user enough flexibility in assigning custom meta. If you’re using WooCommerce to sell events for example, you might want to install Advanced Custom Fields (ACF) to assign important attributes to products like the start time, venue, and organiser. In the emails, you may then wish to output this metadata under the relevant product name. This short snippet gives you the ability to show product meta (e.g. custom field data) under the product name in the WooCommerce emails. If you do have more than one custom field, simply assign another variable and replace the variable name and custom field name declaration.
Join forces with UnlimitedWP for an outsourced white label web development service you can truly rely on.