AW: Trackingcode im Kundenkonto
na klar:
/templates/JTL-Shop3-Tiny/tpl_inc/jtl_bestellung.tpl nach
/templates/JTL-Shop3-Tiny/tpl_inc/jtl_bestellung_custom.tpl kopieren
Darin die Zeile
Code:
<p>{if $Bestellung->cTracking}{lang key="trackingId" section="login"}: <a href="{$Bestellung->cTrackingURL}">{$Bestellung->cVersandartName}</a>{/if}</p>
suchen und ersetzen mit:
Code:
{** modifiziert
<p>{if $Bestellung->cTracking}{lang key="trackingId" section="login"}: <a href="{$Bestellung->cTrackingURL}">{$Bestellung->cVersandartName}</a>{/if}</p>
**}
<p>{if $Bestellung->cTracking}{lang key="trackingId" section="login"}: {$Bestellung->cTracking}<br />{lang key="logistiker" section="custom"}: {$Bestellung->cLogistiker} <button onclick="window.open('{$Bestellung->cTrackingURL}')" class="submit" type="button">{lang key="shippingStatus" section="custom"}</button>{/if}</p>
Im
Shop-Admin zwei neue Sprachvars anlegen
Sektion custom
Variable: logistiker
Sprachwert: Logistikunternehmen
Sektion custom
Variable: shippingStatus
Sprachwert: Sendungsverfolgung anzeigen