Live Search for WooCommerce is a plugin where users can search WooCommerce products using an AJAX autocomplete feature.
Main Features
- Display the product thumbnail on search results.
- Display the product price on search results.
- Display the product categories on search results.
- Option to select multiple results.
- Choose if you want to redirect on search result selection.
Frontend
Search for products using an good looking autocomplete feature.
Select multiple results if you want.
Backend
Plugin settings are located in “WooCommerce > Settings > Live Search”.
General Options
In general options turn on/off the plugin or enable multiple selection and automatic redirection.
- Load Select2
- Loads most recent version of Select2. Mark this only if you are not loading Select2 nowhere else. Select2 is responsible for improving the html select element. It is required for this plugin to work. If you are uncertain, please leave it enabled.
- Default:
yes
- Default:
- Multiple selection
- Allows multiple value selection. The search input will not automatically redirect to the selected search result. You can use the shortcode
[alg_wc_aps_input multiple="true"]
to turn on this feature on a separated field.- Default:
no
- Default:
- Automatic redirection
- Redirects automatically to the selected search result. It does not work with “Multiple selection”. You can use the shortcode
[alg_wc_aps_input redirect="false"]
to turn off this feature on a separated field.- Default:
yes
- Default:
Text Options
Customize all messages displayed to users easily.
- Input too short
- Text displayed when input is not long enough to start searching.
%d
is going to be replaced by the number of characters missing to start searching.- Default:
Please enter %d or more characters
- Default:
- Input too long
- Text displayed when input exceeded the maximum characters allowed.
%d
is going to be replaced by the number of characters missing to start searching.- Default:
Please delete %d or more characters
- Default:
- Error loading
- Text displayed when some error occurs.
- Default:
Error loading results
- Default:
- Loading more
- Text displayed when there are more results to be loaded.
- Default:
Loading more...
- Default:
- View all results
- Text displayed with a link pointing to a page showing all search results.
%d
is going to be replaced by search results amount.- Default:
View all results (%d)
- Default:
- No results
- Text displayed when there are no found results.
- Default:
No results found
- Default:
- Loading
- Text displayed when products are being searched.
- Default:
Loading...
- Default:
- Search products
- Search input placeholder.
- Default:
Search products
- Default:
Search Options
Cache your results improving search speed and saving bandwidth.
- Cache
- Saves search results in a transient. It helps improving search speed in high traffic sites.
- Default:
yes
- Default:
- Cache timeout
- The amount of time results will be stored in transient (in hours).
- Default:
4
- Default:
Style Options
On the style section, make your search results look more attractive displaying product thumbnails, price and categories. Besides that, customize the search box style the way you want it.
- Search Results Template: Thumbnail
- Shows the product thumbnail.
- Default:
no
- Default:
- Search Results Template: Price
- Shows the product price.
- Default:
no
- Default:
- Search Results Template: Category
- Shows the product category.
- Default:
no
- Default:
- General Style: Placeholder color
- Placeholder text color.
- Default:
#6d6d6d
- Default:
- Search Results Style: Alignment
- General alignment of search results. Possible values: Left; Right.
- Default:
Left
- Default:
- Search Results Style: Text color
- Text color of search results.
- Default:
#6d6d6d
- Default:
- Search Results Style: Text color - hover
- Text color of search result when mouse is over it.
- Default:
#fff
- Default:
- Search Results Style: Background color - hover
- The background color of a search result when mouse is over it.
- Default:
#5897fb
- Default:
Shortcodes
[alg_wc_aps_input]
– Displays the search input.- Params
- placeholder – string – Changes input placeholder.
- multiple – boolean = false – Allows multiple values selection.
- redirect – boolean = true – Allows redirection on search result selection.
- Params
Reviews
There are no reviews yet.