#1 (permalink)  
Alt 27.03.2005, 09:48
 
Registriert seit: 04.10.2004
Beiträge: 269
Standard

Da ich bei eingen Preisen die W?hrung direkt neben dem Preis hatte ("5.00EUR"), habe ich das xtCommerce abgew?hnt.

Dazu muss in "includes\classes\currencies.php"

der Code

Code:
$format_string = $this->currencies[$currency_type]['symbol_left'] . number_format(xtc_round($number * $rate, $this->currencies[$currency_type]['decimal_places']), $this->currencies[$currency_type]['decimal_places'], $this->currencies[$currency_type]['decimal_point'], $this->currencies[$currency_type]['thousands_point']) . $this->currencies[$currency_type]['symbol_right'];
ersetzt werden durch

Code:
// W. Kaiser    
$format_string = rtrim($this->currencies[$currency_type]['symbol_left']) .' ' . number_format(xtc_round($number * $rate, $this->currencies[$currency_type]['decimal_places']), $this->currencies[$currency_type]['decimal_places'], $this->currencies[$currency_type]['decimal_point'], $this->currencies[$currency_type]['thousands_point']) . ' ' . ltrim($this->currencies[$currency_type]['symbol_right']);
// W. Kaiser
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Wong this Post!
Mit Zitat antworten
Antwort

Lesezeichen

Stichworte
einheitliche, preisformatierung

Themen-Optionen
Ansicht

Forumregeln
Es ist dir nicht erlaubt, neue Themen zu verfassen.
Es ist dir nicht erlaubt, auf Beiträge zu antworten.
Es ist dir nicht erlaubt, Anhänge hochzuladen.
Es ist dir nicht erlaubt, deine Beiträge zu bearbeiten.

BB-Code ist an.
Smileys sind an.
[IMG] Code ist an.
HTML-Code ist aus.
Trackbacks are aus
Pingbacks are aus
Refbacks are aus



Alle Zeitangaben in WEZ +1. Es ist jetzt 22:13 Uhr.

Copyright © 2011 xt:Commerce GmbH / xt:Commerce International Ltd. - All Rights Reserved

xt:Commerce is a SafeCharge brand