# sGetArticleById -&gt; kaum Inhalt

**URL:** https://forum.shopware.com/t/sgetarticlebyid-gt-kaum-inhalt/7082
**Category:** Shopware 3.5
**Tags:** programming
**Created:** [10. Mai 2012 um 14:34 UTC](https://forum.shopware.com/t/sgetarticlebyid-gt-kaum-inhalt/7082 "2012-05-10T14:34:28Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![ottscho](https://avatars.discourse-cdn.com/v4/letter/o/7ba0ec/32.png) [@ottscho](https://forum.shopware.com/u/ottscho)
#### Post date: [10. Mai 2012 um 14:34 UTC](https://forum.shopware.com/t/sgetarticlebyid-gt-kaum-inhalt/7082/1 "2012-05-10T14:34:28Z")

</div>

Hallo zusammen, woran kann es liegen, dass folgende Ausgabe so wenig Informationen hat? Es handelt sich um einen ganz normalen Artikel. Shopware()-\>Modules()-\>Articles()-\>sGetArticleById($orders[‚articleID‘]); ` array(4) { ["instock"]=\> bool(false) ["price\_nummeric"]=\> float(0) ["price\_cash2"]=\> string(4) "0,00" ["sVariants"]=\> NULL } array(4) { ["instock"]=\> bool(false) ["price\_nummeric"]=\> float(0) ["price\_cash2"]=\> string(4) "0,00" ["sVariants"]=\> NULL } ` Danke

---

<div class="post-metadata">

### Author: ![ottscho](https://avatars.discourse-cdn.com/v4/letter/o/7ba0ec/32.png) [@ottscho](https://forum.shopware.com/u/ottscho)
#### Post date: [11. Mai 2012 um 10:16 UTC](https://forum.shopware.com/t/sgetarticlebyid-gt-kaum-inhalt/7082/2 "2012-05-11T10:16:23Z")

</div>

Hat hier zu noch jmd eine Idee?

---

<div class="post-metadata">

### Author: ![ovi](https://avatars.discourse-cdn.com/v4/letter/o/3ab097/32.png) [@ovi](https://forum.shopware.com/u/ovi)
#### Post date: [11. Mai 2012 um 13:24 UTC](https://forum.shopware.com/t/sgetarticlebyid-gt-kaum-inhalt/7082/3 "2012-05-11T13:24:42Z")

</div>

Hi, nutzt du zufällig irgendein Plugin, was da einhakt? price\_cash2 und price\_nummeric (auch noch falsch geschrieben) sind mir bisher noch nicht (zumindest nicht bewusst) untergekommen.

---

<div class="post-metadata">

### Author: ![ottscho](https://avatars.discourse-cdn.com/v4/letter/o/7ba0ec/32.png) [@ottscho](https://forum.shopware.com/u/ottscho)
#### Post date: [11. Mai 2012 um 13:29 UTC](https://forum.shopware.com/t/sgetarticlebyid-gt-kaum-inhalt/7082/4 "2012-05-11T13:29:28Z")

</div>

Hi Ovi 😉 Es handelt sich um einen Kunden Shop, welcher mein OttSummaryVotes Plugin nutzt. Leider funktioniert das nicht richtig und ich bin auf der Suche nach dem Problem. Jetzt ist mir aufgefallen, dass eben diese Funktion nicht wirklich den Inhalt zurück gibt, mit welchem ich rechne. ich muss bei dem Kunden mal nachfragen, welche Plugins er parallel betreibt. Danke dir 😉

---

<div class="post-metadata">

### Author: ![slowmotion](https://avatars.discourse-cdn.com/v4/letter/s/e8c25b/32.png) [@slowmotion](https://forum.shopware.com/u/slowmotion)
#### Post date: [25. Mai 2012 um 16:08 UTC](https://forum.shopware.com/t/sgetarticlebyid-gt-kaum-inhalt/7082/5 "2012-05-25T16:08:25Z")

</div>

Ich bin mir nicht ganz sicher ob du damit mehr Infos bekommst aber auf der Schulung wurde uns gesagt wir sollen anstatt sGetArticleById, [sGetPromotionById](http://wiki.shopware.de/Die-Klasse-sArticles%5C_detail%5C_118.html#sGetPromotionById.28.24mode.2C.24category.3D0.2C.24value.3D0.29) benutzen, da bei sGetArticleById auch die Statistiken beeinflusst werden.
