Is it possible to sort the facets? (see attachment)
Developer forum
E-mail notifications
Sorting of facets
Replies
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.
Hi Nicolai,
We have a couple of clients requsting this option. Can it be supported by the UI?
Currently not, but it is on our agenda.
Hi Nicolai,
What is the status on this?
BR
Thomas
Status quo I am affraid...
Hi Sir,
May I know the update status of this?
Thanks
Phu
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