Currency

THIS PAGE HAS NOT BEEN COMPLETED BUT PROVIDES AN OUTLINE OF FUNCTIONALITY

This plugin is dependent on BW Database.

It utilises jsTimezoneDetect - Thank you! That script detects a device's timezone on their device. This is so we can set the user's initial currency and this retrieved value is converted to their currency.

This plugin will automatically convert prices on a web page to a user's currency, and provide an easy way to implement a select box which allows the user to update their currency. It is a dependancy of BW Shop which can provide fully featured shop functions.

/config/config.php

 
$php_plugins = array(
	"all"=>array("currency")
);
	 

/php/plugins/currency/config/config.php

 
$currencyConfig = array(
	//"available"=>array("gbp","eur","usd")
);
currencyPlugin::setConfig($currencyConfig);
	 

Example usage