Jump to content
xt:Commerce Community Forum

FIX für xt_banktransfer - Lastschrift Bezeichnung wird nicht angezeigt


Borlabs

Recommended Posts

Wer sich wundert, wieso die Variable {$payment_info.payment_name} bei Lastschrift nicht verfügbar ist, hier ist der Fix dafür:

Hook-Point: module_checkout.php:checkout_data

Code ersetzen mit folgendem:


if(is_data($_SESSION['xt_banktransfer_data'])){
$temp_data = $_SESSION['xt_banktransfer_data'];
$xt_banktransfer_temp = new xt_banktransfer;

$data = array('data' => $_SESSION['cart']->show_content,
'payment_info' => array_merge($payment_info, $xt_banktransfer_temp->data),
'shipping_info' => $shipping_info,
'sub_total' => $_SESSION['cart']->content_total['formated'],
'sub_data' => $_SESSION['cart']->show_sub_content,
'tax' => $_SESSION['cart']->tax,
'total' => $_SESSION['cart']->total['formated']
);
}
[/PHP]

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
  • Create New...