Showing posts with label SnP. Show all posts
Showing posts with label SnP. Show all posts

Saturday, 27 July 2019

Hide facet item in Adobe Seach and Promote

Using Adobe Search and Promote we can able to hide specific facet items. For example, you have a product type as "Lorem Ipsum" and you want to hide this facet item under "Product Type" facet, you can achieve this by adding a business rule. After adding this rule, "Lorem Ipsum" facet item is not displayed.

Rules -> Business Rule




After adding this rule test it in simular or in author AEM instance.


Click here to see how to integrate AEM and SnP.

Tuesday, 23 July 2019

Redirect to specific page using Adobe Search and Promote

Using Adobe Search and Promote we can redirect a user to a specific page skipping the search results page.

Consider a scenario for eCommerce website, if a user searches for a product id then it's good to redirect the user to product display page instead of the search results page. We can achieve this by adding a post search rule in SnP as shown below.

Rules -> Post Search Rule


After adding this rule test it in simular or in author AEM instance.


Click here to see how to integrate AEM and SnP.

Search each word in query param using Adobe Search and Promote

We can use Adobe Search and Promote to search each word and display the search results. By default, SnP will search whole string in Query param. For example, if your search query is "AEM Quickstart" then your search results will be *AEM Quickstart*. You won't see results with only "AEM" or "Quickstart".

To achieve this, we should add Post Search Rules.

Rules -> Post Search Rule -> +Add Rule


After adding this rule test it in simular or in author AEM instance.

Click here to see how to integrate AEM and SnP.