-
Couldn't load subscription status.
- Fork 2.2k
Description
I'm thinking about implementation of products filtering. It should be definitely external package, for example as reaction-search. This functionality might be helpful on any page with list of products - main and tag pages.
From the beginning I want to have filtration by fields:
- price
- weight
- hashtag
- search query
Only for admins:
- visibility
- taxable
- inventoryManagement
- inventoryPolicy
- inventoryQuantity ranges
And optionally by any metafields. Also search field could be one of the filtration criteria.
I'm thinking how to implement it and i'm not sure about right way. Perhaps we need denormalization of Product table and make new table with only filtration fields and structure - variant per row. Filtration by this table will get the link back to the real Product.
Any advices are appreciated.