Wednesday, February 15, 2017

Making a product as hero product in Hybris

The hero product works only for the category search profile not for the free text search profile.
Go to backoffice and select the commerce search perspective
Select a category from the categories box, the products belongs to the category will be shown in result list area with greyed star against each product
Click on the grey star of the product that we need to make it as hero product
Go to the storefront and select the category, we can see that the hero prouduct is coming as top
For achieving this hybris add the bq=(code_string:^1000000.0) to the solr query 
The solr log will be there in the solrserver\resources\solr\server\logs\solr.log file to see the solr query

No comments:

Post a Comment