We are facing a problem in our current xstore theme. The problem is the color filter is not working. And I as well needed a few customization like change the out of stock products images as per the color filter we select and disabling the active filter. I have done all the changes and fixed the bugs but when I turn the color filter off/disable, a problem come out in the category pages. The is problem as I select any color from the filter, it vanishes all the colors from the filter that are not in the filtered products. Let me elaborate more with an example too. So there are ten colors in our color filter, 1 to 10. We select color 7 and two products are available in color 7
and they are also available in three more colors, color 3, color 4 and color 5 (So we have total 4 color variations in our filter result). The problem is the colors in the filter will be narrow down from 10 color to that 4 colors (color 7, color 3, color 4 and color) but we want color.filter to display all the available color variations in the category. And this only happed in categories page, not in shop page. It works properly in shop page.