Hello @primalspace,
To customize the WooCommerce emails you have to copy the files found at wp-content/plugins/woocommerce/templates/emails/
into your store’s child theme. Note that if you customize the parent theme rather than the child theme, any changes will be overwritten with theme updates. From there, basic knowledge of HTML, CSS & some PHP will help you adapt the files to your liking. 🙂
Thanks for quick reply. Aware of that method. Perhaps my question wasn’t well worded. Apologies.
We have created a custom PDF layout using your module. We want to now mimic that layout for the WooCommerce email templates like New Order or Shipping update for the body of the emails. Is there a way to do that with your module? Without having to “recreate” the customisations?
@primalspace,
That is possible because if there is information displayed in the WooCommerce (WC) emails, we most likely can also display it on the PDF documents. Sorry for sounding repetitive but the ability to achieve that layout will still depend on your knowledge of HTML, CSS & PHP.
Is there some specific meta-data you are seeing in the WC emails that you cannot see on your custom template or are the changes you’re trying to make purely visual/aesthetic?
It’s the other way around. We have custom attributes in the PDF, and a custom design in the PDF, that we want to mimic in the default WooCommerce Order emails.
It is both a design and custom attributes to pull through.
I guess the answer is no, that this is not a feature of the module, and we must to manually with PHP, HTML and CSS?
@primalspace,
If it has to do with custom fields, depending on how this data is saved, we might be able to use the Custom Blocks of the Premium Templates extension.
If it is just design, then yes: HTML, CSS & PHP, depending on the design itself.
Ok, thanks. The 2 custom fields are shipping_phone and shipping_email which don’t look to be on your list? So may not work?
@primalspace,
With the Custom Blocks you can use {{shipping_phone}} & for the shipping email you would need to find what the meta key is, then you’d be able to display it — maybe {{shipping_email}}? Finding Hidden Custom Fields
WordPress doesn’t allow us to provide support for paid software here, so for questions regarding our paid extensions, please email us at support@wpovernight.com.
-
This reply was modified 2 years, 9 months ago by
Darren Peyou.