Gossner Posted January 28, 2013 Share Posted January 28, 2013 (edited) Die Spalten bei der Bestellbestätigung stimmen nicht. Edited January 29, 2013 by Gossner (see edit history) Link to comment Share on other sites More sharing options...
guest* Posted January 28, 2013 Share Posted January 28, 2013 Du kannst deine Mails bearbeiten so wie du sie benötigst mit dem Editor (oder extern mit einem bleibigen HTML-Editor). Lokalisieurng -> Übersetzungen ->Mails ändern. Bugs Bitte im bug-tracker in Englischer Sprache melden. http://forge.prestashop.com/ Danke. 1 Link to comment Share on other sites More sharing options...
Gossner Posted January 28, 2013 Author Share Posted January 28, 2013 Ich habe gerade gesehen, dass man die Spalten auf dem Bild nicht so gut sieht. Was ich meine ist, dass die Breite der Überschrift: Artikelnr. Produkt, Stückpreis nicht mit der Breite des Artikel übereinstimmt. Und diese lässt sich nicht via Mails ändern. Link to comment Share on other sites More sharing options...
guest* Posted January 28, 2013 Share Posted January 28, 2013 Diese lässt sich schon ändern. Ist ja eine html-Datei. Den Editor dazu nutzen.Wenn du HTML-Option wählst, dann kannst du der Spalte eine Fixe Breite zuweisen. Oder du bearbeitest die Datei mit einem anderen HTML-Editor lokal bei dir und lädst die Datei dann auf dem FTP geändert wieder hoch. Bug bitte im Bug-Tracker deponieren, damit die das anpassen können für das nächste Release. Link to comment Share on other sites More sharing options...
Gossner Posted January 28, 2013 Author Share Posted January 28, 2013 Ich muss Dir leider widersprechen, die Artikel werden über eine Variable {products} übergeben. Link to comment Share on other sites More sharing options...
guest* Posted January 28, 2013 Share Posted January 28, 2013 Ja das stimmt, aber ist ja in einer Tabelle eingetragen, oder etwa nicht ? Diese Tabelle/Zeile kann man sicher formatieren. War ja bisher in anderen PS-Versionen auch nicht anders. Link to comment Share on other sites More sharing options...
guest* Posted January 28, 2013 Share Posted January 28, 2013 Hab dir den Code von der Mail aus PS 1.4.9 angehängt: <table style="font-family: Verdana,sans-serif; font-size: 11px; color: #374953; width: 550px;"> <tbody> <tr> <td align="left"><a title="{shop_name}" href="{shop_url}"><img style="border: none;" src="{shop_logo}" alt="{shop_name}" /></a></td> </tr> <tr> <td> </td> </tr> <tr> <td align="left">Hallo <strong style="color: #db3484;">{firstname} {lastname}</strong>, danke für Ihren Einkauf bei <strong>{shop_name}</strong>.</td> </tr> <tr> <td> </td> </tr> <tr> <td style="background-color: #db3484; color: #fff; font-size: 12px; font-weight: bold; padding: 0.5em 1em;" align="left">Details zu Ihrer Bestellung</td> </tr> <tr> <td> </td> </tr> <tr> <td align="left">Bestellung: <strong><span style="color: #db3484;">{order_name}</span> vom {date}</strong> <br /> Zahlung: <strong>{payment}</strong></td> </tr> <tr> <td> </td> </tr> <tr> <td align="left">{products} {discounts} <table style="width: 100%; font-family: Verdana,sans-serif; font-size: 11px; color: #374953;"><!-- Title --> <tbody> <tr style="background-color: #b9babe; text-align: center;"><th style="width: 15%; padding: 0.6em 0;">Artikelnr.</th><th style="width: 35%; padding: 0.6em 0;">Produkt</th><th style="width: 15%; padding: 0.6em 0;">Stückpreis</th><th style="width: 15%; padding: 0.6em 0;">Menge</th><th style="width: 20%; padding: 0.6em 0;">Gesamtpreis</th></tr> <!-- Products --><!-- Footer: prices --> <tr style="text-align: right;"> <td> </td> <td style="background-color: #b9babe; padding: 0.6em 0.4em;" colspan="3">Produkte</td> <td style="background-color: #b9babe; padding: 0.6em 0.4em;">{total_products}</td> </tr> <tr style="text-align: right;"> <td> </td> <td style="background-color: #ebecee; padding: 0.6em 0.4em;" colspan="3">Rabatte</td> <td style="background-color: #ebecee; padding: 0.6em 0.4em;">{total_discounts}</td> </tr> <tr style="text-align: right;"> <td> </td> <td style="background-color: #ebecee; padding: 0.6em 0.4em;" colspan="3">Geschenkverpackung</td> <td style="background-color: #ebecee; padding: 0.6em 0.4em;">{total_wrapping}</td> </tr> <tr style="text-align: right;"> <td> </td> <td style="background-color: #dde2e6; padding: 0.6em 0.4em;" colspan="3">Versand</td> <td style="background-color: #dde2e6; padding: 0.6em 0.4em;">{total_shipping}</td> </tr> <tr style="text-align: right; font-weight: bold;"> <td> </td> <td style="background-color: #f1aecf; padding: 0.6em 0.4em;" colspan="3">Gesamt</td> <td style="background-color: #f1aecf; padding: 0.6em 0.4em;">{total_paid}</td> </tr> </tbody> </table> </td> </tr> <tr> <td> </td> </tr> <tr> <td style="background-color: #db3484; color: #fff; font-size: 12px; font-weight: bold; padding: 0.5em 1em;" align="left">Versand</td> </tr> <tr> <td> </td> </tr> <tr> <td align="left">Spediteur: <strong>{carrier}</strong></td> </tr> <tr> <td> </td> </tr> <tr> <td> <table style="width: 100%; font-family: Verdana,sans-serif; font-size: 11px; color: #374953;"> <tbody> <tr style="background-color: #b9babe; text-transform: uppercase;"><th style="text-align: left; padding: 0.3em 1em;">Lieferanschrift</th><th style="text-align: left; padding: 0.3em 1em;">Rechnungsanschrift</th></tr> <tr> <td style="padding: 0.5em 0 0.5em 0.5em; background-color: #ebecee;">{delivery_block_html}</td> <td style="padding: 0.5em 0 0.5em 0.5em; background-color: #ebecee;">{invoice_block_html}</td> </tr> </tbody> </table> </td> </tr> <tr> <td> </td> </tr> <tr> <td align="left">Sie können diese Bestellung ansehen und Ihre Rechnung aus dem Abschnitt <a style="color: #db3484; font-weight: bold; text-decoration: none;" href="{shop_url}history.php">"Bestellverlauf"</a> Ihres Kontos downloaden, indem Sie auf unserer Webseite auf <a style="color: #db3484; font-weight: bold; text-decoration: none;" href="{shop_url}my-account.php">"Mein Konto"</a> klicken.</td> </tr> <tr> <td align="left">Wenn Sie ein Gast-Konto haben, können Sie Ihre Bestellung im Abschnitt <a style="color: #db3484; font-weight: bold; text-decoration: none;" href="{shop_url}guest-tracking.php">"Bestellverfolgung Gast"</a> auf unserer Webseite verfolgen.</td> </tr> <tr> <td> </td> </tr> <tr> <td style="font-size: 10px; border-top: 1px solid #D9DADE;" align="center"><a style="color: #db3484; font-weight: bold; text-decoration: none;" href="{shop_url}">{shop_name}</a> powered with <a style="text-decoration: none; color: #374953;" href="http://www.prestashop.com/">PrestaShop™</a></td> </tr> </tbody> </table> 1 Link to comment Share on other sites More sharing options...
Gossner Posted January 29, 2013 Author Share Posted January 29, 2013 (edited) So, nach langem Suchen habe ich nun die Lösung. Das Problem war, dass im Modul classes\paymentModul.php die Spaltenbreite in % nicht die gleiche war wie im order_conf.html (diese Spaltenbreite gilt nur für Überschrift). also anpassen im paymentModul.php public function formatProductAndVoucherForEmail($content) { return '<table style="width: 100%; font-family: Verdana,sans-serif; font-size: 11px; color: #374953;"> <colgroup> <col width="15%"/> <col width="35%"/> <col width="15%"/> <col width="15%"/> <col width="20%"/> </colgroup>'.$content.'</table>'; Edited January 29, 2013 by Gossner (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