Quantcast
Channel: Documentation - Smart WooCommerce Search
Viewing all articles
Browse latest Browse all 9

General Settings

$
0
0

Introduction

Customize the general settings of the Smart WooCommerce Search plugin to enhance user experience and search efficiency. These settings can be found under the General tab of widget settings.

Note: Some features are exclusive to the PRO version.

Input Field

Placeholder

Set default placeholder text for the custom search bar (e.g., “Search products”). Note: This won’t affect the default WooCommerce or Avada search bar.

Minimum Number of Characters

Specify the minimum number of characters required to initiate a search.

Results Popup

Maximum Number of Results

Limit the number of suggestions displayed in the results popup.

Excerpt Size Limit

Set the maximum number of  characters for a suggestion description.

“No Results” Text

Customize the text shown when no results are found.

“View All” Button Text

Text for the button to view all search results. Usually follows to a default search results page. The button is displayed if the field is not empty.

New Tab on “View All” Button Click

Open results in a new tab when the “View All” button clicked. Adds target="_blank" attribute to the “View All” button.

Number of Found Posts in the “View All” Button

Display the total number of search results in the button.

Disable AJAX

Disable AJAX to prevent displaying of the results popup. Users must click “View All” button to see results.

Search Features

Multiple Word Search

Configure how multiple search terms are handled. When user types in a few words there are three options to handle this:

  • No: find products matching the exact search string (e.g., “red dress”).
  • “alpha” OR “beta”: find products matching at least one search term (e.g., “red” or “dress”).
  • “alpha” AND “beta”: find products matching all search terms (e.g., “red” and “dress”) regardless of words order.

Exclude “Out of stock”

Exclude “Out of stock” products / variations from search results.

Visibility of Variable Products

Control the display of variable products and their variations in search results.

  • Parent variable product with variations: show both variable products and their variations.
  • Only parent variable product: show only variable products, excluding variations.
  • Only variations: show only variations, excluding parent variable products.

Skip Punctuation

Ignore punctuation in search queries.

Search Results Page

Disable Redirect to Product Page

Prevent default WooCommerce redirection to a product page if only one search result is found.

Suppress Query Altering

Prevent the theme or plugins from modifying the query on the search results page.

Disable Smart Search Feature on the Search Results Page

Stop the plugin from altering results on the search results page. By default the plugin modified search results according to selected options.

Disable WooCommerce Layout on the Search Results Page

Use the default theme layout instead of the WooCommerce template. Useful if you want to display posts with products together.

Highlight Search Terms on the Search Results Page

Highlight matching terms in the product titles on the search results page. This option works only if the Smart Search Feature is not disabled on the search results page.

Advanced

Enable Transient

Save query results in a transient stored by WordPress in the database. This is useful if your server does not support Memcache or Redis.

Product Slug Override

Adjust this setting if you have changed the base slug for WooCommerce products. The base slug is “product”.

 

The post General Settings appeared first on Smart WooCommerce Search.


Viewing all articles
Browse latest Browse all 9

Trending Articles