# Meta Description

**URL:** <https://forum.shopware.com/t/meta-description/58827>\
**Category:** Sonstiges\
**Created:** [29. März 2019 um 11:01 UTC](https://forum.shopware.com/t/meta-description/58827 "2019-03-29T11:01:51Z")\
**Posts on this page:** 3\
**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:** [29. März 2019 um 11:01 UTC](https://forum.shopware.com/t/meta-description/58827/1 "2019-03-29T11:01:51Z")

</div>

Hallo Community,

ich hab mal wieder ein Problem wo ich zur Zeit nicht weiter komme. Ich möchte die Meta descritpion aus bestimmten Variablen zusammen setzten. Die description wird ja im Index/header.tpl

erstellt.

```
    {* *}
    
    
    
    {s name="IndexMetaDescriptionStandard" assign="snippetIndexMetaDescriptionStandard"}{/s}

```

Vorgestellt habe ich es mir wir folgt nur komme ich nicht auf die richtigen Variablen:

```
{if $Aktuellekategorie && ! isset ($sArtikel) && ! isset ( Navigation.kategorie)}{$katteogrie.Name}zusatztext {elseif $sArtikel}{$sArtikel.name}zusatztext{elseif Navigation.Kategorie}{Navigatiotion.Kategorie.name}zustatztext{else}{$snippetIndexMetaDescriptionStandard|truncate:$SeoDescriptionMaxLength:'…'}{/if}

```

Der Shop soll schauen wo er sich befindet Artikelebene, Kategorieebene und dann den passenden Kontent mit meinem zusatztext als Meta descrtiption ausgeben.  
Die Variablen für die Kategorie und die Navigation weiß ich leider nicht. Hilfestellung wäre echt super.

Vielen Dank.

---

<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:** [8. April 2019 um 14:05 UTC](https://forum.shopware.com/t/meta-description/58827/2 "2019-04-08T14:05:31Z")

</div>

Gibt es ein tool wie ich die Variablen im Shop irgendwie auslesen kann?

---

<div class="post-metadata">

**Author:** ![enerSpace](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/enerspace/32/13552_2.png) [@enerSpace](https://forum.shopware.com/u/enerSpace)\
**Post date:** [9. April 2019 um 13:03 UTC](https://forum.shopware.com/t/meta-description/58827/3 "2019-04-09T13:03:07Z")

</div>

Hallo @werkzeugdiscount24‍,

ja das gibt es. Du kannst dir das tool auch als Plugin nachinstallieren:&nbsp;[https://github.com/FriendsOfShopware/FroshProfiler](https://github.com/FriendsOfShopware/FroshProfiler)

VG

ener **Space** &nbsp;Webhosting  
Tel.: +49 511 - 999 791 70 | Web:&nbsp;[https://www.enerspace.de](https://www.enerspace.de/)
