Ankündigung
Einklappen
Keine Ankündigung bisher.
Klammern bei Zusatzinfos in Versandmodulen entfernen
Einklappen
X
-
Die Klammern sind für alle Zusatzinfos in Versandmodulen zentral hinterlegt, es macht meist Sinn die irgendwie abzugrenzen.
Wenn es ohne Klammern sein soll, dann können die entfernt werden in:
includes/modules/pages/checkout_shipping/header_php.php
ca. Zeile 170
ändern von:
Code:'title' => (($free_shipping == true) ? $quote[0]['methods'][0]['title'] : $quote[0]['module'] . ' (' . $quote[0]['methods'][0]['title'] . ')'),
Code:'title' => (($free_shipping == true) ? $quote[0]['methods'][0]['title'] : $quote[0]['module'] . ' ' . $quote[0]['methods'][0]['title'] . ''),
Zuletzt geändert von webchills; 29.02.2016, 12:31.
-
bei mir war der Pfad so: /includes/modules/pages/checkout_shipping/header_php.php
Aber dort finde ich:
'title' => (($free_shipping == true) ? $quote[0]['methods'][0]['title'] : $quote[0]['module'] . ' ' . $quote[0]['methods'][0]['title'] . ''),
'cost' => $quote[0]['methods'][0]['cost']);
Da sind diese Klammer nicht. Wo bin ich falsch?
Kommentar
-
Hier nochmal die gesamte Stelle im Code
Die Klammern sind rot gekennzeichnet
includes/modules/pages/checkout_shipping/header_php.hp
ca. Zeile 170
Code:if ( (isset($quote[0]['methods'][0]['title'])) && (isset($quote[0]['methods'][0]['cost'])) ) { $_SESSION['shipping'] = array('id' => $_POST['shipping'], 'title' => (($free_shipping == true) ? $quote[0]['methods'][0]['title'] : $quote[0]['module'] . ' [B][COLOR=#ff0000]([/COLOR][/B]' . $quote[0]['methods'][0]['title'] . '[B][COLOR=#ff0000])[/COLOR][/B]'), 'cost' => $quote[0]['methods'][0]['cost']);
Code:if ( (isset($quote[0]['methods'][0]['title'])) && (isset($quote[0]['methods'][0]['cost'])) ) { $_SESSION['shipping'] = array('id' => $_POST['shipping'], 'title' => (($free_shipping == true) ? $quote[0]['methods'][0]['title'] : $quote[0]['module'] . ' ' . $quote[0]['methods'][0]['title'] . ''), 'cost' => $quote[0]['methods'][0]['cost']);
Kommentar
Kommentar