Nur eine Info (falls andere damit auch Probleme haben):
Nach mehreren Tests und verschiedenen Templates funktioniert die Einlösung eines versendeten Gutscheins bei den von mir getesteten Shops nur überall, wenn ich in der checkout_payment.php folgende Zeilen ändere:
SUCHE:
$credit_amount = $credit_selection[$i]['credit_amount'];
$credit_order_total = $xtPrice->xtcFormat($credit_selection[$i]['credit_order_total'], false);
$credit_selection[$i]['selection'] = xtc_draw_checkbox_field('c'.$credit_selection[$i]['id'], $credit_order_total, $credit_selection[$i]['checked'], 'id="rd-'.'c'.$credit_selection[$i]['id'].'"');
$credit_selection[$i]['selection'] .= '<input type="hidden" name="credit_order_total" id="cot-'.'c'.$credit_selection[$i]['id'].'" value="'.$total.'">';
$credit_selection[$i]['credit_amount'] = $xtPrice->xtcFormat($credit_amount, true);
$module_smarty->assign('credit_amount_payment_info', $credit_order_total >= $total ? GV_NO_PAYMENT_INFO : GV_ADD_PAYMENT_INFO);
GEÄNDERT:
$credit_amount = $credit_selection[$i]['credit_amount'];
$credit_order_total = $xtPrice->xtcFormat($credit_selection[$i]['credit_order_total'], false);
$credit_selection[$i]['selection'] = xtc_draw_checkbox_field('c'.$credit_selection[$i]['id'], $credit_amount, $credit_selection[$i]['checked'], 'id="rd-'.'c'.$credit_selection[$i]['id'].'"');
$credit_selection[$i]['selection'] .= '<input type="hidden" name="credit_order_total" value="'.$credit_order_total.'" id="cot-'.'c'.$credit_selection[$i]['id'].'">';
$credit_selection[$i]['credit_amount'] = $xtPrice->xtcFormat($credit_amount, true);
$module_smarty->assign('credit_amount_payment_info', $credit_amount >= $credit_order_total ? GV_NO_PAYMENT_INFO : GV_ADD_PAYMENT_INFO); //BUG geändert: @webald
BG Karsta