Order details show the total price and unit price for the line when the product is on discount that reduces the price to 0
Steps to reproduce the problem
Create a draft order
Add product
Add a 100% discount for one of the lines
Update shipping address and shipping method
Finalize order
What did you expect to happen?
I expect that after adding a manual discount to the line both price and total price will show crossed price taken from the lines.X.undiscountedUnitPrice.gross.amount for unit price field and 0 next to it
and price 0 for totalPrice the
Additional information
No response
Environment
Browser and version: Chrome Version 120.0.6099.71 (Official Build) (x86_64)
OS and version: macOS Sonoma 14.1.1
Dashboard version: dashboard 3.19.0-dev-9870979
Core version: core v3.19.0-a.0
Description of the issue
Order details show the total price and unit price for the line when the product is on discount that reduces the price to 0
Steps to reproduce the problem
Create a draft order
Add product
Add a 100% discount for one of the lines
Update shipping address and shipping method
Finalize order
What did you expect to happen?
I expect that after adding a manual discount to the line both price and total price will show crossed price taken from the lines.X.undiscountedUnitPrice.gross.amount for unit price field and 0 next to it and price 0 for totalPrice the
Additional information
No response
Environment
Browser and version: Chrome Version 120.0.6099.71 (Official Build) (x86_64) OS and version: macOS Sonoma 14.1.1 Dashboard version: dashboard 3.19.0-dev-9870979 Core version: core v3.19.0-a.0