{template="chooseCurrency" group="store" params="$url"}

{{if \IPS\Request::i()->sortby}} {lang="enhancedstore_clear_sort"} {{endif}} {lang="enhancedstore_sort_by"}

    {{foreach array( 'name', 'price_low', 'price_high', 'rating' ) as $k}} {{$sortActive = FALSE;}} {{if ( \IPS\Request::i()->sortby and \IPS\Request::i()->sortby == $k ) or ( !\IPS\Request::i()->sortby and $k === 'default' )}} {{$sortActive = TRUE;}} {{endif}}
  • {{if $sortActive}} {lang="products_sort_{$k}"} {{else}} {lang="products_sort_{$k}"} {{endif}}
  • {{endforeach}}
{{if \IPS\Settings::i()->enhancedstore_price_filters or \IPS\Settings::i()->enhancedstore_rating_filter or \IPS\Settings::i()->enhancedstore_stock_filter}}

{{if \IPS\Request::i()->minCost or \IPS\Request::i()->maxCost or \IPS\Request::i()->minRating or \IPS\Request::i()->inStock or \IPS\Request::i()->filter}} {lang="store_clear_filters"} {{endif}} {lang="store_filter_by"}

{{$category = NULL;}} {{if \IPS\Request::i()->tab }} {{$category = \IPS\nexus\Package\Group::load( \IPS\Request::i()->tab );}} {{foreach $category->filters( \IPS\Member::loggedIn()->language() ) as $filterId => $values}}

{lang="nexus_product_filter_$filterId"}

{{endforeach}} {{endif}} {{if \IPS\Settings::i()->enhancedstore_price_filters}}

{lang="price"}

{{endif}} {{if \IPS\Settings::i()->enhancedstore_rating_filter}} {{endif}} {{if \IPS\Settings::i()->enhancedstore_stock_filter}}

{lang="nexus_stock"}

{{endif}}
{{endif}}