# {$sArticle.description\_long} automatisch befüllen?

**URL:** <https://forum.shopware.com/t/sarticle-description-long-automatisch-befullen/35120>\
**Category:** Programmierung\
**Created:** [8. März 2016 um 14:45 UTC](https://forum.shopware.com/t/sarticle-description-long-automatisch-befullen/35120 "2016-03-08T14:45:25Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![Goethe](https://avatars.discourse-cdn.com/v4/letter/g/dec6dc/32.png) [@Goethe](https://forum.shopware.com/u/Goethe)\
**Post date:** [8. März 2016 um 14:45 UTC](https://forum.shopware.com/t/sarticle-description-long-automatisch-befullen/35120/1 "2016-03-08T14:45:25Z")

</div>

Hallo,

ich würde gerne die&nbsp;{$sArticle.description\_long}, also die Artikelbeschreibung automatisch mit einem Satz füllen. Ist dies möglich? Jeder Artikel der neu angelegt wird, soll mit diesen Satz enthalten.

Wo finde ich die&nbsp;{$sArticle.description\_long} im FTP?

Vielen Dank!

---

<div class="post-metadata">

**Author:** ![Heiner\_Lohaus](https://avatars.discourse-cdn.com/v4/letter/h/b5a626/32.png) [@Heiner\_Lohaus](https://forum.shopware.com/u/Heiner_Lohaus)\
**Post date:** [8. März 2016 um 14:58 UTC](https://forum.shopware.com/t/sarticle-description-long-automatisch-befullen/35120/2 "2016-03-08T14:58:51Z")

</div>

Hi Goethe,

du findest es nicht im FTP. Es ist eine Spalte in der MySQL-Tabelle „s\_articles“.  
Du könntest mit PhpMyAmdin die Werte für alle Artikel ändern.  
Automatisch geht das aber auch nicht.

Gruß Heiner

---

<div class="post-metadata">

**Author:** ![Goethe](https://avatars.discourse-cdn.com/v4/letter/g/dec6dc/32.png) [@Goethe](https://forum.shopware.com/u/Goethe)\
**Post date:** [8. März 2016 um 15:12 UTC](https://forum.shopware.com/t/sarticle-description-long-automatisch-befullen/35120/3 "2016-03-08T15:12:38Z")

</div>

Also ist es auch nicht möglich die&nbsp;{$sArticle.description\_long} mit Artikeleigenschaften zu füllen? Also mit&nbsp;{foreach $sArticle.sProperties as $sProperty} {$sProperty.value} {$sProperty.name}&nbsp;…?

---

<div class="post-metadata">

**Author:** ![Toric](https://avatars.discourse-cdn.com/v4/letter/t/bbe5ce/32.png) [@Toric](https://forum.shopware.com/u/Toric)\
**Post date:** [8. März 2016 um 15:45 UTC](https://forum.shopware.com/t/sarticle-description-long-automatisch-befullen/35120/4 "2016-03-08T15:45:20Z")

</div>

Ist dieser Satz bei allen bzw. mehreren Artikeln gleich oder wirklich immer unterschiedlich?

---

<div class="post-metadata">

**Author:** ![Goethe](https://avatars.discourse-cdn.com/v4/letter/g/dec6dc/32.png) [@Goethe](https://forum.shopware.com/u/Goethe)\
**Post date:** [9. März 2016 um 08:25 UTC](https://forum.shopware.com/t/sarticle-description-long-automatisch-befullen/35120/5 "2016-03-09T08:25:04Z")

</div>

> [@Toric schrieb:](https://forum.shopware.com/profile/22240/Toric "Toric")
> 
> Ist dieser Satz bei allen bzw. mehreren Artikeln gleich oder wirklich immer unterschiedlich?
> 
> &nbsp;
> 
> &nbsp;
> 
> Am Besten wäre es, wenn dort automatisch die Artikeleigenschaften eingefügt werden würden. Aber ich bin über jeden möglichen Ansatz dankbar!

---

<div class="post-metadata">

**Author:** ![DanielNogel](https://avatars.discourse-cdn.com/v4/letter/d/96bed5/32.png) [@DanielNogel](https://forum.shopware.com/u/DanielNogel)\
**Post date:** [9. März 2016 um 18:28 UTC](https://forum.shopware.com/t/sarticle-description-long-automatisch-befullen/35120/6 "2016-03-09T18:28:13Z")

</div>

Hi,

ist die Artikel-Mehrfachänderung eine Option?

Wenn der Inhalt relativ dynamisch sein soll, könnte man sonst noch darüber nachdenken, den ListProductService zu dekorieren und die Beschreibung dort zu ersetzen - da kannst du dich dann ja völlig austoben.

Daniel

---

<div class="post-metadata">

**Author:** ![Goethe](https://avatars.discourse-cdn.com/v4/letter/g/dec6dc/32.png) [@Goethe](https://forum.shopware.com/u/Goethe)\
**Post date:** [6. April 2016 um 10:08 UTC](https://forum.shopware.com/t/sarticle-description-long-automatisch-befullen/35120/7 "2016-04-06T10:08:18Z")

</div>

> [@Daniel Nögel schrieb:](https://forum.shopware.com/profile/4010/Daniel%20N%C3%B6gel "Daniel%20N%C3%B6gel")
> 
> Hi,
> 
> ist die Artikel-Mehrfachänderung eine Option?
> 
> ![image](https://europe1.discourse-cdn.com/flex013/uploads/shopware/original/2X/a/a4e1aa9db5dd5ea116324a030bab955faa9c3964.png)
> 
> Wenn der Inhalt relativ dynamisch sein soll, könnte man sonst noch darüber nachdenken, den ListProductService zu dekorieren und die Beschreibung dort zu ersetzen - da kannst du dich dann ja völlig austoben.
> 
> Daniel

Wie komme ich an den ListProductService dran? Ich würde dort gerne eine IF-Abfrage einbauen, so dass sich die Beschreibung automatisch füllt, wenn die IF-Abfrage erfüllt ist.

---

<div class="post-metadata">

**Author:** ![Goethe](https://avatars.discourse-cdn.com/v4/letter/g/dec6dc/32.png) [@Goethe](https://forum.shopware.com/u/Goethe)\
**Post date:** [13. April 2016 um 09:26 UTC](https://forum.shopware.com/t/sarticle-description-long-automatisch-befullen/35120/8 "2016-04-13T09:26:14Z")

</div>

Ich pushe hier mal&nbsp;

---

<div class="post-metadata">

**Author:** ![steinsoftware](https://avatars.discourse-cdn.com/v4/letter/s/b487fb/32.png) [@steinsoftware](https://forum.shopware.com/u/steinsoftware)\
**Post date:** [13. April 2016 um 11:32 UTC](https://forum.shopware.com/t/sarticle-description-long-automatisch-befullen/35120/9 "2016-04-13T11:32:59Z")

</div>

[https://developers.shopware.com/developers-guide/example-plugin/](https://developers.shopware.com/developers-guide/example-plugin/)
