I have a block that has product filter in it. One of the filters is a Brands filter.
By default, CS only shows like 4 or 5 of the brands before you have to click the “more” button.
I’ve been able to increase that to 20 brands, but I want this to be more. I’d like to just be able to set it to whatever I want.
I think the ranges are set in core/fn.catalog.php, but for the life of me I can’t figure out what to change.
Does my question make any sense to you guys?
I’d appreciate any help you can give.
Thanks,
Brandon
Have a look in the config.php file for this:
// Product filters settings
define(‘FILTERS_RANGES_COUNT’, 4);
define(‘FILTERS_RANGES_MORE_COUNT’, 20);
I think you need to change the FILTERS_RANGES_COUNT
john
John,
Thank you for pointing that out. For some reason I haven’t really taken a very good look at config.php
There are a lot of settings in there.
But, unfortunately, no matter what I changed that to, I didn’t get any more features.
Any other ideas?
Thanks,
Brandon
Huh, well I guess I was wrong. I changed those setting and now everything works fine.
Not sure why it didn’t work at first, I even cleared my cache.
Oh well, at least it is working now.
Thanks for the help,
Brandon
This seems to be what I need, I’d like to change the filters range from 4 to 10. However, if I understand some of the discussions about hooks and updates properly, I should be doing this change with a hook. right?
Can anyone help me with how exactly to do that? TIA
Jodi