We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b65aa12 commit 2e2e9f3Copy full SHA for 2e2e9f3
view/frontend/requirejs-config.js
@@ -27,7 +27,6 @@ var config = {
27
'rangeSlider' : 'Algolia_AlgoliaSearch/navigation/range-slider-widget',
28
},
29
deps : [
30
- 'algoliaAutocomplete',
31
'algoliaInstantSearch',
32
'algoliaInsights'
33
],
view/frontend/templates/autocomplete.phtml
@@ -7,5 +7,12 @@ $catalogSearchHelper = $blockInstance->getCatalogSearchHelper();
7
8
// Render form with autocomplete input
9
if ($config->isAutoCompleteEnabled()) : ?>
10
+ <script type="text/x-magento-init">
11
+ {
12
+ "*": {
13
+ "algoliaAutocomplete": {}
14
+ }
15
16
+ </script>
17
<div id="algoliaAutocomplete" class="block block-search algolia-search-block algolia-search-input"></div>
18
<?php endif;?>
0 commit comments