# Pseudopreis und Konfigurator

**URL:** <https://forum.shopware.com/t/pseudopreis-und-konfigurator/1240>\
**Category:** Shopware 3.5\
**Tags:** administration\
**Created:** [3. Januar 2011 um 21:33 UTC](https://forum.shopware.com/t/pseudopreis-und-konfigurator/1240 "2011-01-03T21:33:27Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![cschirra](https://avatars.discourse-cdn.com/v4/letter/c/c67d28/32.png) [@cschirra](https://forum.shopware.com/u/cschirra)\
**Post date:** [3. Januar 2011 um 21:33 UTC](https://forum.shopware.com/t/pseudopreis-und-konfigurator/1240/1 "2011-01-03T21:33:27Z")

</div>

Ich habe momentan das Problem: Der Pseudopreis wird im Bezug auf den Basisartikel korrekt berechnet. Die im Konfigurator definierten Varianten müssen jedoch einen anderen Pseudopreis als der Basisartikel haben. Gibt es eine Möglichkeit z.B. über die Textfelder einen Pseudopreis für die im Konfigurator definierten Varianten anzugeben?

---

<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:** [4. Januar 2011 um 09:30 UTC](https://forum.shopware.com/t/pseudopreis-und-konfigurator/1240/2 "2011-01-04T09:30:14Z")

</div>

Ja, dafür kann ein Freitextfeld genutzt werden. Siehe: [http://www.shopware.de/wiki/Neu-Konfigu … Preismatix](http://www.shopware.de/wiki/Neu-Konfigurator%5C_detail%5C_553.html#Freitext-Felder%5C_Nutzung%5C_und%5C_Sortierm.F6glichkeit%5C_in%5C_der%5C_Preismatix) Für die Konfigurator-Varinten können bis zu 5 Freitextfelder angelegt werden. Diese Freitextfelder können dann mit der Smarty-Abfrage „{$sArticle.sConfiguratorSelection.gv\_attr1}“ im Template ausgeben werden. Viele Grüße Heiner

---

<div class="post-metadata">

**Author:** ![cschirra](https://avatars.discourse-cdn.com/v4/letter/c/c67d28/32.png) [@cschirra](https://forum.shopware.com/u/cschirra)\
**Post date:** [4. Januar 2011 um 16:29 UTC](https://forum.shopware.com/t/pseudopreis-und-konfigurator/1240/3 "2011-01-04T16:29:56Z")

</div>

ich brauche brauche hier weitere Hilfe… wie u. wo genau platziere ich hier eine IF Abfrabe, wenn z.B. im Textfeld 1 ein Preis steht, dann soll dieser “{$sArticle.sConfiguratorSelection.gv\_attr1}” verwendet werden, ansonsten soll alles beim alten bleiben. [code]{\* Pseudo price \*}

{else} class=‘article\_details\_price’\>{/if} {block name=‘frontend\_detail\_data\_pseudo\_price’} {if $sArticle.pseudoprice} {\* if $sArticle.sVariants || $sArticle.priceStartingFrom\*}  
_{s name=“reducedPrice” namespace=“frontend/listing/box\_article”}{/s} {$sArticle.pseudoprice|currency} {s name=“Star” namespace=“frontend/listing/box\_article”}{/s}_ {if $sArticle.pseudopricePercent.float} ({$sArticle.pseudopricePercent.float} % {se name=“DetailDataInfoSavePercent”}{/se}) {/if}  
{\*/if\*} {/if} {/block} {\* Article price configurator \*} {block name=‘frontend\_detail\_data\_price\_configurator’} **{if $sArticle.priceStartingFrom && !$sArticle.sConfigurator && $sView} {se name=“DetailDataInfoFrom”}{/se} {$sArticle.priceStartingFrom|currency} {s name=“Star” namespace=“frontend/listing/box\_article”}{/s} {else} {$sArticle.price|currency} {s name=“Star” namespace=“frontend/listing/box\_article”}{/s} {/if}** {/block}  
{\* Article price \*} {block name=‘frontend\_detail\_data\_price\_info’}

{s name=“DetailDataPriceInfo”}{/s}

{/block}  
{/if} {if $sArticle.purchaseunit} {\* Article price \*} {block name=‘frontend\_detail\_data\_price’}

* * *

**{se name=“DetailDataInfoContent”}{/se} {$sArticle.purchaseunit} {$sArticle.sUnit.description}  
{if $sArticle.purchaseunit != $sArticle.referenceunit} {if $sArticle.referenceunit} {se name=“DetailDataInfoBaseprice”}{/se} {$sArticle.referenceunit} {$sArticle.sUnit.description} = {$sArticle.referenceprice|currency} {s name=“Star” namespace=“frontend/listing/box\_article”}{/s} {/if} {/if}**  
{/block}[/code]

---

<div class="post-metadata">

**Author:** ![cschirra](https://avatars.discourse-cdn.com/v4/letter/c/c67d28/32.png) [@cschirra](https://forum.shopware.com/u/cschirra)\
**Post date:** [4. Januar 2011 um 23:24 UTC](https://forum.shopware.com/t/pseudopreis-und-konfigurator/1240/4 "2011-01-04T23:24:33Z")

</div>

ok, gelöst… falls jemand das gleiche Problem hat, hier der code für die data.tpl [code]{\* Pseudo price \*} {if $sArticle.pseudoprice}

{else} class=‚article\_details\_price‘\>{/if} {block name=‚frontend\_detail\_data\_pseudo\_price‘} {if $sArticle.pseudoprice} {\* if $sArticle.sVariants || $sArticle.priceStartingFrom\*}  
_{s name=„reducedPrice“ namespace=„frontend/listing/box\_article“}{/s} {$sArticle.pseudoprice|currency} {s name=„Star“ namespace=„frontend/listing/box\_article“}{/s}_ {if $sArticle.pseudopricePercent.float} ({$sArticle.pseudopricePercent.float} % {se name=„DetailDataInfoSavePercent“}{/se}) {/if}  
{\*/if\*} {/if} {/block} {else}

{else} class=‚article\_details\_price‘\>{/if} {block name=‚frontend\_detail\_data\_pseudo\_price‘} {if $sArticle.sConfiguratorSelection.gv\_attr1} {\* if $sArticle.sVariants || $sArticle.priceStartingFrom\*}  
_{s name=„reducedPrice“ namespace=„frontend/listing/box\_article“}{/s} {$sArticle.sConfiguratorSelection.gv\_attr1\*1.19|currency} {s name=„Star“ namespace=„frontend/listing/box\_article“}{/s}_ {if $sArticle.pseudopricePercent.float} ({$sArticle.pseudopricePercent.float} % {se name=„DetailDataInfoSavePercent“}{/se}) {/if}  
{\*/if\*} {/if} {/block} {/if} [/code]
