# Variable Kategorie Topseller

**URL:** https://forum.shopware.com/t/variable-kategorie-topseller/58721
**Category:** Sonstiges
**Created:** [22. März 2019 um 11:52 UTC](https://forum.shopware.com/t/variable-kategorie-topseller/58721 "2019-03-22T11:52:48Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![werkzeugdiscount24](https://avatars.discourse-cdn.com/v4/letter/w/4da419/32.png) [@werkzeugdiscount24](https://forum.shopware.com/u/werkzeugdiscount24)
#### Post date: [22. März 2019 um 11:52 UTC](https://forum.shopware.com/t/variable-kategorie-topseller/58721/1 "2019-03-22T11:52:48Z")

</div>

Hallo,

gibt es irgendwo einen guide wie man an die Smartyvariablen in der Categorie ran kommt. Benötige eine Variable mit der ich in den Kategorieen an die Artikelnummern heran komme.

Infos wo ich das nachlesen kann oder wie ich an die arrays komme wären sehr hilfreich.

---

<div class="post-metadata">

### Author: ![R4M](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/r4m/32/9983_2.png) [@R4M](https://forum.shopware.com/u/R4M)
#### Post date: [22. März 2019 um 12:15 UTC](https://forum.shopware.com/t/variable-kategorie-topseller/58721/2 "2019-03-22T12:15:08Z")

</div>

Du meinst beim Listing? Vielleicht mal in die box-basic.tpl schauen.

---

<div class="post-metadata">

### Author: ![werkzeugdiscount24](https://avatars.discourse-cdn.com/v4/letter/w/4da419/32.png) [@werkzeugdiscount24](https://forum.shopware.com/u/werkzeugdiscount24)
#### Post date: [22. März 2019 um 12:34 UTC](https://forum.shopware.com/t/variable-kategorie-topseller/58721/3 "2019-03-22T12:34:46Z")

</div>

Jap genau beim Listing und dort brauche ich eine Variable die mir die Artikelnummern der Top produkte übergibt. In den Templatedateien bin ich noch nicht fündig geworden. Da ich aber auch noch nicht solange mit Shopware vertraut bin ist alles noch etwas unübersichtlich für mich.

---

<div class="post-metadata">

### Author: ![R4M](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/r4m/32/9983_2.png) [@R4M](https://forum.shopware.com/u/R4M)
#### Post date: [22. März 2019 um 12:47 UTC](https://forum.shopware.com/t/variable-kategorie-topseller/58721/4 "2019-03-22T12:47:24Z")

</div>

Ja wenn du mal bitte ein Blick in die oben erwähnte TPL Datei machst, wird deine Frage beantwortet.

> <https://github.com/shopware/shopware/blob/5.5/themes/Frontend/Bare/frontend/listing/product-box/box-basic.tpl>

```
{$sArticle.ordernumber}

```

&nbsp;
