Save instant search results for editing using Chrome tools

We are trying to customize the Algoila instant result display menu according to our custom Magento theme. Does anyone know how to open an instant result menu so that we can check items using Chrome tools?

+5
source share
2 answers

You can put the following debug flag in true :

  var options = { hint: false, templates: { dropdownMenu: '#menu-template' }, dropdownMenuContainer: "#algolia-autocomplete-container", debug: true // to inspect the dropdown menu }; 

Related documentation here .

+8
source

Alternatively, open the Chrome developer tools, go to the "source" tab, and from there you can press Cmd + \ to pause the script while the drop-down list is visible.

+1
source

Source: https://habr.com/ru/post/1240567/


All Articles