I would like to show the product price without tax in the item listing of the cart.
In my case the third column shows the items price incl. tax, this field is just before the quantity field. This price I want to display without tax.
I found this line of code in "default_pricelist.php"
<td align="center" >
<?php
if (VmConfig::get('checkout_show_origprice',1) && !empty($this->cart->pricesUnformatted[$pkey]['basePriceWithTax']) && $prow->basePriceWithTax != $prow->salesPrice ) {
echo '<span style="text-decoration:line-through">'.$prow->basePriceWithTax .'</span><br />' ;
}
echo $prow->salesPrice ;
?>
</td>
What should I replace "basePriceWithTax" with, tried "basePriceWithOutTax" but it didn't work.
Or is there some setting I have missed?
Thanks
Jan
I used
$this->cart->prices[$pkey]['basePrice'];
for the basePrice.
But it does not help for the Emails sent when ordering.
Any other ideas?