Developer forum

Forum » Ecommerce - Standard features » Sorting of facets

Sorting of facets

Kim Søjborg Pedersen
Reply

Is it possible to sort the facets? (see attachment)

2016-03-11_1008.png

Replies

 
Nicolai Høeg Pedersen
Reply
This post has been marked as an answer

not in the UI.

But the facet definitions can be found in \Files\System\Repositories - there are some somefolders named after the name of your repository and facets. You will have a file called Ecommerce.facets (Name made by you). Inside that file is some XML that will look something like this:

<?xml version="1.0" encoding="utf-8"?>
<Facets>
  <Settings />
  <Source Repository="Ecommerce" Item="All products.query" />
  <Facet Name="Wheel size" Type="Field" Field="ProductCategory_Bikes_Wheel_size" QueryParameter="wheel" />
  <Facet Name="Color" Type="Field" Field="VariantGroup_VARGRP1" QueryParameter="color" />
  <Facet Name="Manufacturer" Type="Field" Field="ManufacturerID" QueryParameter="manufacturer" />
  <Facet Name="Prices" Type="Field" Field="PriceGroups" QueryParameter="PriceGroups" />
  <Facet Name="Wheel size" Type="Field" Field="ProductCategory_Bikes_Wheel_size" QueryParameter="wheel" />
</Facets>

And then you can just move the Facet nodes up and down to change the sorting.

Votes for this answer: 1
 
Anders Ebdrup
Anders Ebdrup
Reply

Hi Nicolai,

 

We have a couple of clients requsting this option. Can it be supported by the UI?

 
Nicolai Pedersen
Reply

Currently not, but it is on our agenda.

 
Thomas Larsen
Reply

Hi Nicolai,

What is the status on this?

BR
Thomas

 
Nicolai Pedersen
Reply

Status quo I am affraid...

 
Dynamicweb Employee
Thet Nong Phu
Reply

Hi Sir,

May I know the update status of this?

Thanks

Phu

 
Nicolai Pedersen
Reply

It was released with 9.7 - see the release notes here:

https://doc.dynamicweb.com/downloads/releases/release-notes/dw-9-7-release-notes#8685

And it is also described in the docs:

https://doc.dynamicweb.com/documentation-9/platform/indexing-search/facets#6624

BR Nicolai

 

You must be logged in to post in the forum