doh Posted February 4, 2016 Share Posted February 4, 2016 (edited) Hey Do you guys know, where I find the css for the new order mail?My client, would like to lose the ____ underscore in the items on the new order mail, but I can not work out, where I should edit it. Thanks Edited February 4, 2016 by doh (see edit history) Link to comment Share on other sites More sharing options...
Daresh Posted February 4, 2016 Share Posted February 4, 2016 Email should have all the styling in it's contents, so look into the html code of the email. Link to comment Share on other sites More sharing options...
doh Posted February 4, 2016 Author Share Posted February 4, 2016 the line is this <td colspan="5" style="border: 1px solid #D6D4D4; color: #777; padding: 7px 0;">{items}</td> the {items} becomes a link in the new order mail, so I must be some where else I should look Link to comment Share on other sites More sharing options...
Daresh Posted February 4, 2016 Share Posted February 4, 2016 I see, this can only by done by modifying the mailalerts module (mailalerts.php). There is a code generating items table: $items_table .= '<tr style="background-color:'.($key % 2 ? '#DDE2E6' : '#EBECEE').';"> <td style="padding:0.6em 0.4em;">'.$product['product_reference'].'</td> <td style="padding:0.6em 0.4em;"> <strong><a href="'.$url.'">'.$product['product_name'].'</a>' .(isset($product['attributes_small']) ? ' '.$product['attributes_small'] : '') .(!empty($customization_text) ? '<br />'.$customization_text : '') .'</strong> </td> <td style="padding:0.6em 0.4em; text-align:right;">'.Tools::displayPrice($unit_price, $currency, false).'</td> <td style="padding:0.6em 0.4em; text-align:center;">'.(int)$product['product_quantity'].'</td> <td style="padding:0.6em 0.4em; text-align:right;">' .Tools::displayPrice(($unit_price * $product['product_quantity']), $currency, false) .'</td> </tr>'; I would try to add style="text-decoration: none;" to the <a> tag. Link to comment Share on other sites More sharing options...
doh Posted February 4, 2016 Author Share Posted February 4, 2016 cool thanks, it worked 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