# Filterfunktion -Dropdown

**URL:** <https://forum.shopware.com/t/filterfunktion-dropdown/4141>\
**Category:** Shopware 3.5\
**Tags:** general\
**Created:** [2. September 2011 um 08:33 UTC](https://forum.shopware.com/t/filterfunktion-dropdown/4141 "2011-09-02T08:33:06Z")\
**Posts on this page:** 4\
**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:** [2. September 2011 um 08:33 UTC](https://forum.shopware.com/t/filterfunktion-dropdown/4141/1 "2011-09-02T08:33:06Z")

</div>

Hi, ich habe versucht die Filter als Dropdown dar zu stellen, klappt auch soweit wenn ich in den Hauotkategorien bin. Wenn ich in einer Unterkategorie bin und de Filter nutzen moechte, leitet er mich nach dem auswaehlen auf die Startseite. Koennte mir jemand sagen wo der Fehler liegt? Derzeit sieht mein Code so aus: [code]{if $sPropertiesOptionsOnly|@count}

{if $sPropertiesGrouped|@count \> 1 && $sCategoryContent.showfiltergroups} {foreach from=$sPropertiesGrouped item=sPropertyGroup key=name} [

## {\* sSnippet: show all \*}{$sConfig.sSnippets.sCategoryFilterTo} {$name}:

]({$sPropertyGroup.default.linkSelect} "{sCategoryInfo.name}") {if \_GET.sFilterGroup == $name} {foreach from=$sPropertiesOptionsOnly item=value key=option} {if $value|@count && value.properties.group == \_GET.sFilterGroup}

## {$option}
 {if !$value.properties.active} {$sConfig.sSnippets.sArticlepleaseselect} {/if} {foreach from=$value.values item=optionValue} {if $optionValue.active} {if $optionValue.valueTranslation}{$optionValue.valueTranslation}{else}{$optionValue.value}{/if} ({$optionValue.count}) {else} {if $optionValue.valueTranslation}{$optionValue.valueTranslation}{else}{$optionValue.value}{/if} ({$optionValue.count}) {/if} {/foreach} {/if} {/foreach} {/if} {/foreach} {else} {foreach from=$sPropertiesOptionsOnly item=value key=option} {if $value|@count} ## {$option} {if !$value.properties.active} Bitte wählen... {/if} {foreach from=$value.values item=optionValue} {if $optionValue.active} {if $optionValue.valueTranslation}{$optionValue.valueTranslation}{else}{$optionValue.value}{/if} ({$optionValue.count}) {else} {if $optionValue.valueTranslation}{$optionValue.valueTranslation}{else}{$optionValue.value}{/if} ({$optionValue.count}) {/if} {/foreach} {if $value.properties.active} - [Auswahl löschen]({$value.properties.linkRemoveProperty} "{$sCategoryInfo.name}") {/if} {/if} {/foreach} {/if} 

{/if}[/code]

---

<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:** [2. September 2011 um 12:14 UTC](https://forum.shopware.com/t/filterfunktion-dropdown/4141/2 "2011-09-02T12:14:57Z")

</div>

@ Shopware, ihr wisst doch sicherlich wo der Hacken da ist, waere super lieb, wenn ihr mir das verratn wuerdet, denn ich finde den fehler- leider selber nicht.

---

<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:** [2. September 2011 um 22:25 UTC](https://forum.shopware.com/t/filterfunktion-dropdown/4141/3 "2011-09-02T22:25:04Z")

</div>

Hmm keiner der das kann, bzw. sich durchringt. Schade… dann such ich mal weiter.

---

<div class="post-metadata">

**Author:** ![mthrum](https://avatars.discourse-cdn.com/v4/letter/m/e95f7d/32.png) [@mthrum](https://forum.shopware.com/u/mthrum)\
**Post date:** [19. November 2011 um 14:29 UTC](https://forum.shopware.com/t/filterfunktion-dropdown/4141/4 "2011-11-19T14:29:09Z")

</div>

Hallo Bianca, ich kann dir schon mal so viel sagen, das dein Link nicht passt. Ab Version 3.5 wird die Filtervariable mit ?f=deineFilternummer (Bsp: ?f=24832|24837) weiter gegeben Das könnte dir vielleicht weiterhelfen?! $optionValue.link|rewrite
