November 17, 2016 at 4:06 pm #25919
Through local.xml we tried to hide a certain filter_id for a certain category id. This doesn’t work.
So we got to /public_html/app/design/frontend/base/default/template/catalog/layer/view.phtml
In this file, the PHP outputs all the filters on every category or subcategory page. However, it should output category_filters on main category pages, and all assigned filters to subcategory pages.
IF subcategory > show all filters applied to subcategory in backend, including category_filters
IF topcategory > hide all filters, but show category_filters.
xview.phtml: the original kanta file
view.phtml: the file we started editing at lines 51 to 56
We’d appreciate it if you took the time to get the filters in the template to work properly. Thank you in anticipation.
You must be logged in to reply to this topic. Click here to login or register
- Official hour: Mon-Fri / 9am-5pm
- Location time: GMT + 7