Coveo Facet UI Template
Im using coveo for sitecore and I know I can customize the styling of the Facet using CSS but I am looking for a way I could customize the Facet using a template (similar to how we customize the search results).
I've come across this guide but that doesnt make use of template. What i want to do is to change the markup of the facets.
You can't change the markup of facet because this is a JS UI component unlike the results which are templated. You might hook to some JS UI events to modify the DOM after it is refreshed for every query but I don't recommend to do it because the DOM elements might change slightly between version of the product when you upgrade.