Group: Forum Members
Last Active: Thu 23 Jul 2020
Posts: 70,
Visits: 175
|
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.
|
Group: Administrators
Last Active: Tue 10 Sep 2024
Posts: 807,
Visits: 2,748
|
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.
-- If my post solves your issue, can you 'Mark as Answer' so it's easier for other users to find in future.
If you would like to be informed of new features, new releases, developments and occasional special bonuses, please sign up to our mailing list: http://bit.ly/19sKMZb
|
Group: Forum Members
Last Active: Thu 23 Jul 2020
Posts: 70,
Visits: 175
|
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?
|
Group: Forum Members
Last Active: Thu 23 Jul 2020
Posts: 70,
Visits: 175
|
I checked the code, it skips any attribute that has more than 10 values...I removed that and now they all show.
|