DiscountedTotalPrice on LineItem doesn’t seem to include discount

Highlighted
Tourist
5 0 0

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? 

0 Likes
Highlighted
New Member
8 0 0

I'm seeing the same behavior on my end as well, discountedTotalPrice is not reflecting the discount associated with that line item

0 Likes
Shopify Staff
Shopify Staff
155 20 26

Hey @Kieran-madefres 

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 

0 Likes