# Wo kann ich Änderungen am Template durchführen

**URL:** https://forum.shopware.com/t/wo-kann-ich-anderungen-am-template-durchfuhren/40016
**Category:** Themes & Design
**Created:** [22. September 2016 um 08:11 UTC](https://forum.shopware.com/t/wo-kann-ich-anderungen-am-template-durchfuhren/40016 "2016-09-22T08:11:19Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![mabsite](https://avatars.discourse-cdn.com/v4/letter/m/f17d59/32.png) [@mabsite](https://forum.shopware.com/u/mabsite)
#### Post date: [22. September 2016 um 08:11 UTC](https://forum.shopware.com/t/wo-kann-ich-anderungen-am-template-durchfuhren/40016/1 "2016-09-22T08:11:19Z")

</div>

Hallo zusammen!

&nbsp;

Ich würde gerne manuell Änderungen am Standard-Template im Bereich (Warenkorb \> „Artikelnummer hinzufügen“ entfernen),&nbsp;durchführen.  
Da ich noch neu bei diesem Shopsystem bin hätte ich folgende Fragen:

&nbsp;

1. Ist es zu empfehlen Änderungen direkt im Standard-Template durchzuführen? Oder soll ich besser eine Kopie des Standard Templates anlegen und die Änderungen dort durchführen.

2. Wird das Standard-Template bei Updates wieder überschrieben?

3. Wo kann ich die Änderungen vornehmen? Im Backend oder direkt über FTP? Wo dort? Hab schon alles durchsucht… (Steh grad auf der Leitung 🙂 )

&nbsp;

Über Eure Unterstützung wäre ich sehr dankbar!

LG Marion

---

<div class="post-metadata">

### Author: ![EikeBrandtWarneke](https://avatars.discourse-cdn.com/v4/letter/e/cdc98d/32.png) [@EikeBrandtWarneke](https://forum.shopware.com/u/EikeBrandtWarneke)
#### Post date: [22. September 2016 um 08:16 UTC](https://forum.shopware.com/t/wo-kann-ich-anderungen-am-template-durchfuhren/40016/2 "2016-09-22T08:16:45Z")

</div>

Hier findest du ausführliche Dokumentationen:&nbsp;[Frontend Guides](https://developers.shopware.com/designers-guide/)

Viele Grüße

---

<div class="post-metadata">

### Author: ![sschreier](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/sschreier/32/23296_2.png) [@sschreier](https://forum.shopware.com/u/sschreier)
#### Post date: [22. September 2016 um 09:12 UTC](https://forum.shopware.com/t/wo-kann-ich-anderungen-am-template-durchfuhren/40016/3 "2016-09-22T09:12:44Z")

</div>

> [@mabsite schrieb:](https://forum.shopware.com/profile/24766/mabsite "mabsite")
> 
> Hallo zusammen!
> 
> &nbsp;
> 
> Ich würde gerne manuell Änderungen am Standard-Template im Bereich (Warenkorb \> „Artikelnummer hinzufügen“ entfernen),&nbsp;durchführen.  
> Da ich noch neu bei diesem Shopsystem bin hätte ich folgende Fragen:
> 
> &nbsp;
> 
> 1. Ist es zu empfehlen Änderungen direkt im Standard-Template durchzuführen? Oder soll ich besser eine Kopie des Standard Templates anlegen und die Änderungen dort durchführen.
> 
> 2. Wird das Standard-Template bei Updates wieder überschrieben?
> 
> 3. Wo kann ich die Änderungen vornehmen? Im Backend oder direkt über FTP? Wo dort? Hab schon alles durchsucht… (Steh grad auf der Leitung 🙂 )
> 
> &nbsp;
> 
> Über Eure Unterstützung wäre ich sehr dankbar!
> 
> LG Marion

Hallo,

zu 1: **Niemals im Bare- oder Responsive - Theme („Standard-Theme“) Änderungen vornehmen** sondern ein eigenes Theme erstellen, das vom Responsiven Theme von Shopware ableitet und dort die Änderungen vornehmen.

zu 2: Ja.

zu 3: Die Änderungen werden in den entsprechenden Template - Dateien vorgenommen, also ja, auf dem FTP sozusagen. Beispiel: [Example - Custom detail page](https://developers.shopware.com/designers-guide/custom-detail-page/#smarty-code-overview-custom%5C_deta) .

Beste Grüße

Sebastian

---

<div class="post-metadata">

### Author: ![mabsite](https://avatars.discourse-cdn.com/v4/letter/m/f17d59/32.png) [@mabsite](https://forum.shopware.com/u/mabsite)
#### Post date: [22. September 2016 um 10:31 UTC](https://forum.shopware.com/t/wo-kann-ich-anderungen-am-template-durchfuhren/40016/4 "2016-09-22T10:31:50Z")

</div>

so, jetzt wollte ich ein eigenes Template, abgeleitet vom Responisve erstellen, und habe folgende Fehlermeldung erhalten:

```
 exception 'PDOException' with message 'SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '24-mobileLogo' for key 'template\_id\_name'' in /hp/af/ac/kc/www/Shopware50/vendor/doctrine/dbal/lib/Doctrine/DBAL/Statement.php:165 Stack trace: #0 /hp/af/ac/kc/www/Shopware50/vendor/doctrine/dbal/lib/Doctrine/DBAL/Statement.php(165): PDOStatement-\>execute(NULL) #1 /hp/af/ac/kc/www/Shopware50/engine/Library/Doctrine/ORM/Persisters/Entity/BasicEntityPersister.php(281): Doctrine\DBAL\Statement-\>execute() #2 /hp/af/ac/kc/www/Shopware50/vendor/doctrine/orm/lib/Doctrine/ORM/UnitOfWork.php(1018): Doctrine\ORM\Persisters\Entity\BasicEntityPersister-\>executeInserts() #3 /hp/af/ac/kc/www/Shopware50/vendor/doctrine/orm/lib/Doctrine/ORM/UnitOfWork.php(378): Doctrine\ORM\UnitOfWork-\>executeInserts(Object(Doctrine\ORM\Mapping\ClassMetadata)) #4 /hp/af/ac/kc/www/Shopware50/vendor/doctrine/orm/lib/Doctrine/ORM/EntityManager.php(356): Doctrine\ORM\UnitOfWork-\>commit(NULL) #5 /hp/af/ac/kc/www/Shopware50/engine/Shopware/Components/Form/Persister/Theme.php(62): Doctrine\ORM\EntityManager-\>flush() #6 /hp/af/ac/kc/www/Shopware50/engine/Shopware/Components/Theme/Configurator.php(132): Shopware\Components\Form\Persister\Theme-\>save(Object(Shopware\Components\Form\Container\TabContainer), Object(Shopware\Models\Shop\Template)) #7 /hp/af/ac/kc/www/Shopware50/engine/Shopware/Components/Theme/Installer.php(154): Shopware\Components\Theme\Configurator-\>synchronize(Object(Shopware\Themes\Flockdruckstick\Theme)) #8 /hp/af/ac/kc/www/Shopware50/engine/Shopware/Components/Theme/Installer.php(116): Shopware\Components\Theme\Installer-\>synchronizeThemes() #9 /hp/af/ac/kc/www/Shopware50/engine/Shopware/Controllers/Backend/Theme.php(219): Shopware\Components\Theme\Installer-\>synchronize() #10 /hp/af/ac/kc/www/Shopware50/engine/Library/Enlight/Controller/Action.php(159): Shopware\_Controllers\_Backend\_Theme-\>listAction() #11 /hp/af/ac/kc/www/Shopware50/engine/Library/Enlight/Controller/Dispatcher/Default.php(523): Enlight\_Controller\_Action-\>dispatch('listAction') #12 /hp/af/ac/kc/www/Shopware50/engine/Library/Enlight/Controller/Front.php(223): Enlight\_Controller\_Dispatcher\_Default-\>dispatch(Object(Enlight\_Controller\_Request\_RequestHttp), Object(Enlight\_Controller\_Response\_ResponseHttp)) #13 /hp/af/ac/kc/www/Shopware50/engine/Shopware/Kernel.php(177): Enlight\_Controller\_Front-\>dispatch() #14 /hp/af/ac/kc/www/Shopware50/vendor/symfony/http-kernel/HttpCache/HttpCache.php(487): Shopware\Kernel-\>handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) #15 /hp/af/ac/kc/www/Shopware50/engine/Shopware/Components/HttpCache/AppCache.php(255): Symfony\Component\HttpKernel\HttpCache\HttpCache-\>forward(Object(Symfony\Component\HttpFoundation\Request), true, NULL) #16 /hp/af/ac/kc/www/Shopware50/vendor/symfony/http-kernel/HttpCache/HttpCache.php(258): Shopware\Components\HttpCache\AppCache-\>forward(Object(Symfony\Component\HttpFoundation\Request), true) #17 /hp/af/ac/kc/www/Shopware50/engine/Shopware/Components/HttpCache/AppCache.php(103): Symfony\Component\HttpKernel\HttpCache\HttpCache-\>pass(Object(Symfony\Component\HttpFoundation\Request), true) #18 /hp/af/ac/kc/www/Shopware50/shopware.php(113): Shopware\Components\HttpCache\AppCache-\>handle(Object(Symfony\Component\HttpFoundation\Request)) #19 {main} Next exception 'Doctrine\DBAL\DBALException' with message 'An exception occurred while executing 'INSERT INTO s\_core\_templates\_config\_elements (template\_id, type, name, position, default\_value, selection, field\_label, support\_text, allow\_blank, less\_compatible, attributes, container\_id) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)' with params [24, "theme-media-selection", "mobileLogo", 0, "s:47:\"frontend\/\_public\/src\/img\/logos\/logo--mobile.png\";", "N;", "\_\_smartphone\_\_", null, 1, 0, "a:1:{s:14:\"lessCompatible\";b:0;}", 67]: SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '24-mobileLogo' for key 'template\_id\_name'' in /hp/af/ac/kc/www/Shopware50/vendor/doctrine/dbal/lib/Doctrine/DBAL/DBALException.php:119 Stack trace: #0 /hp/af/ac/kc/www/Shopware50/vendor/doctrine/dbal/lib/Doctrine/DBAL/Statement.php(175): Doctrine\DBAL\DBALException::driverExceptionDuringQuery(Object(Doctrine\DBAL\Driver\PDOMySql\Driver), Object(PDOException), 'INSERT INTO s\_c...', Array) #1 /hp/af/ac/kc/www/Shopware50/engine/Library/Doctrine/ORM/Persisters/Entity/BasicEntityPersister.php(281): Doctrine\DBAL\Statement-\>execute() #2 /hp/af/ac/kc/www/Shopware50/vendor/doctrine/orm/lib/Doctrine/ORM/UnitOfWork.php(1018): Doctrine\ORM\Persisters\Entity\BasicEntityPersister-\>executeInserts() #3 /hp/af/ac/kc/www/Shopware50/vendor/doctrine/orm/lib/Doctrine/ORM/UnitOfWork.php(378): Doctrine\ORM\UnitOfWork-\>executeInserts(Object(Doctrine\ORM\Mapping\ClassMetadata)) #4 /hp/af/ac/kc/www/Shopware50/vendor/doctrine/orm/lib/Doctrine/ORM/EntityManager.php(356): Doctrine\ORM\UnitOfWork-\>commit(NULL) #5 /hp/af/ac/kc/www/Shopware50/engine/Shopware/Components/Form/Persister/Theme.php(62): Doctrine\ORM\EntityManager-\>flush() #6 /hp/af/ac/kc/www/Shopware50/engine/Shopware/Components/Theme/Configurator.php(132): Shopware\Components\Form\Persister\Theme-\>save(Object(Shopware\Components\Form\Container\TabContainer), Object(Shopware\Models\Shop\Template)) #7 /hp/af/ac/kc/www/Shopware50/engine/Shopware/Components/Theme/Installer.php(154): Shopware\Components\Theme\Configurator-\>synchronize(Object(Shopware\Themes\Flockdruckstick\Theme)) #8 /hp/af/ac/kc/www/Shopware50/engine/Shopware/Components/Theme/Installer.php(116): Shopware\Components\Theme\Installer-\>synchronizeThemes() #9 /hp/af/ac/kc/www/Shopware50/engine/Shopware/Controllers/Backend/Theme.php(219): Shopware\Components\Theme\Installer-\>synchronize() #10 /hp/af/ac/kc/www/Shopware50/engine/Library/Enlight/Controller/Action.php(159): Shopware\_Controllers\_Backend\_Theme-\>listAction() #11 /hp/af/ac/kc/www/Shopware50/engine/Library/Enlight/Controller/Dispatcher/Default.php(523): Enlight\_Controller\_Action-\>dispatch('listAction') #12 /hp/af/ac/kc/www/Shopware50/engine/Library/Enlight/Controller/Front.php(223): Enlight\_Controller\_Dispatcher\_Default-\>dispatch(Object(Enlight\_Controller\_Request\_RequestHttp), Object(Enlight\_Controller\_Response\_ResponseHttp)) #13 /hp/af/ac/kc/www/Shopware50/engine/Shopware/Kernel.php(177): Enlight\_Controller\_Front-\>dispatch() #14 /hp/af/ac/kc/www/Shopware50/vendor/symfony/http-kernel/HttpCache/HttpCache.php(487): Shopware\Kernel-\>handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) #15 /hp/af/ac/kc/www/Shopware50/engine/Shopware/Components/HttpCache/AppCache.php(255): Symfony\Component\HttpKernel\HttpCache\HttpCache-\>forward(Object(Symfony\Component\HttpFoundation\Request), true, NULL) #16 /hp/af/ac/kc/www/Shopware50/vendor/symfony/http-kernel/HttpCache/HttpCache.php(258): Shopware\Components\HttpCache\AppCache-\>forward(Object(Symfony\Component\HttpFoundation\Request), true) #17 /hp/af/ac/kc/www/Shopware50/engine/Shopware/Components/HttpCache/AppCache.php(103): Symfony\Component\HttpKernel\HttpCache\HttpCache-\>pass(Object(Symfony\Component\HttpFoundation\Request), true) #18 /hp/af/ac/kc/www/Shopware50/shopware.php(113): Shopware\Components\HttpCache\AppCache-\>handle(Object(Symfony\Component\HttpFoundation\Request)) #19 {main}

```

&nbsp;

Was habe ich falsch gemacht?&nbsp; ![Crying](https://forum.shopware.com/plugins/CKEditor/plugins/smiley/images/crying.png "Crying")
