Sorting products using deep search sequencing

Deep search sequencing refers to the process of ordering products within a category and all its subcategories. This process is used to enhance the storefront by using Category-based browsing flows that customers can use to browse products.

About this task

This task enables deep search sequencing by sorting by both category sequence and product sequence. This is done by setting the EnableDeepProductSequence value to true in the catalog component configuration files on both the HCL Commerce and Search EAR files.

Alternatively, if you want to enable sorting only by product sequence, instead set the EnableDeepProductSequence value to false in the catalog component configuration files on both the HCL Commerce and Search EAR files.

Procedure

  1. Configure the search properties in the search component configuration file (wc-component.xml) .
    The catalog component configuration file is stored in the following location on the Search Liberty server:
    Liberty_SearchServer_Dir/resources/search/runtime/config/com.ibm.commerce.search/wc-component.xml
    The default search component configuration file for the search application.
    workspace_dir/search-config-ext/src/runtime/config/com.ibm.commerce.search/wc-component.xml
    The extended search component configuration file for the search application.
    1. Set the following property.
      
      <_config:property name="EnableDeepProductSequence" value="true" />
      
      
    2. Save and close the configuration file.
  2. Build the HCL Commerce Search index.

What to do next

After enabling deep search sequencing, you can browse the storefront and see that products are sequenced across a category and all of its subcategories.