Visiedo Posted March 6, 2013 Share Posted March 6, 2013 Hi, many people face the tedious task of removing the "Powered by Prestashop" from every mail template in their shops. One obvious possibility is to go to the backoffice -> Localization -> Translations, and select "Email template translation" and the name of your theme. Very soon you will face the reality, around 64 mail templates in html and plain text, and a serial killer interface. Not what you would like to do if you want to have a life ;-) Using the replace functionality from your IDE won't do the work either. Works fine for text files but in html you have to remove three lines <tr> <td style="font-size: 10px; border-top: 1px solid #D9DADE;" align="center"><a style="color: {color}; font-weight: bold; text-decoration: none;" href="{shop_url}">{shop_name}</a> powered by <a style="text-decoration: none; color: #374953;" href="http://www.prestashop.com/">PrestaShop™</a></td> </tr> and many text editors / IDEs would have problems to do it with all your files at a time... at least my experience with NetBeans in Linux. What I did: Use the "Replace" function from the IDE (in my case Netbeans) for the text files. It is just one line. Still might require some iterations since the famous text comes in different flavours. For HTML I used the following regular expression to match the three lines above: <tr>\n.*PrestaShop.*\n</tr> And use the Netbeans ability to use regular expresions to find and replace in multiple files. Alternatively you could also use "sed" if you are using a Unix based system. 3 Link to comment Share on other sites More sharing options...
vekia Posted March 9, 2013 Share Posted March 9, 2013 Hi, many people face the tedious task of removing the "Powered by Prestashop" from every mail template in their shops. One obvious possibility is to go to the backoffice -> Localization -> Translations, and select "Email template translation" and the name of your theme. Very soon you will face the reality, around 64 mail templates in html and plain text, and a serial killer interface. Not what you would like to do if you want to have a life ;-) Using the replace functionality from your IDE won't do the work either. Works fine for text files but in html you have to remove three lines <tr> <td style="font-size: 10px; border-top: 1px solid #D9DADE;" align="center"><a style="color: {color}; font-weight: bold; text-decoration: none;" href="{shop_url}">{shop_name}</a> powered by <a style="text-decoration: none; color: #374953;" href="http://www.prestashop.com/">PrestaShop™</a></td> </tr> and many text editors / IDEs would have problems to do it with all your files at a time... at least my experience with NetBeans in Linux. What I did: Use the "Replace" function from the IDE (in my case Netbeans) for the text files. It is just one line. Still might require some iterations since the famous text comes in different flavours. For HTML I used the following regular expression to match the three lines above: <tr>\n.*PrestaShop.*\n</tr> And use the Netbeans ability to use regular expresions to find and replace in multiple files. Alternatively you could also use "sed" if you are using a Unix based system. many thanks for sharing your know-how, I am convicted that your solution will help im using phpdesigner, and your solution works like a charm Link to comment Share on other sites More sharing options...
alfredopacino Posted February 24, 2014 Share Posted February 24, 2014 (edited) many thanks for sharing your know-how, I am convicted that your solution will help im using phpdesigner, and your solution works like a charm if you allow and agree with "powered by prestashop" removing fix, you could evaluate the possibility of remove at all the next module release?its a huge work edit 60 files.. maybe the powered by prestashop could be somewhere else Edited February 24, 2014 by alfredopacino (see edit history) Link to comment Share on other sites More sharing options...
goldhub Posted August 11, 2014 Share Posted August 11, 2014 It's a huge spam thing done to promote Prestashop. But Why? Why my customers need to see that? Really stupid thing! Link to comment Share on other sites More sharing options...
evinx Posted August 20, 2014 Share Posted August 20, 2014 (edited) Here you can download ad free email templates . ---English--- http://download.evinx.nl/click.php?id=PS1.6.0.9adfreeEN ---Dutch--- http://download.evinx.nl/click.php?id=PS1.6.0.9adfreeNL i hope you can use it ! ---edit--- sorry the readme.txt is included in the download file Edited August 20, 2014 by evinx (see edit history) Link to comment Share on other sites More sharing options...
sworld Posted June 25, 2015 Share Posted June 25, 2015 Download not Working 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