//letzte Positionen wie Versand, Mindermengenzuschlag, Rabatt, Kupon etc.
$cur_query = eS_execute_query("select * from orders_total where (class=\"ot_shipping\" OR class=\"ot_cod_fee\" OR class=\"ot_coupon\" OR class=\"ot_discount\" OR class=\"ot_orderdiscount\" OR class=\"ot_gv\" OR class=\"ot_loworderfee\" OR class=\"ot_ps_fee\" OR class=\"ot_payment\" OR class=\"ot_bonus_fee\") and orders_id=".intval($_POST['KeyBestellung'])." order by sort_order");
while ($total_pos = mysql_fetch_object($cur_query))