What it does
Smart Search, in practice.
A type-ahead search box delivered by the [ambikly_smart_search] shortcode or by adding data-ambikly-smart-search to any input. Keystrokes are debounced for 180 ms and sent to GET /ambikly-pro/v1/smart-search, which matches the query against product name, SKU and short description, orders results by units sold on non-cancelled orders, and optionally returns up to five matching published categories. The panel shows thumbnails, names and formatted prices, supports arrow-key navigation, Enter and Escape, and carries combobox ARIA attributes. Links point at the real shop page, so the box works in a header or widget. The endpoint enforces the minimum character count and allows 60 requests per IP per minute.