Hello,
I'm using the code below for multi currency:
The code works in the meaning that changed currency Prefix and currency Suffix but don't updates the number.
The price is MySQL format:
and in database appears correct.
Any idea on what's going wrong?
Thank you
Chris
- - - Updated - - -
......Addition......
I've a black thought that this function works only for whmcs products and the only work that it does is to change prefix, suffix and getting the price from the product database for that currency.
I'm using the code below for multi currency:
Code:
$currencyData = $_SESSION["currency"];
$license["price"] = formatCurrency($license["price"],$currencyData);
The price is MySQL format:
Code:
`price` DECIMAL(10,2) NOT NULL DEFAULT '0.00',
Any idea on what's going wrong?
Thank you
Chris
- - - Updated - - -
......Addition......
I've a black thought that this function works only for whmcs products and the only work that it does is to change prefix, suffix and getting the price from the product database for that currency.