Fixed the range of orders to retrieve + retrieving orders
managing the products, some problems remain from the SQL-side