STR - Search Attribute

Overview

Promote products or content with a search term match on the selected attribute.

WPOS

Use Cases

Mode

Requirements

WPOS

Use Cases

Mode

Requirements

ALL

Search-Based Product Attribute Promoter

SCORER*

You will need to select the name of the product attribute you want to add or change the weight in case of a search term match.

* the Use Cases configuration is provided as SCORER with a default weight of 500.

Variables

  • field: the name of the product attribute

Cases to consider

By default, only these 3 fields are available (ask Boxalino to activate others)

  • “title” (the name of the product, default weight if not configured: 10)

  • “body” (the description of the product, default weight if not configured: 2)

  • “scorerTerms” (all other textual attribute values of the product, default weight if not configured: 1)

If you define one of these 3 attributes, then you must define the two others as well, otherwise, the search will stop searching at all in these attributes which will greatly affect the quality of your search!

How to configure it?

You can import the JSON below directly in the Admin (use the Import button on the top right), as in this screen-shot, you will need to select a field (product attribute) and replace the default value (title) with a value

You can use the search icon on the right of the field and values parameter to get help to select the right field and value.

 

[ { "useCaseModelSource": "library", "useCaseModelId": 15, "useCaseModelVersion": 1, "useCaseModelSubVersion": 1, "name": "Search Attribute", "order": "11", "orGroup": null, "fromIndex": -1, "toIndex": -1, "maxWeight": null, "variant": "", "scope": "local", "overwriteLevel": 1, "overwriteLabel": null, "globalTargetTags": null, "active": true, "parameters": [ { "name": "field", "value": { "format": "StringParameterValue", "value": "title" }, "scope": "global", "startval": {}, "schema": "" }, { "name": "boostWeight", "value": { "format": "StringParameterValue", "value": "500" }, "scope": "global", "startval": {}, "schema": "" } ], "segmentationIds": null, "segmentationUniqueKeys": [], "CPOInitiativeId": null, "notes": null, "options": { "status": null, "includeWidgets": null, "excludeWidgets": null, "allWidgets": null, "conditionalSegments": null, "conditionalProductSelections": null, "ordering": null, "parameters": [ { "name": "system", "values": [ "false" ] } ], "allLinkedAccounts": null, "accounts": null }, "icons": { "strategy": { "value": "cpo_sales.png", "tooltip": "SALES OPTIMIZATION" }, "level": { "value": "L1", "tooltip": "LEVEL 1 - ONLINE CONVERSIONS" }, "initiative": { "value": "fa-folder", "tooltip": "RELEVANT SEMANTICS" }, "character": { "value": "", "tooltip": "" }, "mode": { "label": "", "value": "", "tooltip": "" } }, "sections": [ { "id": "main", "label": "Values", "active": true } ], "isSelected": true } ]