Displaying product cost on draft order page

Topic summary

A user is seeking to display product cost prices on the draft order page to help apply customer-specific discounts more efficiently when processing phone and email orders.

Proposed Technical Approach:

  • Modify the customers/orders.liquid template file
  • Add a new table column for cost price between the existing price and quantity columns
  • Use {{ line_item.cost | money }} to display the cost value

Current Status:

  • The question remains unanswered
  • A second user has the same requirement and is also looking for solutions
  • No confirmation yet on whether the proposed code modification would work or if line_item.cost is an available data field
  • Solutions being considered include custom development or third-party apps

The main uncertainty is whether the cost data is accessible through the Liquid template system or if an alternative approach is needed.

Summarized with AI on November 2. AI used: claude-sonnet-4-5-20250929.

Hi everyone,

We process a number of order via phone/e-mail and, depending on the Customer, will sometimes apply different discount levels. In order to do this more efficiently it would help if we could display the cost price of each product on the draft order page:

I assume that this would need to be done somewhere like customers/orders.liquid and update

{{ line_item.sku }} {{ line_item.price | money }} {{ line_item.quantity }} {{ line_item.quantity | times: line_item.price | money }}

to something like:

{{ line_item.sku }} {{ line_item.price | money }} {{ line_item.cost | money }} {{ line_item.quantity }} {{ line_item.quantity | times: line_item.price | money }}

Am I on the right track?

Thanks a million

Hi Dean,

I am searching for the answer to the exact same question for the exact same reason!

I would love to hear from you if you found a solution to this whether that was in house development, or provided via an APP.