Klaus123 Posted February 13, 2017 Share Posted February 13, 2017 Hallo zusammen!Ich habe leider noch keine Lösung hier gefunden.Möchte bei den Email-Templates eine eigene Variable einfügen.Wie funktioniert das bitte?LG, Mario Link to comment Share on other sites More sharing options...
0 eleazar Posted February 13, 2017 Share Posted February 13, 2017 Das erfordert ein Override der Klassen OrderHistory.php und PaymentModule.php, wie hier z.T. für Versionen bis 1.6.0.14 beschrieben: https://www.prestashop.com/forums/topic/465115-solution-how-to-use-order-conf-variables-in-any-email-template/Ohne Programmierung geht das nicht. Link to comment Share on other sites More sharing options...
0 Klaus123 Posted February 14, 2017 Author Share Posted February 14, 2017 Achso ok. Dann funkt es also nicht.Andere Frage:Dann ändere ich den Text von den Emails eben per FTP.Nur wo finde ich diese Emails? Link to comment Share on other sites More sharing options...
0 eleazar Posted February 14, 2017 Share Posted February 14, 2017 Im Ordner mails. Den solltest du in das Verzeichnis deines Templates kopieren und die Änderungen dort vornehmen. Dann hast du immer noch die Originale, wenn etwas schief läuft. Die im Template-Verzeichnis befindlichen Mails haben für Prestashop Priorität. Link to comment Share on other sites More sharing options...
0 Klaus123 Posted February 14, 2017 Author Share Posted February 14, 2017 Ok, in dem Ordner mails/de war ich schon.Wenn ich dort eine .html Datei öffne, ist der Original Code drin.Komisch.Aber wenn ich über den Admin Bereich die Vorlagen öffne, steht was anderes drin. Link to comment Share on other sites More sharing options...
0 Klaus123 Posted February 14, 2017 Author Share Posted February 14, 2017 Sorry, habs soeben gefunden. -> themes/default-bootstrap/mails/de Link to comment Share on other sites More sharing options...
Question
Klaus123
Hallo zusammen!
Ich habe leider noch keine Lösung hier gefunden.
Möchte bei den Email-Templates eine eigene Variable einfügen.
Wie funktioniert das bitte?
LG, Mario
Link to comment
Share on other sites
5 answers to this question
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