Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


These support forums are now closed for new topics and comments.
Please head on over to http://eureka.ucommerce.net/ for support.

  • Ben Tice 31 posts 131 karma points
    Aug 25, 2014 @ 13:00
    Ben Tice
    0

    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

  • Vilius Janulis 38 posts 79 karma points
    Aug 25, 2014 @ 13:27
    Vilius Janulis
    0

    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.

  • Ben Tice 31 posts 131 karma points
    Sep 03, 2014 @ 21:39
    Ben Tice
    0

    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);
  • Morten Skjoldager 440 posts 1499 karma points
    Sep 04, 2014 @ 09:59
    Morten Skjoldager
    0

    Hi Ben,

    That would be the way to do it :) 

    Regards

    Morten

Please Sign in or register to post replies

Write your reply to:

Draft