# Preis ab...

**URL:** <https://forum.shopware.com/t/preis-ab/3260>\
**Category:** Shopware 3.5\
**Tags:** templates--design\
**Created:** [23. Juni 2011 um 19:33 UTC](https://forum.shopware.com/t/preis-ab/3260 "2011-06-23T19:33:44Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Bibeno](https://avatars.discourse-cdn.com/v4/letter/b/13edae/32.png) [@Bibeno](https://forum.shopware.com/u/Bibeno)\
**Post date:** [23. Juni 2011 um 19:33 UTC](https://forum.shopware.com/t/preis-ab/3260/1 "2011-06-23T19:33:44Z")

</div>

Hei, ist es moeglich das, wenn Varianten im Artikel sind, vor dem niedrigsten Preis dan “ab” steht? Hauptsaechlich geht es mir ums Listing.

---

<div class="post-metadata">

**Author:** ![Stefan\_Hamann](https://avatars.discourse-cdn.com/v4/letter/s/5e9695/32.png) [@Stefan\_Hamann](https://forum.shopware.com/u/Stefan_Hamann)\
**Post date:** [24. Juni 2011 um 09:00 UTC](https://forum.shopware.com/t/preis-ab/3260/2 "2011-06-24T09:00:41Z")

</div>

Das ist eigentlich standardmäßig so - in 3.5.4. gibt es hier aber einen Bug der in Kürze behoben sein wird. Du musst in der Datei engine/core/class/sArticles.php in Zeile 1260 die folgenden Zeilen anpassen: ` if(!empty($article['liveshoppingData']['net\_price'])) { $cheapestPrice = $this-\>sGetCheapestPrice($articles[$articleKey]["articleID"],$articles[$articleKey]["pricegroup"],$articles[$articleKey]["pricegroupID"],$articles[$articleKey]["pricegroupActive"],false,true); } else { $cheapestPrice = $article['liveshoppingData']['net\_price']; } ` ändern in: ` if(empty($article['liveshoppingData']['net\_price'])) { $cheapestPrice = $this-\>sGetCheapestPrice($articles[$articleKey]["articleID"],$articles[$articleKey]["pricegroup"],$articles[$articleKey]["pricegroupID"],$articles[$articleKey]["pricegroupActive"],false,true); } else { $cheapestPrice = $article['liveshoppingData']['net\_price']; } `

---

<div class="post-metadata">

**Author:** ![Bibeno](https://avatars.discourse-cdn.com/v4/letter/b/13edae/32.png) [@Bibeno](https://forum.shopware.com/u/Bibeno)\
**Post date:** [24. Juni 2011 um 09:01 UTC](https://forum.shopware.com/t/preis-ab/3260/3 "2011-06-24T09:01:52Z")

</div>

Ahh, alles klar. Vielen Dank fuer die Antwort, werd ich gleich mal machen.
