---
title: "Commerce Ext. - Artikel Attribute werden nicht angezeigt"
url: "https://www.typo3.net/d/70378-commerce-ext-artikel-attribute-werden-nicht-angezeigt"
source: "typo3.net"
tags: ["Extensions","Frage"]
created: "2007-11-12"
last_reply: "2007-12-23"
replies: 9
solved: false
page: 1
pages: 1
lang: "de"
---

# Commerce Ext. - Artikel Attribute werden nicht angezeigt

Extensions · 9 Antworten · gestartet 2007-11-12

## Eröffnungsbeitrag

**-Z-** · 2007-11-12 · [Beitrag #1](https://www.typo3.net/d/70378-commerce-ext-artikel-attribute-werden-nicht-angezeigt/1)

hi,
ich bekomme im tx_commerce shop keine artikel/produkt- attribute angezeigt.
weder im singleview noch in der produktliste.

ich habe zum test jeweils beide marker eingefügt:
###SUBPART_ARTICLE_ATTRIBUTES###
###SUBPART_PRODUCT_ATTRIBUTES###

komisch nur, dass in der produktliste der marker article-marker duch nichts ersetzt wird um im singleview umgedreht.
!! jedoch nirgendsüberhaupt ein attribut!

zum Verständnis das Browseroutput:

Produktliste
hier kommt der Article-Att.-Marker:
hier kommt der Produkt-Att.-Marker: ###SUBPART_PRODUCT_ATTRIBUTES###

Singleview
hier kommt der Article-Att.-Marker: ###SUBPART_ARTICLE_ATTRIBUTES###
hier kommt der Produkt-Att.-Marker:

---
mein TS

const:

```typoscript
#Was ist wo
plugin.tx_commerce_lib.addressPid = 34
plugin.tx_commerce_lib.userPid = 35
plugin.tx_commerce_lib.editAddressPid = 39
plugin.tx_commerce_lib.basketPid = 41
plugin.tx_commerce_lib.overridePid = 33
plugin.tx_commerce_lib.checkoutPid = 40
plugin.tx_commerce_lib.emptyBasketPid = 37
plugin.tx_commerce_lib.emptyCheckoutPid = 36

#Standard-Zahlweise (Vorbelegung im Listenfeld)
plugin.tx_commerce_lib.paymentArticleId = 49
plugin.tx_commerce_lib.payProdId = 1
plugin.tx_commerce_lib.delProdId = 2
plugin.tx_commerce_lib.catUid = 2
plugin.tx_commerce_lib.userGroup = 1

plugin.tx_commerce_lib.useRootlineInformationToUrl = 1
plugin.tx_commerce_lib.currency = EUR
plugin.tx_commerce_lib.currencyId = 49
plugin.tx_commerce_lib.regularArticleTypes = 1
plugin.tx_commerce_lib.showErrors = 1
plugin.tx_commerce_lib.defEmailSendername = 
plugin.tx_commerce_lib.defEmailAdress = 
plugin.tx_commerce_lib.useStockHandling = 0

plugin.tx_commerce_pi1.attributeLinebreakChars =
```

Setup:

```typoscript
#Templates
plugin.tx_commerce_pi1.templateFile = fileadmin/shop/katalog.htm
plugin.tx_commerce_pi2.templateFile = fileadmin/shop/warenkorb.htm
#plugin.tx_commerce_pi4.templateFile = fileadmin/shop/adressen.htm
#plugin.tx_commerce_pi3.templateFile = fileadmin/shop/kasse.htm
plugin.tx_commerce_pi6.templateFile = fileadmin/shop/rechnung.htm
plugin.tx_commerce_pi3.AdminMailTemplateFile = fileadmin/shop/adminmail.htm
plugin.tx_commerce_pi3.UserMailTemplateFile = fileadmin/shop/usermail.htm
plugin.tx_commerce_lib.useStockHandling = 0

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_lib.invoicePageId = 9
#plugin.tx_commerce_lib.invoicePid = 9

plugin.tx_commerce_pi3 {
    #Benutzer Email - bekommt der Shopkunde nach einer Bestellung
    usermail {
            #charset = utf-8
            showCurrency = 0
            charset = iso-8859-1
            encoding = 8bit
            from = 
            
            #Do not user non Asci-Chars here, as not supported by MAIL
            from_name = 
            templateFile = {$plugin.tx_commerce_pi3.UserMailTemplateFile}
            }
            
    #Admin Email - bekommt der Admin nach einer Shopbestellung
    adminmail {
            showCurrency = 0
            charset = utf-8
            encoding = 8bit
            
            #Only used, when no userMail is given thou the checkout
            from = 
            from_name = Bestellung
            mailto = 
            templateFile = {$plugin.tx_commerce_pi3.AdminMailTemplateFile}
            }
    }

#setzt die Artikelanzahl im Shop auf Eins
page.10.marks.QTY_INPUT_VALUE = TEXT
page.10.marks.QTY_INPUT_VALUE {
                value = 1
                }
                
#Bilderbreite im Shop für Layout                
plugin.tx_commerce_pi1.singleView.categories.fields.images.file.maxW = 540
plugin.tx_commerce_pi1.singleView.products.fields.images.file.maxW = 100
```

## Antworten

### [#2](https://www.typo3.net/d/70378-commerce-ext-artikel-attribute-werden-nicht-angezeigt/2) · -Z- · 2007-11-15

habe ich mich zu dumm aus gedrückt?
ist das problem entweder zu schwer oder liegt die lösung auf der hand?

danke

### [#3](https://www.typo3.net/d/70378-commerce-ext-artikel-attribute-werden-nicht-angezeigt/3) · saschae · 2007-11-19

es wäre bestimmt hilfreich wenn du mal dein komplettes template posten könntest. es sieht so aus als ob die die subpart marker benutzt und da eine ausgabe haben möchtest was natürlich nicht funktioniert

### [#4](https://www.typo3.net/d/70378-commerce-ext-artikel-attribute-werden-nicht-angezeigt/4) · -Z- · 2007-11-20

allgemein gesehen, mit welchem marker kann ich produkt/bzw. artikelattribute anzeigen (und wo nur ist das möglich), ohne harte umprogrammierung, vorerst?

### [#5](https://www.typo3.net/d/70378-commerce-ext-artikel-attribute-werden-nicht-angezeigt/5) · saschae · 2007-11-21

also die marker sind wohl doch richtig. guck dir doch einfach mal das originale template an. den marker ###SUBPART_PRODUCT_ATTRIBUTES### musst du z.b. innerhalb des <!-- ###PRODUCT_VIEW_DETAIL### --> subparts benutzen und die ###ARTICLE_SELECT_ATTRIBUTES### und ###SUBPART_ARTICLE_ATTRIBUTES### innerhalb des <!-- ###ARTICLE_VIEW### --> subparts

### [#6](https://www.typo3.net/d/70378-commerce-ext-artikel-attribute-werden-nicht-angezeigt/6) · -Z- · 2007-11-22

danke,
aber genau so habe ich es im template.
nur dass die marker keine werte ausgeben (werden durch "nichts" ersetzt.).

komisch

### [#7](https://www.typo3.net/d/70378-commerce-ext-artikel-attribute-werden-nicht-angezeigt/7) · -Z- · 2007-12-06

class.tx_commerce_pi1.php

```php
$attributeArray = $prod->get_Atrribute_Matrix(array($prod->articles_uids[0]),$this->select_attributes,$showHiddenValues);
```

wird nicht befuellt. also EMPTY!

die marker

```html
SUBPART_ARTICLE_ATTRIBUTES	
ARTICLE_SELECT_ATTRIBUTES
```

sind im

```php
$markerArray
```

leer!

kann jmd helfen. ich muss die attribute etc. in der productliste ausgeben.

hier mein ausschnitt aus dem pi1 template

```html
<!-- ###PRODUCT_BASKET_FOR_LISTVIEW###-->
	<!--umschließt Artikelitems in der Produktliste-->
			<!-- ###ARTICLE_VIEW### -->
			###STARTFRM###        
		    ###HIDDENFIELDS###
				<input type="hidden" name="###QTY_INPUT_NAME###" value="###QTY_INPUT_VALUE###" />
				<span>###ARTICLE_PRICE_GROSS###</span>
				<div>###ARTICLE_SELECT_ATTRIBUTES###</div>
				<span><input type="submit" value="weiter" /></span>
			</form>
			<!-- ###ARTICLE_VIEW### -->
			<!-- ###ARTICLE_VIEW_NOSTOCK### -->
			<!-- ###ARTICLE_VIEW_NOSTOCK### -->
	<!-- ###PRODUCT_BASKET_FOR_LISTVIEW### -->
```

### [#8](https://www.typo3.net/d/70378-commerce-ext-artikel-attribute-werden-nicht-angezeigt/8) · daluga · 2007-12-07

Hallo -Z-!

Wieviele Artikel hat ein Produkt?
Bei mir ist das so, wenn ich nur einen Artikel habe, so muss ich beim Produkt im Reiter "Atribute auswählen" das gewünschte Atribut in das Feld "Auswahl" geben, wenn ich mehrere Artikel habe so muss ich das Feld "Sollte" verwenden.

Die Marker: ###ARTICLE_SELECT_ATTRIBUTES### ###SUBPART_ARTICLE_ATTRIBUTES###

Also genau so wie bei Dir.

Vieleicht hilft es!

LG
daluga

### [#9](https://www.typo3.net/d/70378-commerce-ext-artikel-attribute-werden-nicht-angezeigt/9) · -Z- · 2007-12-10

leider hilft das auch nicht, weil es bereits so eingestellt ist.

Alle Produkte haben nur einen Artikel, ist aber in dem Fall auch egal.

### [#10](https://www.typo3.net/d/70378-commerce-ext-artikel-attribute-werden-nicht-angezeigt/10) · rmieres · 2007-12-23

HI

das problem  habe ich gefunden, in der Zeile 593 in pi1  commerce version 0.9.3.
steht die marke fur select att leer
$markerArray['ARTICLE_SELECT_ATTRIBUTES'] = '';

das solltet so sein.

$markerArray['ARTICLE_SELECT_ATTRIBUTES'] = $attCode;

MFG

Ricardo

---

Quelle: „Commerce Ext. - Artikel Attribute werden nicht angezeigt“, typo3.net, https://www.typo3.net/d/70378-commerce-ext-artikel-attribute-werden-nicht-angezeigt
Beiträge von Mitgliedern des Forums. Bitte mit Link auf die Diskussion zitieren.
