# &quot;zzgl. Versandkosten&quot; (Textbaustein nicht aufindbar)

**URL:** <https://forum.shopware.com/t/quot-zzgl-versandkosten-quot-textbaustein-nicht-aufindbar/1989>\
**Category:** Shopware 3.5\
**Tags:** installation--gettin\
**Created:** [28. Februar 2011 um 00:32 UTC](https://forum.shopware.com/t/quot-zzgl-versandkosten-quot-textbaustein-nicht-aufindbar/1989 "2011-02-28T00:32:39Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![TMAK3R](https://avatars.discourse-cdn.com/v4/letter/t/b487fb/32.png) [@TMAK3R](https://forum.shopware.com/u/TMAK3R)\
**Post date:** [28. Februar 2011 um 00:32 UTC](https://forum.shopware.com/t/quot-zzgl-versandkosten-quot-textbaustein-nicht-aufindbar/1989/1 "2011-02-28T00:32:39Z")

</div>

Hallo, ich möchte den Textbaustein: “zzgl. Versandkosten” zu inkl. Versandkosten umwandeln. Ich habe alle Textbausteine durchsucht doch kein passenden gefunden. Muss ich den Teil direkt in einer Datei ändern und wenn ja in welcher?? Bin jetzt schon 1,5 Stunden am suchen, hab einiges geändert jedoch wurde die Änderung nie dor angewendet wo ich es haben wollte… Wo muss ich es ändern? 🙂 cheers

---

<div class="post-metadata">

**Author:** ![artep](https://avatars.discourse-cdn.com/v4/letter/a/aca169/32.png) [@artep](https://forum.shopware.com/u/artep)\
**Post date:** [28. Februar 2011 um 01:01 UTC](https://forum.shopware.com/t/quot-zzgl-versandkosten-quot-textbaustein-nicht-aufindbar/1989/2 "2011-02-28T01:01:51Z")

</div>

Gib mal im Textbaustein in das Suchfeld zzgl ein.

---

<div class="post-metadata">

**Author:** ![TMAK3R](https://avatars.discourse-cdn.com/v4/letter/t/b487fb/32.png) [@TMAK3R](https://forum.shopware.com/u/TMAK3R)\
**Post date:** [28. Februar 2011 um 21:53 UTC](https://forum.shopware.com/t/quot-zzgl-versandkosten-quot-textbaustein-nicht-aufindbar/1989/3 "2011-02-28T21:53:56Z")

</div>

So hab die Stelle endlich gefunden in „inkl.“ abgeändert und BÄAAÄM : [code]Syntax Error in template „/www/htdocs/w00d9b6a/templates/\_default/frontend/detail/data.tpl“ on line 89 " {snippet name=„DetailDataPriceInfo“ namespace=‚frontend/detail/data‘}Preise {if $this-\>config(‚sARTICLESOUTPUTNETTO‘) == true}zzgl.{else}inkl.{/if} gesetzlicher MwSt. zzgl. Versandkosten{/snippet} " - Unexpected „“, expected one of: „)“ in Vendor/Smarty/libs/sysplugins/smarty\_internal\_templatecompilerbase.php on line 404 Stack trace: #0 Vendor/Smarty/libs/sysplugins/smarty\_internal\_templateparser.php(2699): Smarty\_Internal\_TemplateCompilerBase-\>trigger\_template\_error() #1 Vendor/Smarty/libs/sysplugins/smarty\_internal\_templateparser.php(2764): Smarty\_Internal\_Templateparser-\>yy\_syntax\_error(10, ‚‘) #2 Vendor/Smarty/libs/sysplugins/smarty\_internal\_smartytemplatecompiler.php(51): Smarty\_Internal\_Templateparser-\>doParse(10, ‚‘) #3 Vendor/Smarty/libs/sysplugins/smarty\_internal\_templatecompilerbase.php(83): Smarty\_Internal\_SmartyTemplateCompiler-\>doCompile(’{block name="fr…’) #4 Vendor/Smarty/libs/sysplugins/smarty\_internal\_template.php(271): Smarty\_Internal\_TemplateCompilerBase-\>compileTemplate(Object(Enlight\_Template\_Template)) #5 Vendor/Smarty/libs/sysplugins/smarty\_internal\_template.php(233): Smarty\_Internal\_Template-\>compileTemplateSource() #6 Vendor/Smarty/libs/sysplugins/smarty\_internal\_compile\_include.php(51): Smarty\_Internal\_Template-\>getCompiledTemplate() #7 Vendor/Smarty/libs/sysplugins/smarty\_internal\_templatecompilerbase.php(252): Smarty\_Internal\_Compile\_Include-\>compile(Array, Object(Smarty\_Internal\_SmartyTemplateCompiler), NULL, NULL, NULL) #8 Vendor/Smarty/libs/sysplugins/smarty\_internal\_templatecompilerbase.php(114): Smarty\_Internal\_TemplateCompilerBase-\>callTagCompiler(‚include‘, Array) #9 Vendor/Smarty/libs/sysplugins/smarty\_internal\_templateparser.php(2221): Smarty\_Internal\_TemplateCompilerBase-\>compileTag(‚include‘, Array) #10 Vendor/Smarty/libs/sysplugins/smarty\_internal\_templateparser.php(2656): Smarty\_Internal\_Templateparser-\>yy\_r38() #11 Vendor/Smarty/libs/sysplugins/smarty\_internal\_templateparser.php(2756): Smarty\_Internal\_Templateparser-\>yy\_reduce(38) #12 Vendor/Smarty/libs/sysplugins/smarty\_internal\_smartytemplatecompiler.php(51): Smarty\_Internal\_Templateparser-\>doParse(11, '??? ‚) #13 Vendor/Smarty/libs/sysplugins/smarty\_internal\_templatecompilerbase.php(83): Smarty\_Internal\_SmartyTemplateCompiler-\>doCompile(‘??

---

<div class="post-metadata">

**Author:** ![SebastianKloepper](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/sebastiankloepper/32/21435_2.png) [@SebastianKloepper](https://forum.shopware.com/u/SebastianKloepper)\
**Post date:** [28. Februar 2011 um 22:13 UTC](https://forum.shopware.com/t/quot-zzgl-versandkosten-quot-textbaustein-nicht-aufindbar/1989/4 "2011-02-28T22:13:59Z")

</div>

Ui ui, da passen deine Servervoraussetzungen gar nicht!!! Da musst du dich mal schnell an den Provider/Hoster wenden bevor du noch mehrere Inhalt ggf. durch Speichern zerstörst. Da wird jetzt vermutlich vor jedem Anführungszeichen ein Backslash erscheinen. Bei jedem Speichern werd es einer mehr. Das heißt, dass auf dem Server die Einstellung Magic\_quotes\_gpc aktiv ist. Das muss unbedingt deaktiviert werden. Das ist für den Einsatz von Shopware eine zwingende Voraussetzung. Wenn das umgestellt wurde, musst du den Baustein wieder öffnen und die Backslashes entfernen. Dann klappt alles wieder Sebastian

---

<div class="post-metadata">

**Author:** ![TMAK3R](https://avatars.discourse-cdn.com/v4/letter/t/b487fb/32.png) [@TMAK3R](https://forum.shopware.com/u/TMAK3R)\
**Post date:** [28. Februar 2011 um 22:45 UTC](https://forum.shopware.com/t/quot-zzgl-versandkosten-quot-textbaustein-nicht-aufindbar/1989/5 "2011-02-28T22:45:16Z")

</div>

Hi Sebastian, hab bei dem all-inkl. Support angerufen und die haben mir gesagt ich solle die htaccess wie folgt ändern: [code]  
RewriteEngine on

#RewriteBase /shopware/

RewriteRule shopware.dll shopware.php  
RewriteRule files/documents/.\* engine [NC,L]  
RewriteRule application.yaml engine [NC,L]  
RewriteRule images/ayww/(.\*) images/banner/1 RewriteRule sitemap.xml(.\*) shopware.php?controller=SitemapXml RewriteRule templates/.\*(css|js) engine/backend/php/sCacheTemplate.php?file=0 [NC,L] RewriteRule engine/core/php/sAjaxSearch.php engine/backend/php/sAjaxSearch.php [NC,L]  
RewriteRule engine/core/php/campaigns.php$ engine/backend/php/campaigns.php [NC,L]

RewriteCond %{REQUEST\_URI} !(engine/|images/|files/|templates/|.js$|.css$|.jpg$|.png$)  
RewriteCond %{REQUEST\_FILENAME} !-f  
RewriteCond %{REQUEST\_FILENAME} !-d  
RewriteRule ^(.\*)$ shopware.php [PT,L,QSA]  
DirectoryIndex index.php DirectoryIndex shopware.php  
Deny from all  
Options -Indexes # Options -MultiViews # php\_value memory\_limit 128M # php\_value max\_execution\_time 18000 php\_flag magic\_quotes\_gpc off # php\_flag session.auto\_start off # php\_flag suhosin.session.cryptua off # php\_flag zend.ze1\_compatibility\_mode Off # AddType x-mapp-php5 .php # AddHandler x-mapp-php5 .php[/code] Habe im Prinzip nur die Raute vor " php\_flag magic\_quotes\_gpc off" weggenommen. Ist das so richtig? Das Problem besteht weiterhin. Und im Textbaustein sind keine zusätzlichen Slash’s: `Preise {if $this-\>config('sARTICLESOUTPUTNETTO') == true}zzgl.{else}inkl.{/if} gesetzlicher MwSt. [zzgl. Versandkosten]({url controller=custom sCustom=6} "Versandkosten")` MFG

---

<div class="post-metadata">

**Author:** ![SebastianKloepper](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/sebastiankloepper/32/21435_2.png) [@SebastianKloepper](https://forum.shopware.com/u/SebastianKloepper)\
**Post date:** [28. Februar 2011 um 22:53 UTC](https://forum.shopware.com/t/quot-zzgl-versandkosten-quot-textbaustein-nicht-aufindbar/1989/6 "2011-02-28T22:53:58Z")

</div>

Ja, sollte reichen. Passt die Systeminfo sonst? Ist das Problem beim Speichern denn weg? Hast du den Textbaustein Cache geleert? Welche Meldung kommt denn jetzt? 🕶

---

<div class="post-metadata">

**Author:** ![TMAK3R](https://avatars.discourse-cdn.com/v4/letter/t/b487fb/32.png) [@TMAK3R](https://forum.shopware.com/u/TMAK3R)\
**Post date:** [28. Februar 2011 um 23:19 UTC](https://forum.shopware.com/t/quot-zzgl-versandkosten-quot-textbaustein-nicht-aufindbar/1989/7 "2011-02-28T23:19:46Z")

</div>

Moin, ja der Shopchache is leer 😉 Es kommt der gleiche Fehler wie vorher. 🙂 Scheiße ey, hätt ich bloß den Textbaustein nicht verändert. Seit dem besteht das Prolem ja erst 🙂 Vorher hat das mit aktiviertem magic\_quotes auch funktioniert. 1000 mal berührt beim 1001 mal hats boom gemacht 😉 Hast du sonst noch ne Idee? Wenn du lust, ich kann dir meine Serverdaten auch gerne anvertrauen. MFG

---

<div class="post-metadata">

**Author:** ![SebastianKloepper](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/sebastiankloepper/32/21435_2.png) [@SebastianKloepper](https://forum.shopware.com/u/SebastianKloepper)\
**Post date:** [28. Februar 2011 um 23:28 UTC](https://forum.shopware.com/t/quot-zzgl-versandkosten-quot-textbaustein-nicht-aufindbar/1989/8 "2011-02-28T23:28:29Z")

</div>

Vermute mal, da ist noch etwas mehr an den Bausteinen defekt. Kann ich abervwohl mal drauf gucken. Bin im Moment nur nicht am PC. Würde da wohl erst morgen früh zu kommen. Du kannst mir die Daten aber sonst mal per PN zukommen lassen. URL und Backendlogin sollten reichen, denke ich.

---

<div class="post-metadata">

**Author:** ![TMAK3R](https://avatars.discourse-cdn.com/v4/letter/t/b487fb/32.png) [@TMAK3R](https://forum.shopware.com/u/TMAK3R)\
**Post date:** [28. Februar 2011 um 23:37 UTC](https://forum.shopware.com/t/quot-zzgl-versandkosten-quot-textbaustein-nicht-aufindbar/1989/9 "2011-02-28T23:37:41Z")

</div>

Ja das wäre super! :thumbup: Hab dir mal ne PN geschickt. Zur Not muss ich reinstallen bin ja selbst Schuld, hab sogar den Hinweiß bekommen das ich magic\_quotes ausschalten soll, dachte aber funktioniert ja und habs so gelassen. ;-( Danke für deine Hilfe.

---

<div class="post-metadata">

**Author:** ![SebastianKloepper](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/sebastiankloepper/32/21435_2.png) [@SebastianKloepper](https://forum.shopware.com/u/SebastianKloepper)\
**Post date:** [1. März 2011 um 09:03 UTC](https://forum.shopware.com/t/quot-zzgl-versandkosten-quot-textbaustein-nicht-aufindbar/1989/10 "2011-03-01T09:03:13Z")

</div>

Hi, klappt wieder. Der Baustein “DetailDataPriceInfo” war im System 2x aktiv. Einer hatte noch Backslashes. Nach Bereinigung und leeren des Textbaustein-Caches klappte es sofort wieder. Jetzt passen deine Systemvoraussetzungen ja und dieses Problem kann nicht mehr auftreten. Sebastian
