Uploaded image for project: 'eZ Publish / Platform'
  1. eZ Publish / Platform
  2. EZP-15746

function productTotal[...] in eZOrder.php returns wrong total prices.

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Medium
    • Resolution: Obsolete
    • Affects Version/s: 4.1.3
    • Fix Version/s: None
    • Component/s: Legacy > Webshop
    • Labels:
      None

      Description

      productTotalExVAT function returns sum of all items and give total. But if you have lot of small items, you have a difference with real total (as you can have basket class).

      ProductItems function stores round values (L836-837 and 845-846) instead of exact values and sum these round values to return total and you have approximate result.

      I have problems with many (20) small items (<5€) . Remove these four lines solve the problem.
      It's a big problem for invoices ...

        Attachments

          Activity

            People

            Assignee:
            unknown unknown
            Reporter:
            spoutnik Guillaume HH
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated: