Help Center
-
Knowledge Base
-
-
-
- Articles coming soon
-
- Home
- Install Settings
- Merchandising
- Personalize
- Category
- NLP
- Script-Hooks
- Analytics
- Manage Users
- Agentic Search (AI-Powered Conversational Search)
- AI Synonyms
- Semantic Search
- AI Shop Assistant (Chat Widget)
- Recommendations Widget
- Advanced Filtering & Filter Trees
- Troubleshooting Guide
- Search Performance Optimization
- BigCommerce Search Integration
- WooCommerce Search Integration
- Getting Started with eCommerce Search
- Ecom Copilot (AI Sales Assistant)
- AI Filtering (Query Tagging and Intent Classification)
- Visual Merchandising (Product Pinning)
- Geo Merchandising
- A/B Testing
- Showcase Products (Zero-Character Search)
- Delete Products from Search Index
- Landing Pages
- Autocomplete Configuration
- Popular Suggestion Queries
- Tab Views
- Theme Setup
- Search Bar Integration
- Search Redirects
- Advanced Configuration (Search Weights)
- Matching Options
- Connect BigCommerce
- GDPR and Privacy Settings (Cookie Consent)
- Image Search (Visual Search)
- Smart Notifications (Back-in-Stock and Price Drop Alerts)
- Leverage GA4 Data (Google Analytics 4 Integration)
- Manage Users (Dashboard Access and Permissions)
- Reporting Overview
- Show all articles (28) Collapse Articles
-
-
- Install Settings
- Analytics
- Search settings
- Merchandising
- Category
- NLP
- Search-API info
- Manage Users
- Script-Hooks
- Personalize
- Agentic Search (AI-Powered Conversational Search)
- AI Synonyms
- Semantic Search
- Recommendations Widget
- Advanced Filtering & Filter Trees
- Troubleshooting Guide
- Search Performance Optimization
- WooCommerce Search Integration
- Show all articles (3) Collapse Articles
-
-
- Instructions to install app
- Home
- Install Settings [Shopify]
- Category
- Merchandising
- Search settings
- NLP
- Analytics
- Search-API info
- Manage Users
- Script-Hooks
- Personalize
- Agentic Search (AI-Powered Conversational Search)
- AI Synonyms
- Semantic Search
- AI Shop Assistant (Chat Widget)
- Recommendations Widget
- Commerce MCP Server (Shopify AI Tools)
- Advanced Filtering & Filter Trees
- Troubleshooting Guide
- Search Performance Optimization
- Ecom Copilot (AI Sales Assistant)
- Search Bar Integration
- Search Redirects
- Metafields and Tags (Shopify)
- Product Bundles (Shopify)
- Collection Pages (Shopify)
- GDPR and Privacy Settings (Cookie Consent)
- Image Search (Visual Search)
- Smart Notifications (Back-in-Stock and Price Drop Alerts)
- Leverage GA4 Data (Google Analytics 4 Integration)
- Manage Users (Dashboard Access and Permissions)
- Reporting Overview
- Show all articles (18) Collapse Articles
-
- Getting started
- Installation Guide
- Magento 2 Search Integration - Adobe Commerce edition
- Commerce MCP Server (Shopify AI Tools)
- BigCommerce Search Integration
- WooCommerce Search Integration
- Getting Started with eCommerce Search
- Connect BigCommerce
- Domain Allowlist (WordPress)
- Leverage GA4 Data (Google Analytics 4 Integration)
-
- Articles coming soon
-
- KB Home
- Knowledge Base
- Ecommerce Search [Custom Stack]
- UI Customization
- Search Bar Integration
Search Bar Integration
Overview
The Search Bar Integration page controls how the ExpertRec search widget connects to the search input on your store. You can configure ExpertRec to attach to your existing search box, inject a new search box, or target a specific element using a CSS selector.
Navigate to: UI Customization > Advanced > Search Bar Integration
Integration Modes
Use Existing Search Box
ExpertRec takes over your theme’s existing search input field. Type-ahead and results appear as the customer types, but the visual appearance of the input itself comes from your theme. This is the recommended mode for most stores because it requires no layout changes.
To use this mode, provide the CSS selector for your existing search input. For example:
input[type="search"].search-form input#site-search
Add New Search Box
ExpertRec injects its own search box into a location you specify. Use this mode when your theme does not have a search input or when you want to add search to a specific page section.
Provide the CSS selector of the container element where the search box should be inserted. ExpertRec appends the search box inside that container.
CSS Selector Targeting
Both modes rely on CSS selectors to identify elements on your page. Tips for finding the right selector:
- Right-click the search input in your browser and select Inspect.
- Look at the
id,class, ornameattributes of the element. - Build a selector using the most specific unique attribute, such as
#search-inputorform.search-bar input. - Verify the selector returns exactly one element in the browser console using
document.querySelector('your-selector').
Configuration Steps
- Navigate to UI Customization > Advanced > Search Bar Integration.
- Select the integration mode: Use existing search box or Add new search box.
- Enter the CSS selector for your search input or container element.
- Click Save.
- Visit your storefront and confirm the autocomplete dropdown appears when you type in the search box.
Troubleshooting
- Dropdown not appearing: Verify the CSS selector matches exactly one element. Check the browser console for JavaScript errors.
- Multiple search boxes targeted: Use a more specific selector to target only the desired input.
- Theme updates breaking integration: Re-inspect your theme’s HTML after updates to confirm the selector is still valid.