I'm working on Algolia initially my category page shows the sub categories through which the user filters the products but when the user click clear all button it removes the filters but start showing products instead of the initial categories it was showing

I have traced it back to instantsearch.js but I'm unable to change it.

            container: '.clear-all',
            templates: {
              link: 'Clear all'

            autoHideContainer: false,
            clearsQuery: true,

the excludeAttributes is doing something to the filter but i'm unable to change it I've read algolia's document but unable too find any solution.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.