Hi All,
I need to create some custom "Filter Results By" filters.
Where would be a good place to start?
What scripts / classes / functions could I reference to create or extend my needs?
Thanks,
Kevin
Hi All,
I need to create some custom "Filter Results By" filters.
Where would be a good place to start?
What scripts / classes / functions could I reference to create or extend my needs?
Thanks,
Kevin
There already exists a filter by function in a couple of places - one for alpha and another for manufacturer(maybe more)
You should use this as your base and if you can programatically sort your items - say in excel - you should be able to alter the code to also do so
Zen-Venom Get Bitten
Thanks kobra,
I looked at the product_listing_alpha_sorter.php file. It looks as if it just builds a dropdown list.
I noticed that there is a includes/index_filters folder with 3 filter files. They seem to be the files that do the actual filtering, based on the product_listing_alpha_sorter.php selection.
Am I correct on this?
If so, then it seems I would create any custom dropdown menus and put them in the modules folder, then create the custom filter, using the custom dropdown file, and put those files in the index_filter folder. Then I guess I would need a way to select / enable the custom filters in the Admin and product page.
Am I on the right track?
Thanks,
Kevin