[Resolved] Add global colors to woocommerce notifications

Home Forums Support [Resolved] Add global colors to woocommerce notifications

Home Forums Support Add global colors to woocommerce notifications

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #2303094
    eduard sans

    Hi there, I was customizing the woocommerce global colors but I couldn’t find the ones regarding e-mail notifications. It would be great for future releases to have this option as well, but in the meantime, could I get any php snippet to link global colors to these e-mails? I’d like to be able to link the color base if possible (I don’t need customization of the 4 palettes woocommerce is providing in woocommerce > settings > e-mails).

    Thanks in advance!

    #2304078
    David
    Staff
    Customer Support

    Hi there,

    is that the colors used in the Email ? or a notice on screen ?

    #2304081
    eduard sans

    the colors used in the email yes

    #2304167
    David
    Staff
    Customer Support

    The emails colors ( set in Woocommerce > Settings > Emails –> Email template ) need to be a static color value e.g #ff00ff for the main reason that Email Clients have terrible support for CSS Variables:

    https://www.caniemail.com/features/css-variables/

    And GP Global Colors rely on CSS Variables.

    So anything we did would be no better then using the email template color options in the Woocommerce > Settings unfortunately.

    #2304210
    eduard sans

    Noted! thanks anyway David, have a nice weekend!

    #2304211
    eduard sans

    I close the ticket

    #2304222
    David
    Staff
    Customer Support

    You’re welcome

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