natpizza.dk Posted October 16, 2014 Share Posted October 16, 2014 Hello every body, I have a little problem that I know of can solve no problems. My problem is, since a customer has ordered at my shop, so I get an email about a new order, I would like to change the font and size of this new order email. How am I doing it? It should not be in the admin panel but with HTML, PHP, CSS. which folder is it? 've tried invoice.tpl etc. but it does not help. I also looked at new-order.txt but does not include font size and color of text. Link to comment Share on other sites More sharing options...
maconl Posted October 16, 2014 Share Posted October 16, 2014 Hi Natpizza.dk you go to the folder "" MODULES "" there you find the module ""Mailallerts"" open this ,, there you find a folder "" MAILS"" open this then you see some other folders also with your language open this folder there you see new_order.html this is the file you can change download this one to your computer and change it as you want TIP :before you put it back , rename on the server the original new_order.html into as sample ------new_order.html in this case when it is not ok or something went wrong you rename ""------new_order.html"" into ""new_order.html"" so you got the original back again Link to comment Share on other sites More sharing options...
natpizza.dk Posted October 16, 2014 Author Share Posted October 16, 2014 On 10/16/2014 at 12:31 PM, maconl said: Hi Natpizza.dk you go to the folder "" MODULES "" there you find the module ""Mailallerts"" open this ,, there you find a folder "" MAILS"" open this then you see some other folders also with your language open this folder there you see new_order.html this is the file you can change download this one to your computer and change it as you want TIP :before you put it back , rename on the server the original new_order.html into as sample ------new_order.html in this case when it is not ok or something went wrong you rename ""------new_order.html"" into ""new_order.html"" so you got the original back again i open the folder some you say before also but there are not FONT SIZE or COLOR code included? [{shop_url}] Congratulations! A new order was placed on {shop_name} from the following customer: {firstname} {lastname} ({email}) ORDER: {order_name} Placed on {date} PAYMENT: {payment} REFERENCE PRODUCT UNIT PRICE QUANTITY TOTAL PRICE {items} PRODUCTS {total_products} DISCOUNTS {total_discounts} GIFT-WRAPPING {total_wrapping} SHIPPING {total_shipping} TOTAL TAX PAID {total_tax_paid} TOTAL PAID {total_paid} {carrier} {delivery_block_html} {invoice_block_html} {message} {shop_name} [{shop_url}] powered by PrestaShop [http://www.prestashop.com/] Only this is included Link to comment Share on other sites More sharing options...
maconl Posted October 16, 2014 Share Posted October 16, 2014 (edited) hi there or you opened "" new_order.txt "" or the programm you used to open this file is not correct you need to open "" new_order.html "" use notepad++ or a good html editor to open this file and you will see something like this as you can see you see here already fontsize , color etc <table border="0"> <tr> <td style="width: 550px; font-family: Verdana, sans-serif; font-size: 11px;"> <p style="background-color: #db3484; width: 540px; color: #fff; font-size: 12px; font-weight: bold; padding: 5px;">Order Details</p> <p>Order: <b><span style="color: #db3484;">#{order_name}</span> placed on {date}</b></p> <p>Payment method: <b>{payment}</b></p> <table style="width: 100%; font-size: 11px; color: #374953;"> <tr style="background-color: {color}; text-align: center;"> <th style="width: 15%; padding: 0.6em;">Reference</th> <th>Product</th> <th style="width: 15%; padding: 0.6em;">Price</th> <th style="width: 15%; padding: 0.6em;">Quantity</th> <th style="width: 20%; padding: 0.6em;">Total Price</th> </tr> Edited October 16, 2014 by maconl (see edit history) Link to comment Share on other sites More sharing options...
samyha Posted October 17, 2014 Share Posted October 17, 2014 Hello, This isn't the right section for your topic, I move it. Link to comment Share on other sites More sharing options...
natpizza.dk Posted October 19, 2014 Author Share Posted October 19, 2014 HELLO, i have very very big problem! i edit the new_order.html form, but the problem is when i upload this with FTP they style, color,font will not changes when they email come. I have 2 language, i edit this to and they will not change is very interresting. What can i do ? example i remove powered by prestashop edit color font size. and that is the same. (( Link to comment Share on other sites More sharing options...
maconl Posted October 19, 2014 Share Posted October 19, 2014 hi try to clear your cache in prestashop and did you replaced the new form into the right folder ? Link to comment Share on other sites More sharing options...
natpizza.dk Posted October 19, 2014 Author Share Posted October 19, 2014 where can i clear cache? can you guide me thanks. yes that in the rigt folder Link to comment Share on other sites More sharing options...
maconl Posted October 19, 2014 Share Posted October 19, 2014 hi in your BO Advanced parameters -> performance -> (then in the top right of the screen) CLEAR CACHE. Link to comment Share on other sites More sharing options...
natpizza.dk Posted October 19, 2014 Author Share Posted October 19, 2014 i have now clear the cache They help nothing:( i have putted the new_order.html file in the right folder. Mailalerts-mail-En and DK Link to comment Share on other sites More sharing options...
maconl Posted October 19, 2014 Share Posted October 19, 2014 (edited) hi , go with filezilla to your folder mailalerts then EN rightclick on the new_order.html and goto view/ edit and choose view is the template the one you changed ? Edited October 19, 2014 by maconl (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