power pack auto filter


https://forum.kartris.com/Topic3722.aspx
Print Topic | Close Window

By bpaluch - Tue 12 May 2015
What is the logic that loads the filter when pressing the 'refresh' button near the filter textarea by a category in the backend?

It loads some attributes that are found in the products, but not all. What's going on? How can I get it to load everything correctly? I know I can fix manually, but this guy's items change all the time, and he needs to be able to hit refresh, and get the correct attributes (all of them!) at any time.
By Paul - Wed 13 May 2015
This rebuilds the XML holding the filter details.

The filters are not built in real time when you view a category for two reasons. Firstly there is an overhead to doing this, so for performance reasons (and since on most sites attributes once setup for a product are relatively static) we perform the determination of which attribute filters are needed in the back end when you click the refresh button by the filter XML. Secondly, because the filters on the front end are controlled by what is in this XML, the store owner has the possibility to manually tweak and customize them. Attributes could be removed entirely, and the ranges for prices altered, for example.
By bpaluch - Wed 13 May 2015
I guess my question wasn't clear. I'm okay with it working in the backend, but when I hit 'rebuild' in the backend, IT DOES NOT PICK UP ALL ATTRIBUTES. I have 10 different attributes in use in the category, and the filter builds the XML using only 2...where are the other 8?
By bpaluch - Wed 13 May 2015
I checked the code, it skips any attribute that has more than 10 values...I removed that and now they all show.