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

Critical: shop/basket.php calculates price without VAT incorectly, if shipping has price

    XMLWordPrintable

    Details

      Description

      when basket.php calculates total price with vat it make absolute nonsense:

          $totalIncShippingExVat  = $basket->attribute( 'total_ex_vat'  ) + $shippingInfo['cost'];
          $totalIncShippingIncVat = $basket->attribute( 'total_inc_vat' ) + $shippingInfo['cost'];
      

      It sums basket price without VAT and shipping price with VAT. It makes total price without VAT incorect.

      Companies can have serious problems with tax autorities because of this.

        Attachments

          Activity

            People

            Assignee:
            unknown unknown
            Reporter:
            vytis Vytautas Germanavičius
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated: