---
title: "pfad zum template wird nicht gefunden (commerce)"
url: "https://www.typo3.net/d/90026-pfad-zum-template-wird-nicht-gefunden-commerce"
source: "typo3.net"
tags: ["Extensions","Frage","Templates & Layouts"]
created: "2009-05-27"
last_reply: "2009-05-28"
replies: 3
solved: false
page: 1
pages: 1
lang: "de"
---

# pfad zum template wird nicht gefunden (commerce)

Extensions · 3 Antworten · gestartet 2009-05-27

## Eröffnungsbeitrag

**mietzer** · 2009-05-27 · [Beitrag #1](https://www.typo3.net/d/90026-pfad-zum-template-wird-nicht-gefunden-commerce/1)

Hallo ihr Lieben!
Ich habe meinen ersten Shop aufgebaut und er funktioniert auch, leider kann ich ihn aber nicht formatieren, weil er den Pfad zum Template nicht findet.

Das steht im Setup

```typoscript
plugin.tx_commerce_pi3.adminmail.showCurrency = 1
plugin.tx_commerce_pi3.usermail.showCurrency = 1
plugin.tx_commerce_pi3.currency = EUR
plugin.tx_commerce_pi1.minRecords = 1
plugin.tx_commerce_pi1.maxRecords = 10
plugin.tx_commerce_pi3.createNewUsers = 0

plugin.tx_commerce_lib.invoicePageId = 25
plugin.tx_commerce_lib.invoicePid = 25

plugin.tx_commerce_pi1._LOCAL_LANG.de{
   pi_list_browseresults_first = erste
    pi_list_browseresults_prev = << vorige
    pi_list_browseresults_page = Seite
    pi_list_browseresults_next = nächste >>
    pi_list_browseresults_last = letzte
}

plugin.tx_commerce_pi1.singleView.products.fields.images.file.maxW = 400

plugin{
      tx_commerce_pi1{
      templateFile=fileadmin/TEMP/category_product_01.tmpl
      currency=EUR
}

tx_commerce_pi2{
       templateFile=fileadmin/TEMP/shoppingcart.tmpl
}

tx_commerce_pi3 {
templateFile=fileadmin/TEMP/template_checkout.tmpl   
    usermail {
        
        showCurrency = 1
        charset = iso-8859-1
        encoding = 8bit
        from = info@werbeagentur-enghardt.de
        
        from_name = Werbeagentur Dan Enghardt
        templateFile = {$plugin.tx_commerce_pi3.UserMailTemplateFile}
    }
    
    
    adminmail {
        showCurrency = 1
        charset = utf-8
        encoding = 8bit
        
        from = shop@werbeagentur-enghardt.de
        from_name = Bestellung
        mailto = info@werbeagentur-enghardt.de
        templateFile = {$plugin.tx_commerce_pi3.AdminMailTemplateFile}
    }
}
}
```

Das in den Constants

```typoscript
plugin.tx_commerce_lib.addressPid = 58
plugin.tx_commerce_lib.userPid = 58
plugin.tx_commerce_lib.editAddressPid = 54
plugin.tx_commerce_lib.basketPid = 52
plugin.tx_commerce_lib.overridePid = 19
plugin.tx_commerce_lib.checkoutPid = 53
plugin.tx_commerce_lib.emptyBasketPid = 56
plugin.tx_commerce_lib.emptyCheckoutPid = 57
plugin.tx_commerce_lib.paymentArticle = 2
plugin.tx_commerce_lib.paymentProduct = 1
plugin.tx_commerce_lib.deliveryProduct = 2
plugin.tx_commerce_lib.defaultCategory = 2
plugin.tx_commerce_lib.UserGroup = 58
plugin.tx_commerce_lib.articleTypes = 1
plugin.tx_commerce_lib.currency = EUR
plugin.tx_commerce_lib.catUid = 1



plugin.tx_commerce_p1.templateFile = fileadmin/TEMP/category_product_01.tmpl
plugin.tx_commerce_p2.templateFile = fileadmin/TEMP/shoppingcart.tmpl
plugin.tx_commerce_p3.AdminMailTemplateFile = fileadmin/TEMP/template_adminmail.tmpl
plugin.tx_commerce_p3.templateFile = fileadmin/TEMP/template_checkout.tmpl
plugin.tx_commerce_p3.UserMailTemplateFile = fileadmin/TEMP/template_usermail.tmpl
plugin.tx_commerce_p4.templateFile = fileadmin/TEMP/template_addresses.tmpl
plugin.tx_commerce_p5.templateFile = fileadmin/TEMP/
plugin.tx_commerce_p6.templateFile = fileadmin/TEMP/invoice.tmpl

styles.content.loginform.pid = 54
```

Der Name der Datei stimmt und Sie ist eingetragen unter fileadmin/TEMP/category_product_01.tmpl
Im Seiteninhalt der Seite "Shop" habe ich unter Template auch die richtige Datei angegeben, also **category_product_01.tmpl**

#angry# Ich weiß jetzt einfach nicht weiter!!!

Wenn ich die Original Template Datei direkt auf dem Server abändere, interessiert den das auch nicht...

## Antworten

### [#2](https://www.typo3.net/d/90026-pfad-zum-template-wird-nicht-gefunden-commerce/2) · mietzer · 2009-05-27

ich benutze typo3 4.2.5.
commerce 0.9.8.

### [#3](https://www.typo3.net/d/90026-pfad-zum-template-wird-nicht-gefunden-commerce/3) · 8x4 · 2009-05-27

hallo mietzer,
ich hab bei mir den pfad für alle commerce templates so gesetzt:
in den constants in deinem fall:
templatePathCommerce = fileadmin/TEMP/

und im setup dann jeweils z.b.:
plugin.tx_commerce_pi2{
	templateFile= {$templatePathCommerce}shoppingcart.tmpl
}

macht die sache übersichtlicher und einfacher anzupassen.

bist du sicher dass dein template die endung .tmpl hat? standardmässig haben sie .tpl

und es heisst tx_commerce_pi1, nicht tx_commerce_p1 (bei dir falsch in den constants).

grüsse
8x4

### [#4](https://www.typo3.net/d/90026-pfad-zum-template-wird-nicht-gefunden-commerce/4) · mietzer · 2009-05-28

**Also, das ist so was von geil!!!!!!!!!!!!**
Nach bestimmt 4 Wochen Suche, hab ichs jetzt endlich.

Den Fehler hab ich 1000 x überlesen, und nicht nur ich... :o
Es war tatsächlich "tx_commerce_p1".

8x4 du darfst dich ab jetzt 16x8 nennen :p  :D  :p  #giggle#

Das tpl habe ich nur in tmpl geändert, weil sich im Backend diese Endung sonst nicht öffnen und nicht bearbeiten lässt.

---

Quelle: „pfad zum template wird nicht gefunden (commerce)“, typo3.net, https://www.typo3.net/d/90026-pfad-zum-template-wird-nicht-gefunden-commerce
Beiträge von Mitgliedern des Forums. Bitte mit Link auf die Diskussion zitieren.
