Die Lösung ist relativ simple:
checkout_process.php
ca. Zeile 253 einfügen
Code: Alles auswählen
//Änderung
$shipping_realtime = $order->products[$i]['shipping_time'];
if ($stock_left < 0) { $shipping_realtime = '<b>Nicht alle Artikel auf Lager! - Lieferzeit: ca. 10 Werktage!</b>'; }
//Änderung Ende
Code: Alles auswählen
$sql_data_array = array ('orders_id' => $insert_id, 'products_id' => xtc_get_prid($order->products[$i]['id']), 'products_model' => $order->products[$i]['model'], 'products_name' => $order->products[$i]['name'],'products_shipping_time'=>$shipping_realtime, 'products_price' => $order->products[$i]['price'], 'final_price' => $order->products[$i]['final_price'], 'products_tax' => $order->products[$i]['tax'], 'products_discount_made' => $order->products[$i]['discount_allowed'], 'products_quantity' => $order->products[$i]['qty'], 'allow_tax' => $_SESSION['customers_status']['customers_status_show_price_tax']);