Aw: Currency Symbol customisation
I was also trying to figure out the AUD "$" with config/settings.
I couldn't see how to do it.
So I added code to components/com_jshopping/lib/functions.php
In function 'formatprice' I added a line to add the "$":
if (!$currency_code) $currency_code = $jshopConfig->currency_code;
if ($currency_code=="AUD") $currency_code .= " $";
That seemed to do the trick.
You can change the "AUD" to whatever you set your currency code as, and what ever currency symbol you want.
I guess you could add more if's/cases if you use more than one currency.
Hope that helps anyone else with this problem.
Joomla: 1.7.0
JoomShopping: 3.2.7
Последнее изменение: 26.10.2011 05:11