QUESTION:


We have an error in display the Filter by Price. This is an error in ajax_layered.js:


Uncaught TypeError: sliderElement.slider is not a function
at $.<computed>.<computed>.initSlider (ajax_layered.js:520:39)
at $.<computed>.<computed>.initSlider (widget.js:132:25)
at $.<computed>.<computed>._create (ajax_layered.js:61:18)
at $.<computed>.<computed>._create (widget.js:132:25)
at $.<computed>.<computed>._createWidget (widget.js:330:8)
at new $.<computed>.<computed> (widget.js:87:9)
at $.<computed>.<computed> (widget.js:81:11)

Please provide the fix?


ANSWER:


To solve the incompatible error, please edit the file app/code/Bss/LayerNavigation/view/frontend/web/js/ajax_layered.js as below:



Or upload the file below to override the current file on your site.



If you have any other questions or concerns, please feel free to contact us.