Widget Use

Renders the standard search tool that allows the user to search products and/or content. Displaying product suggestions is optional.


Example of Widget Use

Product Search with placeholder textProduct Search with product suggestions


Where can the Widget be placed?

The widget can be used in the following templates:

  • All Templates
  • Required: Theme Layout Template


Implementation guides

Widget Options

OptionUseCommentsAvailable from Version
DescriptionA short description of the widget's use.We recommend this field be updated so the widget's purpose is clear at a glance from the template page.All
LayerThe layer the widget is valid for.

The layering technology allows for the content to be shown to specific audiences.

This is handy if the content is only valid for a certain type of user or if the same widget is required for more than one audience but different configurations are needed.

The widget can be added to the zone more than once and the layer feature can determine which audience can see each widget. 

All
Static Content Search

The default is to search only products to match keywords. Change to include content pages such as articles and blogs.

Include Static Content Search: Searches both products and static content that match the keyword(s).

Static Content Search Only: Searches products only. 

NOTE - Including static content options are shown only when Content Search is enabled. See: Static Content Search.

Default: disabled


4.14.00
Use Suggestions?

Determines whether suggested searches are offered to the user. These are based on previously entered (successful) search terms over a defined period.

Default: enabled

Toggle to disable

All
Use Product Suggestions?

Determines whether the user is offered suggested products in a dropdown. They can click a suggested product to be redirected to its detail page.

These suggestions are based on Lucene index data.

Default: enabled

Toggle to disable

All
Use Prior Purchase?Determines whether the user can choose to search from only their prior purchases (rather than all available products).

Default: disabled

Toggle to enable

3.88
Search Page URL

The URL for the search function.

NOTE - Changing this widget option is not recommended

Default: /searchAll
Show Product Image?Determines whether a thumbnail image is included in the product search suggestions dropdown.

Default: disabled

Toggle to enable

3.89
Show Product Code?

Determines whether the product code is appended to the description in the suggestions dropdown.

NOTE - This option is only compatible with product suggestions ('Use Product Suggestions?' option). Product codes do not show against search suggestions ('Use Suggestions?' option).

Default: disabled

Toggle to enable

3.89
Show APN Instead Of Product CodeDetermines whether the Australian Product Number is displayed instead of the product code.

Default: disabled

Toggle to enable

3.89
Place Holder ImageThe file path for the fallback image used for products with no image found.Default: /Themes/BPDTHEME01/theme-client-updates/img/placeholder/product-image.png4.03
Show Product Suggestions Heading?If the "Use Product Suggestions" option is enabled, you can display a heading above the suggested products.

Default: enabled

Toggle to disable

4.03
Show Search Suggestions Heading?If the "Use Suggestions" option is enabled, you can display a heading above the suggested search terms with this option.

Default: enabled

Toggle to disable

4.03
Titles
Product Suggestions Heading TextThe heading displayed above suggested products (when "Show Product Suggestions Heading" option is enabled).Default: Product Suggestions4.03
Search Suggestions Heading TextThe heading displayed above suggested search terms (when "Show Search Suggestions Heading" option is enabled).Default: Search Suggestions4.03
Buttons
Search Button TextThe text displayed on the search button.Default: Search4.03
Prompts
Search Place HolderText displayed in the search bar to prompt the user to enter search terms.Default: Product SearchAll
Search Prior PurchasesText displayed next to the prior purchase search option (where Prior Purchase is enabled).Default: Prior Purchase Search3.88
Search User Favourites Text  Text displayed next to the user favourites search option (where Search Favourites is enabled).Default: User Favourites Search4.03



Related help