Hi Seth
We are looking for a new filter (custom field added as Status Filter) on the Browse page. What setting will allow us to filter products using a custom field/list.
Hi,
In Providence, edit the file app/browse.conf, go in the
app/browse.conf
ca_objects = { facets = { ... } }
part, and add the following block at the position you wish it appears (replace your_status_filter by the code of the corresponding field):
your_status_filter
status_filter = { type = fieldList, field = your_status_filter, group_mode = none, label_singular = _("Status Filter"), label_plural = _("Status Filter") },
This assume that your new field correspond to a list of terms.
No, This is open for anyone who can help. i have worked with Seth in the past, so addressing it to him.
I tried the code above and it still doesnt show the field yet. Am I missing anything?
Did you flush the cache? Delete files inside /app/tmp
Comments
Hi,
In Providence, edit the file
app/browse.conf
, go in thepart, and add the following block at the position you wish it appears (replace
your_status_filter
by the code of the corresponding field):This assume that your new field correspond to a list of terms.
No, This is open for anyone who can help. i have worked with Seth in the past, so addressing it to him.
I tried the code above and it still doesnt show the field yet. Am I missing anything?
Did you flush the cache? Delete files inside /app/tmp