# Versandkostenbedingung ist nur 1 Möglich? &quot;gelöst&quot;

**URL:** <https://forum.shopware.com/t/versandkostenbedingung-ist-nur-1-moglich-quot-gelost-quot/14769>\
**Category:** Shopware 3.5\
**Tags:** installation--gettin\
**Created:** [1. August 2013 um 11:11 UTC](https://forum.shopware.com/t/versandkostenbedingung-ist-nur-1-moglich-quot-gelost-quot/14769 "2013-08-01T11:11:43Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![display-haus](https://avatars.discourse-cdn.com/v4/letter/d/d2c977/32.png) [@display-haus](https://forum.shopware.com/u/display-haus)\
**Post date:** [1. August 2013 um 11:11 UTC](https://forum.shopware.com/t/versandkostenbedingung-ist-nur-1-moglich-quot-gelost-quot/14769/1 "2013-08-01T11:11:43Z")

</div>

Ich habe folgendes Problem, ich brauche bei Versandkostenbedingungen 2 Bedingungen aber egal wie ich die eingebe immer bekomme ich Fehlermeldungen xsversand !xlversand xsversand; !xlversand xsversand, !xlversand xsversand !xlversand Hat das schon jemand gelöst? Oder geht dies einfach nicht?

---

<div class="post-metadata">

**Author:** ![SebastianKloepper](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/sebastiankloepper/32/21435_2.png) [@SebastianKloepper](https://forum.shopware.com/u/SebastianKloepper)\
**Post date:** [1. August 2013 um 18:13 UTC](https://forum.shopware.com/t/versandkostenbedingung-ist-nur-1-moglich-quot-gelost-quot/14769/2 "2013-08-01T18:13:36Z")

</div>

Hallo Schau mal hier da wird per if auch auf zwei Bedingungen abgeprüft [http://wiki.shopware.de/Versand-fuer-be … 2\_715.html](http://wiki.shopware.de/Versand-fuer-bestimmte-Artikel-in-bestimmtes-Land-blockieren%5C_detail%5C_1332%5C_715.html) Das ist ja generell eine Where Bedingung in SQL Daher sollte man auch alle Möglichkeiten dort aus SQL nutzen können Sebastian

---

<div class="post-metadata">

**Author:** ![display-haus](https://avatars.discourse-cdn.com/v4/letter/d/d2c977/32.png) [@display-haus](https://forum.shopware.com/u/display-haus)\
**Post date:** [2. August 2013 um 08:43 UTC](https://forum.shopware.com/t/versandkostenbedingung-ist-nur-1-moglich-quot-gelost-quot/14769/3 "2013-08-02T08:43:23Z")

</div>

Danke für die Antwort, aber das sind für mich böhmische Dörfer, kannst du mir auch schreiben wie dies dann aussehen muß? Eigene Bedingungen !xlversand IF(IFNULL(Dispatch.description ???) != ‘?’, TRUE, !xsversand) oder in der Art ??? IF(IFNULL(at.attr9=“true”)!xsversand)

---

<div class="post-metadata">

**Author:** ![display-haus](https://avatars.discourse-cdn.com/v4/letter/d/d2c977/32.png) [@display-haus](https://forum.shopware.com/u/display-haus)\
**Post date:** [2. August 2013 um 14:35 UTC](https://forum.shopware.com/t/versandkostenbedingung-ist-nur-1-moglich-quot-gelost-quot/14769/4 "2013-08-02T14:35:46Z")

</div>

Jetzt habe ich es gefunden, es geht viel einfacher xsversand [color=red]AND[/color] !xlversand [color=red]AND[/color] sperrgut 🕶

---

<div class="post-metadata">

**Author:** ![shopbesitzer](https://avatars.discourse-cdn.com/v4/letter/s/a88e4f/32.png) [@shopbesitzer](https://forum.shopware.com/u/shopbesitzer)\
**Post date:** [13. August 2013 um 13:55 UTC](https://forum.shopware.com/t/versandkostenbedingung-ist-nur-1-moglich-quot-gelost-quot/14769/5 "2013-08-13T13:55:46Z")

</div>

Hi! Darf ich hier mal nachfragen, bzw. wäre super wenn du das weisst. Du hast als Bedingungen xsversand und xlversand. Wie hast du diese beiden Dinge in der generellen SQL-Abfrage untergebracht?
