Skip to main content

Search bar

You decide what the search bar looks like in the plentyShop and which results it delivers.

online store search results
Customisable item search for plentyShop LTS version 5.0 and higher

It’s possible to customise the front end item search for plentyShop LTS  version 5.0 and higher. Lower versions do not support this function.

1. Assembling the search bar

1.1. Add the necessary widgets

Which types of search results should be displayed in the plentyShop? Items, categories or perhaps even a list of suggested search terms (“Did you mean…​”)? Each type of search result is a ShopBuilder widget that you can add to your shop layout and customise individually.

Assembling the search bar with widgets:

  1. Go to CMS » ShopBuilder.

  2. Open the header element.

  3. Click on the magnifying glass to open the area for search widgets (see GIF).

  4. If needed, insert a grid with multiple columns.

  5. Insert some or all of the following widgets:

    1. Header » Search results: Item

    2. Header » Search results: Categories

    3. Header » Search suggestions

  6. Save () the settings.

searchbar searchresults

1.2. Modify the texts

You can change the widget texts to meet your needs. For example, you could change the text in the search bar from “Search suggestions” to “Did you mean…​”.

Renaming texts:

  1. Click on for each of the widgets.
    → The widget title is outlined in green.

  2. Rename the text as needed.
    Example: Change the text from “Search suggestions” to “Did you mean…​”.

  3. Double-click on the text to see a toolbar with formatting options.

  4. Save () the settings.

texts

1.3. Customise the appearance

You can modify the appearance of the search bar as needed. For example, you can decide whether preview images should be displayed and whether the number of matching products should be visible.

Customising the appearance:

  1. Click on for each of the widgets.
    → The widget settings are displayed on the right.

  2. Customise the settings as needed.
    Example: Decide whether item images should be displayed in the search results.

  3. Save () the settings.

appearance

2. Which item data should be considered?

You decide which item data is relevant to the search function. During a search, only the item data that you selected will be queried. You also decide how heavily weighted each piece of item data should be. The higher the number entered, the higher the item data field will be prioritised in the search result.

Choosing and prioritising item data:

  1. Go to Setup » Item » Search » Frontend » Search settings.

  2. Activate the item data fields () that should be included in the search results and search suggestions.

  3. If needed, enter a value into the Boost column.

  4. Save () the settings.

Which boost value should I enter?

You can enter any number as a boost value. The default settings are appropriate in most cases. These default settings prioritise the variation ID and the item ID. So if someone searches for a number in your plentyShop, then the search results will give priority to these ID fields.

What’s the difference between search results and search suggestions?
  • Search results are the items or categories that match the search term.

  • Search suggestions are similar words to whatever terms the customer entered. Search suggestions help customers find what they’re looking for, even if they enter vague or misspelled text. "Did you mean…​”

Note: If you activate an item data field for the search suggestions on the right, then the field will automatically be activated for the search results on the left too. Why? Otherwise you would be suggesting customers to use a search term that doesn’t deliver any results.

3. Which languages are needed?

The search function can be activated for up to three languages. The languages German, English and French are activated by default. If you run plentyShops in other languages, you can select different languages.

Search index is completely rebuilt after any changes

If you change the language settings, the search index is completely rebuilt. That means that all items are added to the index again from scratch. Depending on how many items you have, this process can take several days.

Changing the languages:

  1. Go to Setup » Item » Search » Frontend » Languages.

  2. Activate or deactivate languages as needed ().
    Note: Only three languages can be activated per system at the same time.

  3. Save () the settings.
    → The items are added to the search index for the activated languages.

4. Dealing with partial words

Imagine you sell earbuds. If a store visitor enters “buds” into the search bar, then no direct results are displayed. Why not? What can you do about it?

partial words

Partial words are not directly found. But you can still do a few things to help your customers find the right products.

  • Add the search suggestions widget to your search bar. It is capable of finding partial words. However, the search suggestions are not associated with specific items/variations, which means that no additional product information is displayed there.

  • Go to Setup » Assistants » Plugins » [Open plugin set] » plentyShop LTS and navigate to the step Search. Find the area Search operator for search results and select the search operator “Or” operator. This makes it possible for search results with partial search terms to be displayed.

  • Save the partial words as keywords or descriptive texts within your item data records. Then activate the keywords or descriptions for the search results.

5. Sorting the search results

When a shop visitor enters a term into the search bar and hits “Enter”, he or she will land on a page with search results. You can decide how the products are sorted on this results page, i.e. which product is displayed first, second, third, etc.

  1. Go to Setup » Assistants » Plugins » [Open plugin set] » plentyShop LTS.

  2. Navigate to the step Search.

  3. Find the area Default sorting of search results.

  4. Select the appropriate sorting option from the drop-down list.
    Note: If you choose Relevance or Recommended, then use the next steps to specify how exactly the results should be sorted.

6. Frequently Asked Questions (FAQ)

Can I rename the texts? I don’t like “Items”, “Categories” and “Search suggestions”.

Yes. You can change the texts to meet your needs. For example, you could rename the “Search suggestions” widget to “Did you mean…​”. Further information.

I want item images to appear in the search preview. Can I do that?

You can modify the appearance of the search bar as needed. For example, you can decide whether preview images should be displayed and whether the number of matching products should be visible. Further information.

Will partial words also be found?

Not directly. But you can do a few things to change that. Further information.

When I press enter, the search results don’t make sense. Why?
  1. Switch the sorting option to relevance.

  2. Contact team item in the forum , and ask them to update the index.

Switching to relevance should improve the search results.

My plentyShop is available in multiple languages. What should I do?
  1. The search function can be activated for up to three languages. The languages German, English and French are activated by default. If you run plentyShops in other languages, you can select different languages. Further information.

  2. Furthermore, you’ll need to assemble the search bar for every language, i.e. add widgets, customise the text and the appearance. Further information.

Can I also create search filters (facets)?

Yes. Shop visitors can use search filters to limit which products they see. For example, only black Nike shoes that cost less than €150. The more products a shop category includes, the more important search filters are. Further information.

To top