Added sales aggregation functionality.