# Backend Produkte Hersteller als Pflichtfeld

**URL:** <https://forum.shopware.com/t/backend-produkte-hersteller-als-pflichtfeld/99096>\
**Category:** Administration\
**Created:** [27. März 2023 um 09:40 UTC](https://forum.shopware.com/t/backend-produkte-hersteller-als-pflichtfeld/99096 "2023-03-27T09:40:17Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![ProWebs](https://avatars.discourse-cdn.com/v4/letter/p/dec6dc/32.png) [@ProWebs](https://forum.shopware.com/u/ProWebs)\
**Post date:** [27. März 2023 um 09:40 UTC](https://forum.shopware.com/t/backend-produkte-hersteller-als-pflichtfeld/99096/1 "2023-03-27T09:40:17Z")

</div>

Wie kann ich definieren, dass der Hersteller immer ein Pflichtfeld ist, wenn der Kunde einen Artikel anlegt?

Jedesmal, wenn der Kunde vergisst hier was auszuwählen sind die Social Feeds schrott.

| errors | |
| --- | --- |
| 0 | |
| status | 400 |
| code | FRAMEWORK\_\_STRING\_TEMPLATE\_RENDERING\_FAILED |
| title | Bad Request |
| detail | ‚Failed rendering string template using Twig: Failed rendering string template using Twig: Impossible to access an attribute (translated) on a null variable in 410aa45bef8ccb23c4de40a0aefe5b5e at line 4.‘ |
| meta | |
| parameters | |
| message | ‚Failed rendering string template using Twig: Impossible to access an attribute (translated) on a null variable in 410aa45bef8ccb23c4de40a0aefe5b5e at line 4.‘ |

Danke im Voraus.

---

<div class="post-metadata">

**Author:** ![Max\_Shop](https://avatars.discourse-cdn.com/v4/letter/m/58f4c7/32.png) [@Max\_Shop](https://forum.shopware.com/u/Max_Shop)\
**Post date:** [27. März 2023 um 09:55 UTC](https://forum.shopware.com/t/backend-produkte-hersteller-als-pflichtfeld/99096/2 "2023-03-27T09:55:47Z")

</div>

Entweder das Admin-Template anpassen (einfach, schnell, nicht konsequent) oder das ProductEntity anpassen.

Oder am einfachsten, einfach eine If Abfrage in der Social Feed einbauen.
