# Storefront not working.

**URL:** https://forum.shopware.com/t/storefront-not-working/71340
**Category:** Programming (EN)
**Created:** [3. Dezember 2020 um 09:52 UTC](https://forum.shopware.com/t/storefront-not-working/71340 "2020-12-03T09:52:33Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![zan](https://avatars.discourse-cdn.com/v4/letter/z/48db29/32.png) [@zan](https://forum.shopware.com/u/zan)
#### Post date: [3. Dezember 2020 um 09:52 UTC](https://forum.shopware.com/t/storefront-not-working/71340/1 "2020-12-03T09:52:33Z")

</div>

I am following this video&nbsp;[https://academy.shopware.com/courses/take/shopware-6-developer-training-english/lessons/9225170-data-storefront](https://academy.shopware.com/courses/take/shopware-6-developer-training-english/lessons/9225170-data-storefront)

&nbsp;

According the this video, before creating any `twig` file `http://localhost:8000/` should render page without footer. But I have been following every steps and in my case it renders everything.

Please refer to my `FooterSubscriber.php` page:

&nbsp;

> class FooterSubscriber implements EventSubscriberInterface { /\*\* \* @var SystemConfigService \*/ private $systemConfigService; /\*\* \* @var EntityRepositoryInterface \*/ private $shopFinderRepository; /\*\* \* FooterSubscriber constructor. \* @param SystemConfigService $systemConfigService \* @param EntityRepositoryInterface $shopFinderRepository \*/ public function \_\_construct(SystemConfigService $systemConfigService, EntityRepositoryInterface $shopFinderRepository) { $this-\>systemConfigService = $systemConfigService; $this-\>shopFinderRepository = $shopFinderRepository; } public static function getSubscribedEvents(): array { return [FooterPageletLoadedEvent::class =\> ‚onFooterPageLoaded‘]; } public function onFooterPageLoaded(FooterPageletLoadedEvent $event): void { if (!$this-\>systemConfigService-\>get(‚Storefront.config.showInStoreFront‘)) { return; } $shops = $this-\>fetchShops($event-\>getContext()); $event-\>getPagelet()-\>addExtension(‚swag\_shop\_finder‘, $shops); } /\*\* \* @param Context $context \* @return ShopFinderCollection \*/ private function fetchShops(Context $context): ShopFinderCollection { $criteria = new Criteria(); $criteria-\>addAssociation(‚country‘); $criteria-\>addFilter(new EqualsFilter(‚active‘, 1)); $criteria-\>setLimit(5); /\*\* \* @var ShopFinderCollection $shopFinderCollection \*/ $shopFinderCollection = $this-\>shopFinderRepository-\>search($criteria, $context); return $shopFinderCollection; } }

&nbsp;

config.xml

&nbsp;

> \<?xml version="1.0" encoding="UTF-8"?\> Basic configuration German Title showInStorefront Show in storefront Zeige in storefront

---

<div class="post-metadata">

### Author: ![openmindculture](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/openmindculture/32/8658_2.png) [@openmindculture](https://forum.shopware.com/u/openmindculture)
#### Post date: [4. Oktober 2021 um 16:17 UTC](https://forum.shopware.com/t/storefront-not-working/71340/2 "2021-10-04T16:17:48Z")

</div>

Late answer for anyone who has the same problem:

Activate your plugin / theme / app, before testing. Otherwise you will see the footer rendered by the active default theme.

This can be done in the store admin in the browser. Go to „My Extensions“ and find your extension (probably in the „Themes“ tab, depending on your Shopware 6 version). If it is not installed yet, click the link „Install app“ (or probably install plugin / theme, again depending on SW 6 version), and once it has been installed, click the on/off-switch icon to activate.

---

<div class="post-metadata">

### Author: ![flobwer](https://avatars.discourse-cdn.com/v4/letter/f/ce7236/32.png) [@flobwer](https://forum.shopware.com/u/flobwer)
#### Post date: [25. Oktober 2022 um 06:26 UTC](https://forum.shopware.com/t/storefront-not-working/71340/3 "2022-10-25T06:26:26Z")

</div>

Another late answer.

The path where the twig file has to be stored changed.

In the video views/layout/footer/footer.html.twig was created.

It have to be views/storefront/layout/footer/footer.hmtl.twig right now. (v6.4.16.1)

---

<div class="post-metadata">

### Author: ![openmindculture](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/openmindculture/32/8658_2.png) [@openmindculture](https://forum.shopware.com/u/openmindculture)
#### Post date: [24. Januar 2024 um 10:05 UTC](https://forum.shopware.com/t/storefront-not-working/71340/4 "2024-01-24T10:05:20Z")

</div>

There have been several changes since 6.0, so copying the code from the original Academy videos will not work. There are newer videos on YouTube, linked from the respective Shopware documentation articles.  
I have listed some deprecations and changes in a blog post as well:  
[Shopware 6 changes since the academy training videos](https://dev.to/ingosteinke/shopware-changes-since-the-60-dev-training-videos-481o)
