Dan1 Posted September 3, 2019 Share Posted September 3, 2019 (edited) Email alerts module sends a New Order email, customer name is pink. How to change this? Color is probably the old pink #DB3484. Could be PS_MAIL_COLOR in modules/ps_emailalerts/ps_emailalerts.php but I don't know what to do with it. Line 762 '{invoice_block_txt}' => MailAlert::getFormatedAddress($invoice, "\n"), '{delivery_block_html}' => MailAlert::getFormatedAddress( $delivery, '<br />', array( 'firstname' => '<span style="color:'.$configuration['PS_MAIL_COLOR'].'; font-weight:bold;">%s</span>', 'lastname' => '<span style="color:'.$configuration['PS_MAIL_COLOR'].'; font-weight:bold;">%s</span>', ) ), '{invoice_block_html}' => MailAlert::getFormatedAddress( $invoice, '<br />', array( 'firstname' => '<span style="color:'.$configuration['PS_MAIL_COLOR'].'; font-weight:bold;">%s</span>', 'lastname' => '<span style="color:'.$configuration['PS_MAIL_COLOR'].'; font-weight:bold;">%s</span>', Edited September 7, 2019 by Dan1 (see edit history) Link to comment Share on other sites More sharing options...
jetway Posted September 4, 2019 Share Posted September 4, 2019 (edited) Well you might be able to do that from the back office but if that doesnt work you can go to the Configuration Table in your database and change it there. Search for name: PS_MAIL_COLOR and put in the hex code of the color you want. Edited September 4, 2019 by jetway (see edit history) 1 1 Link to comment Share on other sites More sharing options...
Dan1 Posted September 7, 2019 Author Share Posted September 7, 2019 (edited) On 9/4/2019 at 2:32 AM, jetway said: go to the Configuration Table in your database and change it there. Search for name: PS_MAIL_COLOR and put in the hex code of the color you want. This worked thank you. Some further instructions for those unfamiliar working with database (I had to figure this out): In database search for PS_MAIL_COLOR selecting "the exact phrase as substring" and Select all inside tables. Change the color code in: 1 match in ps_configuration by clicking on Browse and Edit. Edited September 7, 2019 by Dan1 (see edit history) Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now