In the SiteGenesis application, you can define flexible banners on the search results page that are triggered when the customer enters certain search terms in the search field.
SiteGenesis allows you to highlight sitewide information in a banner when a user searches for products. You can choose to display a search result banner that is displayed whenever a customer uses the search function, or a keyword banner that is specific to the keyword a user searches for.
To display a search result banner, you must add a content slot to the site search page template.
With a keyword banner, if the customer enters television, a special
television banner appears on the search results page because there’s a related
content asset, as follows: id=keyword_television.
When the search term (keyword) matches the ID of the content asset, Salesforce B2C Commerce shows the banner related to the content asset instead of the banner assigned in the global slot, which typically occurs. The content asset containing the banner must be in the Search Banner library folder.
To use a keyword triggered banner, you must use the Keyword Merchandising Banner cartridge.
To create a keyword search triggered banner:
keyword_<search term>
In your storefront, searching for the term specified early now displays the assigned banner along with the results.