I’m want to build a page that have filtering capabilities like ebay or amazon,
something like this:
I was wondering if there’s a plugin or liquid logic that can do that.
Oh and i’m not that much of a developer (not afraid of liquid or a little bit of JS, though),
so i need something i can wrap my tiny brain around
Thanks in advance for any help!
How many items are we talking about?
If it’s a few dozen, Isotope might work.
If it’s a few hundred or a few thousand, check out Algolia. They have an Amazon’esque boilerplate to get you started. Link to code can be found here.
There are likely a few worthwhile Jekyll plugins, but I’ll let someone else chime-in for recommendations as I’m not too familiar with that side of the plugin world.
One option might be DataTable, a jQuery plugin for manipulating HTML tables. I’ve had good success using Jekyll to transform data into a basic HTML table (a simple Liquid loop), and then use DataTable to add search/sort/filter functions.
For the type of filtering you want, the closest example-code might be the Multi-filter:
If you customize that to use checkboxes rather then select popups, it would be close to what you want.
Just throwing in another option…
Thank you guys for all the options, i’ll have to see if i can handle all the JS part of your solutions.