Author Topic: Price without tax in cart  (Read 1979 times)

jan suhr

  • Jr. Member
  • **
  • Posts: 59
Price without tax in cart
« on: December 30, 2011, 13:46:17 pm »
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"

Code: [Select]
<td align="center" >
if (VmConfig::get('checkout_show_origprice',1) && !empty($this->cart->pricesUnformatted[$pkey]['basePriceWithTax']) && $prow->basePriceWithTax != $prow->salesPrice ) {
'<span style="text-decoration:line-through">'.$prow->basePriceWithTax .'</span><br />' ;
echo $prow->salesPrice ;


What should I replace "basePriceWithTax" with, tried "basePriceWithOutTax" but it didn't work.

Or is there some setting I have missed?


Jan Suhr
Color Consult AB
Stockholm, Sweden


  • Jr. Member
  • **
  • Posts: 77
Re: Price without tax in cart
« Reply #1 on: January 13, 2012, 16:05:49 pm »
I used
for the basePrice.
But it does not help for the Emails sent when ordering.

Any other ideas?