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

wrong price calculation in confirmorder

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: Medium Medium
    • Future
    • 4.0.1
    • Legacy > Webshop
    • None
    • 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

        Activity

          People

            unknown unknown
            rootnoob rootnoob
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: