How Search Rank and Search Placement Are Inherited

For a given product the search rank and search placement, since the use the same logic, are determined using the following look-up order:

  1. Product attribute
    1. If the product is a simple product and has its own search placement value, that value is used.
    2. If the product is a variation product and has its own search placement value, that value is used.
    3. If the product is a variation product and its master has a search placement value, the variation product inherits the master's search placement value and is used..
  2. Category attribute

    If no product attribute exists, the logic falls back to the product's categories.

    1. All category assignments of the product are determined. If the product is a variant, it picks up assignments for its master product.
    2. For each assignment, the search rank is determined using the deepest category that has a value (child categories can overwrite the value) on the path to the assignment.

If the product has multiple assignments, it will therefore have multiple search placements.

At search time, the values for all these assignments are evaluated and the best one is used. The best value is always the one that leads to the highest placement. So, the highest value is applied if a sorting rule with a descending order is used. For search and rank placement, a descending order should always be used.

For example, assume the following category tree with the given search placement values:

If a product is assigned in the categories bestsellers, gloves, and leather goods, and does not have its own search placement, it picks up the values:

If the product search is done in the context of a specific category, only the assignments and values below that category are found:

A search in root finds the assignments in bestsellers, gloves, and leather goods, and use values 2, 5, and 6. Any search with no category refinement is executed on root, so this is the default behavior for all unrefined keyword searches.

Out of the identified values, the best value is chosen. For search rank and search placement, the order should always be descending, so a search in root results in a placement value of 6 for the product (which is the highest value out of 2, 5, and 6).