I've ran into a problem with the standard filter in Opencart 126.96.36.199. I want to filter products with multiple filters so the products will be narrowed down.
I found a solution, but that one was for Opencart 1.5
I know there are several filter extension that do this, but why should I buy another extension? This needs to be a default functionality imo.
I have knowlegde of PHP so I can edit the models/templates myself, I just need to now what to edit.
For people who are looking at the same problem, I fanally found this amazing extention that adds the missing "AND" in the sql query.
The default filters in Opencart uses logic "OR" for all values, regardless of the filter group.
FixFilter OC2x modifies the default Opencart 2.0 filters to filter products with "OR" (products in group) and "AND" (for GROUPS) logic.
Designed for Opencart version 188.8.131.52 - 184.108.40.206 This fix is not necessary if you use a third-party filter (such as FilterPro etc)
Install Upload file fix_filter.ocmod.xml in Extension Installer Don`t forget refresh modification cache after install!