Sie sind hier: / Tipps und Tricks
Beschreibung 4 / 13
Details
Wird als Beispiel "http" bzw. "https" verwendet. wird auch nur explizit
diese im Shop registrierte Adresse verwendet. Steht hingegen "http(s)",
schaltet der Shop die Variable je nach Shopzustand selbst.
oft verwendete Smarty-Variablen
| Variable |
Beispiel | Sonstiges |
| $shop->sid |
d3377e513705b17d12c22828b10503a6 |
|
| $shop->hiddensid |
<input type="hidden" name="sid" value="d3377e513705b17d12c22828b10503a6" /> | |
| $shop->selflink |
http://www.myDomain.de/index.php?sid=d3377e513705b17d12c22828b10503a6& | ebenfalls im Admin einsetzbar |
| $shop->sslselflink | https://www.myDomain.de/index.php?sid=d3377e513705b17d12c22828b10503a6& | |
| $shop->basedir |
http://www.myDomain.de/ |
|
| $shop->selfactionlink |
http(s)://www.myDomain.de/index.php?sid=d3377e513705b17d12c22828b10503a6& | als Target in Formularen zu verwenden |
| $shop->currenthomedir |
http://www.myDomain.de/ |
|
| $shop->basketlink |
http://www.myDomain.de/index.php?sid=d3377e513705b17d12c22828b10503a6&cl=basket | |
| $shop->orderlink |
http(s)://www.myDomain.de/index.php?sid=d3377e513705b17d12c22828b10503a6&cl=user | |
| $shop->paymentlink | http(s)://www.myDomain.de/index.php?sid=d3377e513705b17d12c22828b10503a6&cl=payment | |
| $shop->exeorderlink | http(s)://www.myDomain.de/index.php?sid=d3377e513705b17d12c22828b10503a6&cl=order&fnc=execute | |
| $shop->orderconfirmlink | http(s)://www.myDomain.de/index.php?sid=d3377e513705b17d12c22828b10503a6&cl=order | |
| $shop->basetpldir |
http://www.myDomain.de/out/oxbaseshop/html/ | ebenfalls im Admin einsetzbar |
| $shop->templatedir |
/out/oxbaseshop/html/0/templates | ebenfalls im Admin einsetzbar |
| $shop->urltemplatedir |
http://www.myDomain.de/out/oxbaseshop/html/0/templates | ebenfalls im Admin einsetzbar |
| $shop->imagedir |
http(s)://www.myDomain.de/out/oxbaseshop/html/0/images | ebenfalls im Admin einsetzbar |
| $shop->nosslimagedir |
http://www.myDomain.de/out/oxbaseshop/html/0/images | ebenfalls im Admin einsetzbar |
| $shop->dimagedir |
http(s)://www.myDomain.de/out/oxbaseshop/html/0/dyn_images | |
| $shop->admindir |
admin |
URL-Erweiterung für Adminbereich, nur im Admin verfügbar |
| $shop->isSSL |
true oder false | Prüfung auf SSL-Mode |
| $shop->IP |
217.237.149.225 |
|
| $shop->blUseStock |
true oder false |
Prüfung, ob Lager genutzt wird |
| $shop->cl |
user |
aktuell genutzte Klasse |
| $shop->tpl |
impressum.tpl |
aktuell genutztes Template |
| $shop->lang |
0 |
aktuelle Sprache |
| $shop->helplink |
http://www.myDomain.de/index.php?sid=d3377e513705b17d12c22828b10503a6&cl=help&page=user&tpl= | |
| $shop->logoutlink |
http(s)://www.myDomain.de/index.php?sid=d3377e513705b17d12c22828b10503a6&cl=user&cnid=&fnc=logout&tpl=&redirect=1 |
Beschreibung 4 / 13