Wenn nurn einfacher Patch sein soll. Da kannst du bei der Preisanzeige was machen.
includes/classes/xtcPrice.php, Zeile 318 ca.
Finde:
PHP-Code:
if ($format) {
$Pprice = number_format($price, $this->currencies[$this->actualCurr]['decimal_places'], $this->currencies[$this->actualCurr]['decimal_point'], $this->currencies[$this->actualCurr]['thousands_point']);
$Pprice = $this->checkAttributes($pID).$this->currencies[$this->actualCurr]['symbol_left'].' '.$Pprice.' '.$this->currencies[$this->actualCurr]['symbol_right'];
Füge ein:
PHP-Code:
define(EUR_CHF_FAKTOR, 1.234);
define(CHF_FORMAT, ' (%s CHF)');
$Pprice.= sprintf(CHF_FORMAT, number_format($price*EUR_CHF_FAKTOR,2,',','') );
Die Defines, insbesondere den Umrechnungsfaktor, kannst du woanders unterbringen. Z.b. in der configure.php. In der Datenbank geht auch, bei den Konfigurationsdaten.
mfg