內容簡介
Raintech Product Search Bar for WooCommerce 為您的商店增添即時 AJAX 搜尋框,顧客在輸入時,符合條件的產品會立即顯示在下拉選單中,包含產品圖片、標題、價格及庫存狀態,無需重新載入頁面。
【主要功能】
• 即時 AJAX 搜尋,減少伺服器負擔
• 顯示產品圖片、標題、價格及庫存狀態
• 簡單的短碼使用:[raintech_search_bar]
• 內建 WordPress 小工具,可放置於側邊欄
• 可配置的佔位文字及結果限制
• 安全的 Nonce 保護 AJAX 請求
外掛標籤
開發者團隊
② 後台搜尋「Raintech Product Search Bar for WooCommerce」→ 直接安裝(推薦)
原文外掛簡介
Raintech Product Search Bar for WooCommerce adds a live AJAX-powered search box to your store. As customers type, matching products appear instantly in a dropdown, showing the product image, title, price, and stock status — no page reload required.
Features:
Live AJAX search with debounced input (reduces server load)
Displays product image, title, price, and stock status in results
Simple shortcode: [raintech_search_bar]
Built-in WordPress widget for sidebars and widget areas
Configurable placeholder text and result limit
Nonce-protected AJAX requests for security
Clean, responsive dropdown UI
Lightweight — no external libraries beyond jQuery (already bundled with WordPress)
Shortcode usage:
[raintech_search_bar placeholder="Search our store..." limit="10"]
placeholder — text shown inside the empty search box (default: “Search products…”)
limit — maximum number of results shown in the dropdown (default: 8)
Widget usage:
Go to Appearance → Widgets and add the “Raintech Product Search” widget to any widget area. You can set a widget title and placeholder text.
