|
|||
|
hahah
funktioniert nicht ? klar, du musst im admin bei der artikelgruppe die ampel von rot auf gr?n umstellen :-) einfach auf den gr?nen Punkt klicken damit er gr?n leuchet und schon funktionierts :-)) cool was |
|
||||
|
...nun noch die sache mit dem w?hrungsrechner...
da gibts keine gr?nen punkt st:er schreibt da was vonwegen: Error: The exchange rate for Euro (EUR) was not updated. Is it a valid currency code? Error: The exchange rate for Schweizer Franken (CHF) was not updated. Is it a valid currency code? |
|
||||
|
admin/includes/functions/localization.php
vorhandenen funktionen mit : ersetzen Code:
function quote_oanda_currency($code, $base = DEFAULT_CURRENCY) {
$page = file('http://www.oanda.com/convert/fxdaily?value=1&redirected=1&exch=' . $code . '&format=CSV&dest=Get+Table&sel_list=' . $base);
$match = array();
preg_match('/(.+),(\w{3}),([0-9.]+),([0-9.]+)/i', implode('', $page), $match);
if (sizeof($match) > 0) {
return $match[3];
} else {
return false;
}
}
function quote_xe_currency($to, $from = DEFAULT_CURRENCY) {
$page = file('http://www.xe.net/ucc/convert.cgi?Amount=1&From=' . $from . '&To=' . $to);
$match = array();
preg_match('/[0-9.]+\s*' . $from . '\s*=\s*([0-9.]+)\s*' . $to . '/', implode('', $page), $match);
if (sizeof($match) > 0) {
return $match[1];
} else {
return false;
}
}
__________________
xt:Commerce Helpdesk xt:Commerce Blog xt:Commerce Warenwirtschaft ### ![]() Offene Stellen bei xt:Commerce! xt:Commerce stellt ein ### |
![]() |
| Lesezeichen |
| Stichworte |
| anlegen, produktegruppen |
| Themen-Optionen | |
| Ansicht | |
|
|