We have some orders that have discounts applied. Some orders have discounts applied on an order level (e.g 10% off the entire order), others have discounts are applied directly to a specific product in the order (e.g buy 2 get 1 free). However on an `Order`’s `LineItems` in the Storefront API, `discountedTotalPrice` is always equal to `originalTotalPrice`, even though that `LineItem` has `discountAllocations` returning the correct amount of discount on that `LineItem`.
Shouldn’t `discountedTotalPrice` include the discounts returned inside a `LineItem`s `discountAllocation` array?
Do you happen to have an order ID or a request ID so I can take a look?
Kevin_A | Developer Support @ Shopify
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Click Accept as Solution