Skip to content
Documentation sections
English
Integrations

How to add smart search to 1C-Bitrix / Bitrix

Connect smart search to 1C-Bitrix through your theme settings or the store template's header.php file.

Prepare the catalog and code

  1. Connect your product feed in Indexa and wait for the catalog to load.

  2. In “Widget → Integration”, enter the website URL and copy the universal code.

Before installation

This guide covers the 1C-Bitrix store CMS, not Bitrix24. Choose an installation method available in your theme and administration panel.

Add the search code to 1C-Bitrix / Bitrix

  1. If the theme has a global field for code in head, paste the complete Indexa script there.

  2. Otherwise, ask your site maintainer to add the code to header.php in /local/templates/TEMPLATE_NAME/ or /bitrix/templates/TEMPLATE_NAME/.

  3. Back up the template and add the script before </head>, preserving the existing template code and system calls.

  4. Save the changes and clear the Bitrix and theme cache.

Example for header.php

Example for header.php
<head>
  <!-- Existing template code and system calls -->
  <script async src="INDEXA_LOADER_URL_FROM_DASHBOARD"></script>
</head>
HTML

Check search after installation

Open your store, then use “Check installation” in Indexa. Select the desktop and mobile search elements and save.

Search for a product, follow its link and close the widget. Repeat on the home, category and product pages.

If different pages use different templates, check that the code is present in each required template.

Still have questions? Contact us — We will help you set it up.

Esc — close