discount refactoring part1, moved from cart.order_info.details.discounts to cart.order_info.discounts and from order.details.discounts to order.discounts