Hey, if this is for a plugin that is in the available plugins on ww.wp.xz.cn can you link to it? I would consider adding support through this plugin itself.
otherwise, it’s hard to give an answer because most woocommerce plugins that add emails add some settings into woocommerce settings and use the woocommerce email send functions so in terms of style it would already be applied even though you can’t preview that email. Changing things like body text within the email and adding it to the preview would require adding some functions to hook in but it’s hard to give exact without more information on this email.
Ben
Thread Starter
Nikhil
(@nikhilarya)
I added the Custom Status called “Shipped” and the related “Shipped Email Notification” to my child theme by myself. Without any use of a Plugin.
or could you actually add an option to create a Custom Email for any extra status created.
Hey @nikhilarya,
Sorry for the delay. Ben and his wife had a baby over the weekend and have been a bit tied down. He will provide a response as soon as he can! Thanks for your patience.
Hannah
Hey,
This plugin isn’t set up to add an email. It’s mostly about editing and designing the emails that woocommerce sends. If you set up your own email and send it through woocommerce functions then the overall design will come through that you set up in this plugin. Editing the text itself or previewing that specific email wouldn’t be possible without you hooking into this plugin. and then adding hooks into your custom email template. That would likely be more ticky then it’s worth since you are creating the email you don’t need a way to edit the text.
So if you just are after adding it to the preview you can hook into this plugin as long as you are using woocommerce to send the email I and help with that if I know what class you are using for your custom email to create the email. Should be something like https://docs.woocommerce.com/wc-apidocs/source-class-WC_Email_Customer_Completed_Order.html#9-163