Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.

2 prices(inc and Exc vat) with diferent sizes/colors

Recommended Posts

Hi, new here and with oscommerce, learned a lot thanks.


Hi made this change to to currencies based on this addon:




I take no credit for this:


To simply display (Incl VAT) or (Excl. VAT) simply overtype the **** in the code underneath.


This must be added to includes/classes/currencies.php




return $this->format($this->calculate_price($products_price, $products_tax, $quantity))


Replace with:


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


No file to be uploaded.






Now i have both prces displayed like this:



2.71€ (IVA inc.)


I want to change the included vat price so its smaller tant the other(and/or chanfge color):


2.71€ (IVA inc.)


I successful change both prices size and colour(the easy way is in stylesheet), i also can change the text "(iva inc.)


Thanks in advance and hope this will help others...



Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...