• Resolved clickingclients

    (@clickingclients)


    About 1 week ago, the transactional emails have broken HTML in this element:

    TABLE#template_header td#header_wrapper h1

    It seems the h1 is malformed – somehow.

    It should be this: 

    <h1 style="font-family: 'helvetica neue',helvetica,roboto,arial,sans-serif; font-size: 30px;font-weight:300; line-height: 150%; margin:0;text-align:left;text-shadow: 0 1px #b3afa5; color:?#202020; background-color: inherit;" bgcolor="inherit">New Order:?#12345</h1>

    But it is this:

    <h1 style="font-family: " helvetica="" neue",helvetica,roboto,arial,sans-serif;="" font-size:="" 30px;="" font-weight:="" 300;="" line-height:="" 150%;="" margin:="" 0;="" text-align:="" left;="" text-shadow:="" 0="" 1px="" #b3afa5;="" color:=""?#202020;="" background-color:="" inherit;"="" bgcolor="inherit">New Order:?#12345</h1>

    It looks like the start is what wrecks it:
    ? ? <h1 style="font-family: " helvetica=

    • I have scoured the code & DB for any code which looks remotely similar and could be the culprit. No luck.

    QUESTION: What could be causing this to break and where in the bowels of WC or php can I do to locate/fix this? Is there a hook or something I can use to override it?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter clickingclients

    (@clickingclients)

    Well it magically fixed itself.
    Unsure if an update did the trick.
    However my questions remain (for future reference):

    What could be causing this to break and where in the bowels of WC or php can I do to locate/fix this? Is there a hook or something I can use to override it?

    Saif

    (@babylon1999)

    Hello @clickingclients,

    Glad to hear it’s working again now. ??

    I can’t say what happened for sure, but it’s most likely a plugin/theme conflict.

    In the future, you can find the email templates in this directory. As for editing with hooks, you can check this guide.

    Cheers!

    Saif

    (@babylon1999)

    We haven’t heard back from you in a while, so I’m going to mark this as resolved – we’ll be here if and/or when you are ready to continue.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Why does the transaction email title/H1 have suddenly malformed syntax?’ is closed to new replies.