# Layout-Zuweisung für Produktseiten

**URL:** <https://forum.shopware.com/t/layout-zuweisung-fuer-produktseiten/89526>\
**Category:** Shopware 6 (German)\
**Created:** [2. August 2021 um 15:04 UTC](https://forum.shopware.com/t/layout-zuweisung-fuer-produktseiten/89526 "2021-08-02T15:04:04Z")\
**Posts on this page:** 1\
**Showing post:** 24

<div class="post-metadata">

**Author:** ![okle](https://avatars.discourse-cdn.com/v4/letter/o/f0a364/32.png) [@okle](https://forum.shopware.com/u/okle)\
**Post date:** [14. September 2023 um 16:02 UTC](https://forum.shopware.com/t/layout-zuweisung-fuer-produktseiten/89526/24 "2023-09-14T16:02:47Z")

</div>

Ist entweder ein Bug, oder ein vorzeitig veröffentlichtes Feature. Ist aber leicht zu fixen.  
Schau mal hier:

> [@Eigenes Standard Produktlayout lässt sich nicht zuweisen](https://forum.shopware.com/t/eigenes-standard-produktlayout-laesst-sich-nicht-zuweisen/101103/10):
>
> Ich habe das „Problem“ gefunden. in der Datei /vendor/shopware/core/Content/Product/Subscriber/ProductSubscriber.php steht ab Zeile 94 der Code private function setDefaultLayout(Entity $product, ?string $salesChannelId = null): void { if (!Feature::isActive('v6.6.0.0') || !$product-\>has('cmsPageId')) { // HIER ist das Problem // return; } if ($product-\>get('cmsPageId') !== null) { return; } $cmsPageId = $this-\>systemConfigService-\>get(ProductDefini…

---

_[View the full topic](https://forum.shopware.com/t/layout-zuweisung-fuer-produktseiten/89526)._
