Providing the Subtotal for Sale Items Excluding Line Items #7594
Unanswered
bradenfallon
asked this question in
Q&A
Replies: 1 comment 1 reply
-
@bradenfallon this does not currently exist as a pre-calculated variable - although it would be a nice addition and potentially not too difficult to add to the available context data in the report. I would suggest making a new issue against this. Perhaps you would be willing to put some sponsorship towards development of this feature? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
I am wondering if there is a pre-existing variable that contains the total for the sale items of a Sales Order but not any of the additional line items.
Below I have a segment of code from my Sales Order Template file. It generates a table with all the sale items and adds a subtotal row underneath. However, I don't know how to calculate only the sale items total excluding any line items. I know that the
order.total_price
variable contains the entire order total (including line items).If there is not a variable that exists with this exact data, is there a way to code this in the Sale Order Report Template?
Beta Was this translation helpful? Give feedback.
All reactions