# Überschreiben von frontend/listing/product-box/box-emotion.tpl

**URL:** https://forum.shopware.com/t/uberschreiben-von-frontend-listing-product-box-box-emotion-tpl/53533
**Category:** Programmierung
**Created:** [18. Juni 2018 um 06:30 UTC](https://forum.shopware.com/t/uberschreiben-von-frontend-listing-product-box-box-emotion-tpl/53533 "2018-06-18T06:30:51Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![langnickel](https://avatars.discourse-cdn.com/v4/letter/l/3ec8ea/32.png) [@langnickel](https://forum.shopware.com/u/langnickel)
#### Post date: [18. Juni 2018 um 06:30 UTC](https://forum.shopware.com/t/uberschreiben-von-frontend-listing-product-box-box-emotion-tpl/53533/1 "2018-06-18T06:30:51Z")

</div>

Ich versuche die Datei frontend/listing/product-box/box-emotion.tpl mit einem eigenem Theme zu überschreiben. box-basic.tpl und box-product-slider.tpl funktionieren wunderbar, aber bei der box-emotion.tpl wird meine erstelle Datei nicht erkannt.

&nbsp;

```
meine box-product-slider
{extends file="parent:frontend/listing/product-box/box-product-slider.tpl"}

{block name="frontend_listing_box_article_description"}
    {$smarty.block.parent}
    {include file="frontend/listing/product-box/lne_variant_color_selection.tpl"}
{/block}

meine box-emotion
{extends file="parent:frontend/listing/product-box/box-emotion.tpl"}

{block name="frontend_listing_box_article_name"}
    {$smarty.block.parent}
    {include file="frontend/listing/product-box/lne_variant_color_selection.tpl"}
{/block}

```

&nbsp;

---

<div class="post-metadata">

### Author: ![langnickel](https://avatars.discourse-cdn.com/v4/letter/l/3ec8ea/32.png) [@langnickel](https://forum.shopware.com/u/langnickel)
#### Post date: [18. Juni 2018 um 07:20 UTC](https://forum.shopware.com/t/uberschreiben-von-frontend-listing-product-box-box-emotion-tpl/53533/2 "2018-06-18T07:20:51Z")

</div>

Keine Ahnung warum, aber da ich mein Theme per Plugin ausliefere hab ich jetzt separat das Template Directory im Event&nbsp;Enlight\_Controller\_Action\_PostDispatchSecure\_Widgets registriert. Dachte das fällt bei eigenen Themes weg. Egal 🙂
