If you are using version < 3.15.0 of the extension, you'll need to recompile the Algolia bundle files, which are included within the Magento plugin, to use the latest version of InstantSearch. This can be done by following the steps below (you may need a developer to assist with this):
- Clone the algoliasearch-extensions-bundle repository
- On the branch 'ISv4' open
package.json
- Set InstantSearch to the latest version:
instantsearch.js: ^4.x.x
- Set the algoliasearch-helper to the required version:
"algoliasearch-helper": "^3.x.x"
- Run
npm run build
to generate the new Algolia bundle files - In the directory
vendor/algolia/algoliasearch-magento-2/view/frontend/web/internals
replace thealgoliaBundle.min.js
andalgoliaBundle.min.js.map
files with the ones you just generated
As of version 3.15.0, support for the bundle has been discontinued and these libraries are now included individually in the Magento extension and can now be swapped independently and loaded via RequireJS.