# Problem: Pugin wird nicht zu Pagelet hinzugefügt

**URL:** <https://forum.shopware.com/t/problem-pugin-wird-nicht-zu-pagelet-hinzugefugt/69498>\
**Category:** Programmierung\
**Created:** [10. September 2020 um 09:14 UTC](https://forum.shopware.com/t/problem-pugin-wird-nicht-zu-pagelet-hinzugefugt/69498 "2020-09-10T09:14:54Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ni\_Bo](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/ni_bo/32/18912_2.png) [@Ni\_Bo](https://forum.shopware.com/u/Ni_Bo)\
**Post date:** [10. September 2020 um 09:14 UTC](https://forum.shopware.com/t/problem-pugin-wird-nicht-zu-pagelet-hinzugefugt/69498/1 "2020-09-10T09:14:54Z")

</div>

Hallo,

ich bin momentan dabei den&nbsp;Shopware 6 - Developer Training Basic (EN) Tutorial Kurs zu absolvieren und habe nun im vorletzten Tutorial _Data Storefront&nbsp;_  
das Problem dass mein Plugin mit der Funktion

$event-\>getPagelet()-\>addExtension(‘swag\_shop\_finder’, $shops);

nicht zum footer pagelet hinzugefügt wird (unter der verwendung von dump() in twig ist der Eintrag leer.)

Kann mir jemand weiterhelfen der die Tutorial Reihe abgeschlossen hat oder vlt erläutern woran es liegen könnte?

Vielen Dank!
