• Resolved thecreator01

    (@thecreator01)


    Hello, I created an email template style with tarpaulin for the whole network. But for example, subsites have woocommerce installed and for example, when the user registers on a subsite, they receive emails.

    In this e-mail, the Woocommerce e-mail template also appears in the e-mail template created with tarpaulin. That is, the two templates appear in the same email (Woocommerce email template within the Branda email template)

    How do I solve this problem?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support Williams – WPMU DEV Support

    (@wpmudev-support8)

    Hi @thecreator01

    I hope you’re well today!

    Branda works with the site at WordPress core level in general so it provides sort of a “wrap up” templates. In other words, it does not directly modify specific e-mails but rather intercepts all messages through WP core and then “wraps them up” in selected template.

    The way those plugins – such as WooCommerce – style/template their e-mails is a bit different usually and that means that “from Branda point of view” whatever is in those e-mails is just a “content”.

    There’s no simple way to go around that at Branda’s level because there’s simply no way for it to know whether given message already uses some custom styling or not and even if it was – e.g. plugin would just recognize that the e-mail goes from WooCommerce – it would still not be that simple to modify it to know which part of it is a part of Woo template, which is some fixed custom message text and which is a dynamic part.

    At this point, the only way would be to additionally customize WooCommerce e-mail templates following standard WooCommerce way in order to make them all more generic.

    Simplest way that should help would be to try to switch those e-mails in WooCommerce (“WooCommerce -> Settings -> Emails”) to “Plain text” content type from the default “HTML”.

    Kind regards,
    Adam

    Thread Starter thecreator01

    (@thecreator01)

    Hello, thank you very much for your answer. @wpmudev-support8

    Actually, I only encounter this problem with some emails. For example, when a new order email is sent in woocommerce, only the woocommerce email template appears, but when a user registers, both the brand and woocommerce template are used together.

    Plain text might be the solution for this. Other woocommerce email templates will appear as plain text but I guess there is no alternative solution. WordPress core emails can really cause such problems.

    Plugin Support Nebu John – WPMU DEV Support

    (@wpmudevsupport14)

    Hi @thecreator01,

    Unfortunately, we couldn’t find an alternative solution for this besides switching to plain text. However, since it’s interfering with the general WordPress emails, please check if a plugin is causing a conflict. I hope the following guide comes in handy: https://wpmudev.com/docs/getting-started/getting-support/#conflict-test

    Please feel free to get back to us if you need any further clarification or assistance.

    Kind Regards,
    Nebu John

    Plugin Support Dmytro – WPMU DEV Support

    (@wpmudevsupport16)

    Hello @thecreator01,

    I hope you are doing well today!

    As there were no further questions from you in a while, I’m marking this topic as resolved. Please let us know if you still need our assistance.

    Best regards,
    Dmytro

Viewing 4 replies - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.