Page 1 of 1

Product listing filter

Posted: Mon Nov 22, 2021 2:19 pm
by LeeFoster
I know one existed for older oscommerce but is there a product listing filter?

If it uses the product specifications and price to do so even better.

If it doesn't exist already and someone is interested in creating one let me know.

I suspect something is/was planned as there is a hook in the product_listing.php file under templates.

Code: Select all

// filter hook
    echo $GLOBALS['hooks']->cat('drawForm');

Re: Product listing filter

Posted: Mon Nov 22, 2021 5:02 pm
by Kofod95
@Omar_one and I are working on a filter that filters bases on attributes. Once done, it'll be uploaded as a free addon. It could be modified to work with the soecifications as well (something that I plan to do later).
It works, but not to well for multiple filtering options (read: not at all for multiple options). I hope to have it done soon, but studies and work leave only little time at the momemt, so it might not be before the new year.

@raiwa has an addon for Shop by Price.

//Daniel

Re: Product listing filter

Posted: Wed Dec 15, 2021 10:23 pm
by Kofod95
We have a draft for filtering product listing based on attributes.
There are plans to extend the functionality (see readme), but for now this is what we have.
It is tested on 1.0.8.2 and until 1.0.8.8.

It will be released as a real addon, once it has been cleaned up and made into a module.
I will gladly receive feedback and see if I can implement suggestions. Please see what is planned already in readme before suggesting things though. If someone wants to, you are free to play with the code, improve it and make it your own.

//Daniel