Currently running 1.5.8a ZenCart/3.6.3 Bootstrap Template on PHP 8.
Previously I had the AJAX search of the header working but as of today, likely the update as it worked prior, has stopped working.
I inspected the error console and found this error when I checked it:
Code:
Uncaught TypeError: jQuery(...).modal is not a function
at HTMLAnchorElement.<anonymous> (ajax_search.min.js:6:123)
at HTMLAnchorElement.dispatch (jscript_a_jquery.js:25:1102)
at q.handle (jscript_a_jquery.js:24:29909)
(anonymous) @ ajax_search.min.js:6
dispatch @ jscript_a_jquery.js:25
q.handle @ jscript_a_jquery.js:24
Unfortunately I'm not well versed with JQuery to even begin how this should be fixed. I only know that the code points to the following:
Code:
jQuery("#search-icon, #mobile-search").on("click", function(e) {
jQuery("#search-wrapper").modal()
}),
Would appreciate any help.
Bookmarks