Problem: Text typed into the search bar needs some secs to appear.
Rapid Search script on default is loaded just after the whole page is loaded. To speed up the appearance of the instant search, our script has to be inserted directly into the Liquid files.
Solution:
1) Change the "YOURDOMAIN" text to your store's Shopify Name
<script type="text/javascript" async src="https://rapid-search-static-abffarbufmhgche6.z01.azurefd.net/resultpage.js?shop=YOURDOMAIN.myshopify.com"></script>
Example: Your live domain is: bestexample.com but your myshopify domain is bestexample123.myshopify.com then you will need to use bestexample123.myshopify.com
2) Insert the script into theme.liquid
- Open your Shopify store's admin
- Navigate here: Online store > Themes > Current theme > Actions > Edit code
- Search for and open this file: theme.liquid
- Insert our script into theme.liquid file before the closing </body> tag