|
|||
|
Hallo!
Ich habe meinen XTC Shop an das Warenwirtschaftssystem JTL WaWi V0994 gekoppelt. Soweit funktioniert alles prima. Wenn ich jetzt in dem WaWi einen Endkundenpreis und einen Haendlerpreis eingebe erscheint der Endkundenpreis im XTC wenn man als Haendler angemeldet ist als UVP in durchgestrichener Form zusaetzlich zum Haendlerpreis. Gibt es die Moeglichkeit den UVP mit dem angezeigten Preis in entsprechenden Dateien von XTC einfach zu loeschen. Also das die Zeile, die fuer die Anzeige des UVPs in der Haendleranmeldung einfach nicht dargestellt wird. Waere super, wenn da jemand mehr Ahnung hat wie ich. Vielen Dank vorab fuer eure Muehe! Gruss, Justicezzz |
|
|||
|
Doch, ich!
Ist unsauber, funktioniert aber: Im Ordner includes/classes ist die Datei xtcPrice.php. Dort in der Methode xtcFormatSpecialGraduated findest du das hier: PHP-Code:
|
|
|||
|
Diesen Text sollten Sie entfernen:
Code:
.MSRP.$this->xtcFormat($pPrice, $format).'</span><br />'. Christian Fischer |
|
|||
|
Hi ihr!
Ich hatte dasselbe Problem, habe jetzt nach langem Hin- und Her probieren folgende Passage gelöscht: Code:
'<span class="productOldPrice">'.MSRP.$this->xtcFormat($pPrice, $format).'</span><br />'. ![]() Allerdings habe ich für Händler Staffelpreise und XTC zeigt jetzt z.B. "ab 18,90 EUR" an, obwohl der Artikel z.B. ab 12 Stk. nur 15 EUR kostet. Kann man das noch irgendwie ändern? Mein Quelltext in dem geänderten Bereich sieht jetzt so aus: Code:
function xtcFormatSpecialGraduated($pID, $sPrice, $pPrice, $format, $vpeStatus = 0, $pID) {
if ($pPrice == 0)
return $this->xtcFormat($sPrice, $format, 0, false, $vpeStatus);
if ($discount = $this->xtcCheckDiscount($pID))
$sPrice -= $sPrice / 100 * $discount;
if ($format) {
if ($sPrice != $pPrice) {
$price = YOUR_PRICE.$this->checkAttributes($pID).$this->xtcFormat($sPrice, $format);
} else {
$price = FROM.$this->xtcFormat($sPrice, $format);
}
if ($vpeStatus == 0) {
return $price;
} else {
return array ('formated' => $price, 'plain' => $sPrice);
}
} else {
return round($sPrice, $this->currencies[$this->actualCurr]['decimal_places']);
}
}
function get_decimal_places($code) {
return $this->currencies[$this->actualCurr]['decimal_places'];
}
}
Bin für jeden weiteren Tipp dankbar, der Thread hat mir schon sehr geholfen Katja |
|
|||
|
hallo, danke erstmal, ich konnte das problem erfolgreich damit beheben.
ich versuche jetzt auch mal zu helfen: folgendermaßen lassen sich die gewünschten artikelpreise anzeigen: Code:
function xtcFormatSpecialGraduated($pID, $sPrice, $pPrice, $format, $vpeStatus = 0, $pID) {
if ($pPrice == 0)
return $this->xtcFormat($sPrice, $format, 0, false, $vpeStatus);
if ($discount = $this->xtcCheckDiscount($pID))
$sPrice -= $sPrice / 100 * $discount;
if ($format) {
$price = FROM.$this->xtcFormat($pPrice, $format);
if ($vpeStatus == 0) {
return $price;
} else {
return array ('formated' => $price, 'plain' => $sPrice);
}
} else {
return round($sPrice, $this->currencies[$this->actualCurr]['decimal_places']);
}
}
Es werden nun die Artikelpreise angezeigt und nicht der Preis der höchsten Artikelvariation... Hoffe ich konnte helfen |
![]() |
| Lesezeichen |
| Stichworte |
| entfernen, händler, template, uvp |
| Themen-Optionen | |
| Ansicht | |
|
|
Ähnliche Themen
|
||||
| Thema | Autor | Forum | Antworten | Letzter Beitrag |
| Wie kann ich den Footer vom Template entfernen? | ganjer | Installation und Konfiguration | 9 | 05.01.2006 19:18 |
| Wie kann ich den Footer vom Template entfernen? | ganjer | Template System | 1 | 28.11.2005 11:35 |