• Resolved coopman

    (@coopman)


    Is there a way to override the email templates, specifically the header and footer, in the same way that you allow invoice template overrides from the theme directory? I’m trying to style the emails your system generates to match my emails sent from the other events in woocommerce.

Viewing 1 replies (of 1 total)
  • Plugin Author SlicedInvoices

    (@slicedinvoices)

    It’s not exactly as easy as the way you can override the invoice templates, but there are filters called sliced_email_header and sliced_email_footer which you can use to pass in your own template code. For example:

    add_filter( 'sliced_email_header', 'sliced_email_header_custom_template' );
    function sliced_email_header_custom_template() {
    	return '(my html code here)';
    }

    … and so on.

    In the future we might make it an override-able template like the others, but this is the way it is for now.

Viewing 1 replies (of 1 total)
  • The topic ‘Email CSS Override?’ is closed to new replies.