D
The cronium is squeaked in which orders are obtained from the database, oc_order_product and oc_order.select order_id,date_added,email,firstname, lastname, shipping_country,shipping_zone,shipping_code,payment_method,total ,shipping_city,shipping_address_1,shipping_postcode,telephone,comment from oc_order where (date_added BETWEEN '$last_time_update' AND '$cur_date') AND order_status_id=1
select name,quantity from oc_order_product where order_id='$order_id'