Antwort #1 am: 04. November 2020, 19:31:13
Versuch mal folgendes:
Öffne die Datei /inc/xtc_pdf_bill.inc.php und suche in Zeile 64 folgendes
// Change Adress on Delivery Slip
if ($deliverSlip === true) {
$customer_address = xtc_address_format($order->customer['format_id'], $order->delivery, 1, '', '<br>');
} else {
$customer_address = xtc_address_format($order->customer['format_id'], $order->billing, 1, '', '<br>');
}
Ändere wie folgt
// Change Adress on Delivery Slip
if ($deliverSlip === true) {
if ($order->info['payment_method'] == 'cash' || $order->info['shipping_method'] == 'selfpickup') {
$customer_address = xtc_address_format($order->customer['format_id'], $order->billing, 1, '', '<br>');
} else {
$customer_address = xtc_address_format($order->customer['format_id'], $order->delivery, 1, '', '<br>');
}
} else {
$customer_address = xtc_address_format($order->customer['format_id'], $order->billing, 1, '', '<br>');
}