Schapfy Posted March 30, 2015 Share Posted March 30, 2015 (edited) Hallo, ich würde gerne die Kundennummer in die Rechnung mit aufnehmen und das Template invoice.tpl anpassen. Und ich habe das Problem, das die Liefer- und Rechnungsadresse ohne Namen angezeigt werden ?<!-- ADDRESSES --><div style="font-size: 8pt; color: #444"><table style="width: 100%"> <tr> <td style="width: 1%"></td> <td style="width: 80%"> {if !empty($delivery_address)} <table style="width: 100%"> <tr> <td style="width: 60%"> <span style="font-weight: bold; font-size: 9pt; color: #4684ac">{l s='Delivery Address' pdf='true'}</span><br /> {$delivery_address} </td> <td style="width: 80%"> <span style="font-weight: bold; font-size: 9pt; color: #4684ac">{l s='Billing Address' pdf='true'}</span><br /> {$invoice_address} </td> </tr> </table> {else} <table style="width: 100%"> <tr> <td style="width: 80%"> <span style="font-weight: bold; font-size: 9pt; color: #4684ac">{l s='Billing & Delivery Address.' pdf='true'}</span><br /> {$invoice_address} </td> <td style="width: 80%"> </td> </tr> </table> {/if} </td> </tr></table><!-- / ADDRESSES --><div style="line-height: 1pt">&nbsp;</div> Edited March 31, 2015 by Schapfy (see edit history) Link to comment Share on other sites More sharing options...
Martijn++ Posted March 30, 2015 Share Posted March 30, 2015 Hallo, ich würde gerne die Kundennummer in die Rechnung mit aufnehmen und das Template invoice.tpl anpassen. Kunden-Nr = {$customer->id_customer} Und ich habe das Problem, das die Liefer- und Rechnungsadresse ohne Namen angezeigt werden ? Darf nicht sein! Anderes Module zum Anmelden verwendet? Link to comment Share on other sites More sharing options...
Schapfy Posted March 30, 2015 Author Share Posted March 30, 2015 (edited) Hallo Martijn, wie kann ich anderes Modúl zum anmelden verwenden ? Kundennummer konnte ich einfügen: <td style="width: 20%"><b>{l s='Kunden Nr.' pdf='true'}</b><br /> {$customer->id}</td> Danke Edited March 30, 2015 by Schapfy (see edit history) Link to comment Share on other sites More sharing options...
Wuschel Posted March 31, 2015 Share Posted March 31, 2015 Ich glaube, Martijn++ hat sich nur gewundert, warum der Kundenname nicht angezeigt wird. Welche Adressfelder hast du den hinterlegt. Ist Name kein Pflichtfeld? Link to comment Share on other sites More sharing options...
Schapfy Posted March 31, 2015 Author Share Posted March 31, 2015 Hallo, ja das sind Pflichtfelder im Anhang habe ich mal ein Screenshot Link to comment Share on other sites More sharing options...
Schapfy Posted March 31, 2015 Author Share Posted March 31, 2015 Hier der Code für Liefer- und Rechnungsadresse: ################################ <!-- ADDRESSES --><div style="font-size: 8pt; color: #444"><table style="width: 100%"> <tr> <td style="width: 1%"></td> <td style="width: 80%"> {if !empty($delivery_address)} <table style="width: 100%"> <tr> <td style="width: 60%"> <span style="font-weight: bold; font-size: 9pt; color: #4684ac">{l s='Delivery Address' pdf='true'}</span><br /> {$delivery_address} </td> <td style="width: 80%"> <span style="font-weight: bold; font-size: 9pt; color: #4684ac">{l s='Billing Address' pdf='true'}</span><br /> {$invoice_address} </td> </tr> </table> {else} <table style="width: 100%"> <tr> <td style="width: 80%"> <span style="font-weight: bold; font-size: 9pt; color: #4684ac">{l s='Billing & Delivery Address.' pdf='true'}</span><br /> {$invoice_address} </td> <td style="width: 80%"> </td> </tr> </table> {/if} </td> </tr></table> ############################################ Link to comment Share on other sites More sharing options...
Schapfy Posted March 31, 2015 Author Share Posted March 31, 2015 Lösung: habe ich in folgendem Link gefunden: https://www.prestashop.com/forums/topic/208479-add-dni-value-of-ps-address-to-invoice-address/ Hier: Localization -> Nations -> Name of the nation to modify -> Address Layout. Auf Deutsch: LOKALISIERUNG-SPRACHEN-DEUTSCH ändern und auf Standart verwenden geändert. 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