Added function for order total