Hi,
I'm using facets to make a filtering option at the frontend.
The different options are taken from custom product fields, of type List, where the Facet rendertype is a Checkboxlist.
I'm using the same loop as this one https://doc.dynamicweb.com/documentation-9/how-tos/general/using-facets-to-filter-a-product-list#sideNavTitle1-5, with the only difference being checkboxes instead of a select-tag:
When outputted, it seems that the Name-property of the FacetOptions is the same as the Value-property.
In the backend, the Name-property shows "Børne/Unge", with "boernungeforeninger" being the value. This is a dump of the specific FacetOptions object:
{
"Index": 6,
"Values": {
"FacetOption.Name": "boernungeforeninger",
"FacetOption.Label": "boernungeforeninger",
"FacetOption.Sort": 0,
"FacetOption.Value": "boernungeforeninger",
"FacetOption.Selected": false,
"FacetOption.Count": 28,
"FacetOptions.LoopCounter": 6,
"FacetOptions.LoopMod2": 0,
"FacetOptions.LoopMod3": 0,
"FacetOptions.LoopMod4": 2,
"FacetOptions.LoopMod5": 1,
"parentLoopIndex": 2
},
"Loops": []
}
I'm running DW 9.4.8
--
Best regards
Kurt Moskjaer Andersen