News:

Looking for documentation? Take a look on our wiki

Main Menu

Subtotal tax amount in cart not correctly calculated

Started by Anne M, April 03, 2012, 00:42:26 AM

Previous topic - Next topic

Anne M

In VM 2.0.2

If a product baseprice withTax is say 179,00 Euro and you sell it for 159,00
Productdetails are correctly calculated

In cart you will find
product price incl TAX and in next line
the new price with TAX

Under the header of Tax incl you do NOT find the subtotal Tax amount but the incl TAX in the original product price.

Prices (tax etc) should be calculated in

/components/com_virtuemart/views/cart/default_pricelist.php (around line 166)


<?php if ( VmConfig::get('show_tax')) { ?>
<td align="right"><?php echo "<span  class='priceColor2'>".$prow->subtotal_tax_amount."</span>" ?></td>
                                <?php ?>
<td align="right"><?php echo "<span  class='priceColor2'>".$prow->subtotal_discount."</span>" ?></td>
<td colspan="1" align="right"><?php echo $prow->subtotal_with_tax ?></td>
</tr>



Is it a bug?
Is there a way to fix this?


groetjes,
Anne M