Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Hi all,
It appears that the OrderLine.Total property is calculated with Tax/Vat included. I'd like to get the line total without tax. Is there a setting for this? Or does something need to get overridden?
Thanks in advance!
Ben
Hey,
This is probably what you are looking for , since it does exactly what you want, removed vat for each order line:
http://our.umbraco.org/projects/website-utilities/ucommerce/ucommerce-support/24826-VAT-Calculation
Basically you need to create custom Pipeline task and that overwrite current values.
Thanks for the reply. I really just needed to adjust the total for display purposes only, so I put created a new variable in my razor like so:
var lineTotalWithoutTax = new Money(lineItem.Quantity * lineItem.Price, currency);
Hi Ben,
That would be the way to do it :)
Regards
Morten
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
OrderLine Total without Tax
Hi all,
It appears that the OrderLine.Total property is calculated with Tax/Vat included. I'd like to get the line total without tax. Is there a setting for this? Or does something need to get overridden?
Thanks in advance!
Ben
Hey,
This is probably what you are looking for , since it does exactly what you want, removed vat for each order line:
http://our.umbraco.org/projects/website-utilities/ucommerce/ucommerce-support/24826-VAT-Calculation
Basically you need to create custom Pipeline task and that overwrite current values.
Thanks for the reply. I really just needed to adjust the total for display purposes only, so I put created a new variable in my razor like so:
Hi Ben,
That would be the way to do it :)
Regards
Morten
is working on a reply...