Close

Filter's order

haknesh
9 years ago
#7694 Quote
Avatar
  • 29
Dear NT team,

Where can i change the order in witch the filters are showed? i would like to place the manufacturer filter before price range.

Thanks in advance.
Boyko
9 years ago
#7709 Quote
Avatar
  • Moderator
  • 1570
haknesh wrote:
Dear NT team,

Where can i change the order in witch the filters are showed? i would like to place the manufacturer filter before price range.

Thanks in advance.


Hi haknesh,

Yes you can do this. You need to open this file:
Plugins\SevenSpikes.Nop.Plugins.AjaxFilters\Views\NopAjaxFilters\NopFilters.cshtml

and change the order of the filters, which are now like this:

<div class="filtersPanel">
        @priceRangeFilter
        @onSaleFilter
        @specificationsFilter
        @attributesFilter
        @manufacturersFilter
        @vendorsFilter
    </div>


to be like this:

<div class="filtersPanel">
        @manufacturersFilter
        @priceRangeFilter
        @onSaleFilter
        @specificationsFilter
        @attributesFilter        
        @vendorsFilter
    </div>


Hope this helps!

Thanks
Regards,
Nop-Templates.com Team
haknesh
9 years ago
#7716 Quote
Avatar
  • 29
Thanks.
This is not possible with trial version right?
Boyko
9 years ago
#7722 Quote
Avatar
  • Moderator
  • 1570
haknesh wrote:
Thanks.
This is not possible with trial version right?


That is not true. This would work perfectly with both versions - the Trial and Paid ones.

Thanks
Regards,
Nop-Templates.com Team