Hi,
I'm struggling with creating a drop down list of my product features, which is actually a list of artist names. I found a forum post that got me as far as I could go and I'm not sure how to edit my file to get it to work. This is what's happening: The drop down lists my product features, and when I click one of them it displays the results successfully. But the problem is that when I go to select the other artist/product feature, only the product feature that currently displays exists in the drop down menu. So for example, lets say I have two features: Artist A and Artist B. They both exist in the list until I click on one - the other disappears. I also need to have a View All option.
This is my code so far from the product_filters.tpl file and I can't figure out what to change:
```php
{if $items && !$smarty.request.advanced_filter}
{if $smarty.server.QUERY_STRING|strpos:“dispatch=” !== false}
{assign var=“curl” value=$config.current_url}
{assign var=“filter_qstring” value=$curl|fn_query_remove:“result_ids”:“filter_id”:“view_all”:“req_range_id”:“advanced_filter”:“features_hash”:“subcats”:“page”}
{else}
{assign var=“filter_qstring” value=“products.search”}
{/if}
{assign var=“reset_qstring” value=“products.search”}
{if $smarty.request.category_id}
{assign var=“filter_qstring” value=$filter_qstring|fn_link_attach:“subcats=Y”}
{assign var=“reset_qstring” value=$reset_qstring|fn_link_attach:“subcats=Y”}
{/if}
{assign var=“has_selected” value=false}
{foreach from=$items item=“filter” name=“filters”}
{foreach from=$filter.ranges name="ranges" item="range"}
{if $smarty.foreach.ranges.iteration > $smarty.const.FILTERS_RANGES_COUNT}class="hidden"{/if}
{strip}
{assign var="filter_query_elm" value=$smarty.request.features_hash|fn_add_range_to_url_hash:$range:$filter.field_type}
{if $smarty.request.features_hash}
{assign var="cur_features_hash" value="&features_hash=`$smarty.request.features_hash`"}
{/if}
{$filter.prefix}{$range.range_name|fn_text_placeholders}{$filter.suffix} ({$range.products})
{/strip}
{/foreach}
{/foreach}
{/if}
```
Can anyone assist me?