Displaying cart level discounts on line items

Topic summary

Goal: Show per-line discounted prices and adjusted line totals in a Shopify Order Printer invoice when a cart-level discount code applies.

Context: The discount code is restricted to customers with a specific tag and only applies to certain product collections. The aim is to add a column reflecting each line item’s price after the cart-level discount and the updated line total.

Findings so far:

  • line_item.original_price correctly shows the original (pre-discount) price.
  • line_item.final_price and similar line-item discount variables return blank values.
  • Multiple line item endpoints/variables were tested without success. Developer support did not provide a workable solution.

Workaround noted: A paid app can display original price, discounted line price, and updated line totals, confirming the data can be derived, but the app is unsuitable due to cost and other constraints.

Attachments: Screenshots compare the paid app’s output versus the Order Printer template, illustrating the discrepancy.

Status: No solution provided yet. The request remains open for suggestions on how to retrieve and render per-line discounted prices within Order Printer.

Summarized with AI on February 6. AI used: gpt-5.

Same exact issue. I have tried all the end points on the line items and nothing works.

Can anyone chime in on this one?