Is there any way to show count in the categories filter (facets)?
g
Greg
10/24/2022, 10:28 PM
Hey Boris - i have also been curious about this in the past it would be a cool feature to be natively done.
I think you could do an extension that loads / creates a saved search of the commerce categories attached to the site.
and you would just include itemID as a column in that search : like this
Greg
10/24/2022, 10:29 PM
message has been deleted
Greg
10/24/2022, 10:30 PM
so this shows that Comm Category Tester1 has 3 items on it
so you would just build out that JSON table and then assign it to the data for the facets
hope that works out for you
b
Boris Yasen
10/25/2022, 9:19 AM
Thank you @Greg
Boris Yasen
10/25/2022, 9:22 AM
But it's not only categories but also with search filter options like Color/Brands/Size, etc
Is this doable with saved search?
I was going to use Item Search API but it will affect speed I think