Hi Hassain,
This is great! Thank you. Everything makes sense now, thanks for your help. I just have one final question.
I haven’t been able to get the display working like this, https://screenshot.click/20-02-dc0i3-gvx3i.png using the order API. When I add the order.line_item.total_discounts everything looks good on the data side. I see everything as expected, however the display you linked to that crosses out the price does not show up on the Order. Since you say this depends on the type of discount provided, is there something else I need to do on the order API to make this work? Is it possible to have this display happen by simply adding the order.line_item.total_discounts? Is there something I would have to add to the original data I posted on this thread?
Thanks again!