# Shopware erstellt automatisch zweiten Preis

**URL:** <https://forum.shopware.com/t/shopware-erstellt-automatisch-zweiten-preis/51808>\
**Category:** Administration\
**Created:** [16. März 2018 um 08:07 UTC](https://forum.shopware.com/t/shopware-erstellt-automatisch-zweiten-preis/51808 "2018-03-16T08:07:42Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![mlampert](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/mlampert/32/24136_2.png) [@mlampert](https://forum.shopware.com/u/mlampert)\
**Post date:** [16. März 2018 um 08:07 UTC](https://forum.shopware.com/t/shopware-erstellt-automatisch-zweiten-preis/51808/1 "2018-03-16T08:07:42Z")

</div>

Guten Morgen zusammen, ich hab in einem Dev-Shop ein Problem. Wenn ich ein neues Produkt anlege und einen Preis eingebe, wird immer ein zweiter automatisch hinzugefügt.

Auch der Pseudopreis wird automatisch hinzugefügt. In dem Live-Shop tritt dieses Problem nicht auf. Es wird 5.4.0 eingesetzt.

Wer hatte dieses Problem bereits bzw. hat einen Lösungsansatz?

&nbsp;

Vielen Dank für eure Hilfe schon mal im Vorfeld. 🙂

---

<div class="post-metadata">

**Author:** ![PStadtfeld](https://avatars.discourse-cdn.com/v4/letter/p/3bc359/32.png) [@PStadtfeld](https://forum.shopware.com/u/PStadtfeld)\
**Post date:** [16. März 2018 um 13:54 UTC](https://forum.shopware.com/t/shopware-erstellt-automatisch-zweiten-preis/51808/2 "2018-03-16T13:54:54Z")

</div>

Klingt als wäre in deiner Datenbank ein fehlerhafter Datensatz, der neuen Produkten automatisch zugeordnet wird.

Wenn es im Live-Shop nicht auftritt ist vermutlich im Dev-Shop mal was schief gelaufen und seither begleitet euch dieses Phantom der Datenbank.

Probier’s vielleicht mal mit einem Statement wie:

SELECT \* FROM s\_articles\_prices sp LEFT JOIN s\_articles\_details sad ON sp.articleID = sad.articleID AND sp.articledetailsID = sad.id WHERE sad.id is null;

---

<div class="post-metadata">

**Author:** ![mlampert](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/mlampert/32/24136_2.png) [@mlampert](https://forum.shopware.com/u/mlampert)\
**Post date:** [16. März 2018 um 16:15 UTC](https://forum.shopware.com/t/shopware-erstellt-automatisch-zweiten-preis/51808/3 "2018-03-16T16:15:14Z")

</div>

Ja, es war auf jeden Fall ein falscher DB Eintrag. Habe einige Tabellen gelöscht und neu importiert. Seitdem geht es ohne Probleme 🙂
