Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.

Prices include VAT


Recommended Posts

Can somebody help me solve this problem or point me towards a contribution that can do this.


The prices in the shopping cart include VAT, however a number of custmomers have said that it is not clear whether VAt is included. I would like to add some small text that appears after the product price that says [vat included]


Is this possible



Link to comment
Share on other sites



Many thanks, a very simple and useful contribution. you have save me hours on work


As always I am never satisfied and I now need to find a way of changing the text class so that it appears as smaller text from the main price.



Link to comment
Share on other sites

Should be pretty easy to do with css. If you add this to your stylesheet (change values as desired)



font-family: Arial, Helvetica, sans-serif;

font-size: 16px;

font-weight: bold;

text-transform: capitalize;



then wherever the vat text is displayed, put '<span class="vatdisplay"> . ' before it and ' . </span>' after


e.g. if using the above contribution, find NO_VAT_TEXT and replace it with:


'<span class="vatdisplay">' . NO_VAT_TEXT . '</span>'

Link to comment
Share on other sites



I am having trouble with this one. I can't find NO_VAT_TEXT anywhere.


I used a rather crude method to achieve the goal


After applying the mod I changed the cose to this :


return $this->format(tep_add_tax($products_price, $products_tax) * $quantity) . 'inc vat' ;


I have now chaged it to this


return $this->format(tep_add_tax($products_price, $products_tax) * $quantity) . '<BR><font size="1"> inc vat' ;


It does the job, but I would much rather use a stylesheet.



Link to comment
Share on other sites

NO_VAT_TEXT was in the contribution I linked to, so unless you installed it, it wouldn't be there.


In that case, change to this line and add the vat display to the css


return $this->format(tep_add_tax($products_price, $products_tax) * $quantity) . '<br/><span class="vatdisplay">inc vat</span>';

Link to comment
Share on other sites

  • 10 months later...


I am very greatfull getting such addons.

Here, the process is for excluding VAT. But I want including VAT means


(inc VAT 165.00).

How can I implement this. Plz waiting for reply.




Link to comment
Share on other sites


This topic is now archived and is closed to further replies.

  • Create New...