Edit File: view_all.tpl
{if $view_all_filter} {assign var="filter_qstring" value=$smarty.request.q|fn_url} {assign var="filter_qstring" value=$filter_qstring|fn_query_remove:"result_ids":"filter_id":"features_hash"} {split data=$view_all_filter size="4" assign="splitted_filter" preverse_keys=true} <table class="view-all table-width"> {foreach from=$splitted_filter item="group"} <tr class="valign-top"> {foreach from=$group item="ranges" key="index"} <td class="center" style="width: 25%"> <div> {if $ranges} {include file="common/subheader.tpl" title=$index} <ul> {foreach from=$ranges item="range"} {assign var="_features_hash" value=$params.features_hash|fn_add_range_to_url_hash:$range} {$href = $filter_qstring|fn_link_attach:"features_hash=`$_features_hash`"} <li><a href="{if $range.feature_type == "E"}{"product_features.view?variant_id=`$range.range_id``$cur_features_hash`"|fn_url}{else}{$href|fn_url}{/if}">{$range.range_name|fn_text_placeholders}</a></li> {/foreach} </ul> {else} {/if} </div> </td> {/foreach} </tr> {/foreach} </table> {/if}
Back to File Manager