Autocomplete and InstantSearch are pre-configured for BigCommerce’s Cornerstone theme.
For other themes, you might need to adjust the Autocomplete or InstantSearch CSS and JavaScript.To do this:
Go to Search experience in the app and select the storefront channel.
Select Edit code at the top of the page.
In the code editor, pick the feature (InstantSearch or Autocomplete) and the language (CSS or JavaScript).
Make your changes, then select Save & publish to apply them to the channel’s live themes.
Code changes apply to the selected channel only and don’t require reindexing.The combined size of the code injected into your store is limited to 65,536 characters per feature.
If your custom CSS or JavaScript exceeds this limit, saving fails with an error that states how many characters to remove.
The version badge in the code editor shows the version of the default code your customizations are based on.
When Algolia releases new default code, the badge changes to update available.Algolia performs updates periodically,
so you might not see an update available immediately.To update:
In the code editor, select View update next to the version badge.
The editor shows the differences between your existing code and the new version.
Select Apply update.
Applying replaces the current code in the editor, so re-apply any customizations you want to keep.