Discount applied line item information with Shopify Cart Transform

Hi there,

We have developed an extension with Cart Transform API. This extension checks whether the products in the cart are in the Discounted Products collection. If it is included in the Discounted Products collection, we update the product price with the compare-at price value. But what we want to do here is if a discount is automatically applied on the line item or if the customer has entered a discount code.

In the documents, we could not find a field where we can get discount information from cart transform. In addition, even if a discount is applied in the cart, it gives us the price without discount in cart transform. We cannot catch whether a discount is applied or not.

So is there any way to get discount information in cart transform API?

Thanks.

Hi Nutima,

I’ve connected with our product team to see if this is possible - I’ll update here asap.

Hi @Liam , any update on this?

Hello @cstaton , did you find a solution?
I try using cart & checkout validation, but this template can’t use any cart transform API.

Hey @dduenas-acidlab , sadly not. No response from the dev team as of yet