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

wrong price calculation in confirmorder

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Medium
    • Resolution: Cannot Reproduce
    • Affects Version/s: 4.0.1
    • Fix Version/s: Future
    • Component/s: Legacy > Webshop
    • Labels:
      None
    • Environment:

      Operating System: Debian
      PHP Version: 5
      Database and version: MySql 5
      Browser (and version): all

      Description

      I get impossible pricecalculations in confirmorder.tpl in price_info. Tried to loop $order.order_info.price_info.items to print the sum of VAT (7% and 19%).
      In $basket all calculations are correct!

      {foreach $order.order_info.price_info.items as $key => $product_price_info sequence array(bglight,bgdark) as $sequence}
          <tr orderitem-line">
              <td class=" line" colspan="{$cols|sub(2)}">
      		{"VAT included"|i18n("extension/xrowecommerce")} ({$key} %)
              </td>
              <td class="basketspace line align_right totalprice">
              {$product_price_info.total_price_vat|l10n( 'currency', $locale, $symbol )} <pre>{$product_price_info|attribute('show', 2)}</pre>
              </td>
              <td class="noborder">&nbsp;</td>
          </tr>
      {/foreach}
      

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              unknown unknown
              Reporter:
              rootnoob scrieler _
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: