Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Price inc & ex not displayed when address changed


future1

Recommended Posts

Hello everybody.

 

I have a bug on a test site that has consumed many hours over many months and is still causing a problem. The site is configured to show prices with and without tax, using the following in classes\currencies.php

 

function display_price($products_price, $products_tax, $quantity = 1) {

 

$return_this= $this->format($products_price * $quantity) . ' ex VAT <br/> '. $this->format(tep_add_tax($products_price, $products_tax) * $quantity) . ' inc VAT <br/> ' ;

return $return_this;

 

 

Everything works perfectly until I amend the primary address of a logged in user, then (until the user logs out) the including and excluding price displayed as the same.

 

I have checked through all mu code and tried numerous changes and its stil the same.

 

Any ideas?

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...