OSCAR_SEARCH_FACETS for filtering product lists
问题 I am working on an ecommerce website using django oscar. Products are listed and I have to apply filters (e.g. year, price, etc.). Can we use oscar facet for this filtering functionality? I have tried adding following as per oscar documentation, but don't know how to make it work and render on my front end. OSCAR_SEARCH_FACETS = { 'fields': OrderedDict([ ('product_class', {'name': _('Type'), 'field': 'product_class'}), ('rating', {'name': _('Rating'), 'field': 'rating'}), ]), 'queries':