As part of the GraphQL Storefront API 2022-07 API release, we are changing how
CartLine are returned.
Cart.discountAllocations returns discount allocations that are applied to the entire
CartLine.discountAllocations now only returns discount allocations that are applied to the specific
CartLine.total reflects the line total with only line-level discounts applied, not discounts applied to the entire
Learn more about the
Cart object on Shopify.dev.