Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Showing prices without EU VAT.


Rodland

Recommended Posts

I'm looking for a quick way to show a price with and without VAT.

 

For instance:

 

?245.00 Incl.VAT (?208.51 excl. VAT for our non-EU customers)

 

the ?208.51 shown above is calculated simply by taking the price (including vat) and multiplying by .8511

 

How can I do this to the below?

 

<?php echo $products_price; ?>

 

Something like this?

 

<?php echo $products_price*.8511; ?>

 

Or...

 

<?php echo $products_price; ?*.8511>

 

As you can imagine I've tried the above and it doesn't work. Any tips????

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...