Fehler Währungsumrechnung in Attributen

Aus Wiki | xtcModified eCommerce Shopsoftware

Betrifft bis einschl. Version 1.05 (behoben ab Folgeversion am 2010-08-11)

Meine Hauptwährung ist EURO, biete aber als Zweitwährung auch US$ an. Die in den Attributen hinterlegten Preise werden nicht umgerechnet sondern der Wert bleibt. Nur das Währungszeichen ändert sich.
(Forum Fef: http://www.xtc-modified.org/forum/index.php?topic=15991.msg152009#msg152009)


Lösung:

Datei includes/modules/product_attributes.php, Zeile 62 ca.

Finde:

$price = $xtPrice->xtcFormat($products_options['options_values_price'], false, $product->data['products_tax_class_id']);

Ändere zu:

$price = $xtPrice->xtcFormat($products_options['options_values_price'], false, $product->data['products_tax_class_id'], true );