Skip to Content
0
Former Member
May 01, 2018 at 03:59 PM

SOLR Index Search for Variant Products.....

1409 Views

I have a question that I'm sure others have dealt with, and hopefully have some useful suggestions.

So, the scenario we have is we wanted to simplify the front end search and navigation to make for a clean (uncluttered) user experience. So, I will explain below how we have loaded the product into Hybris.

We have several models of lighting products that can be available in various configurations depending on the type of connector or body color of the light fixture. So, in this one model's case, we could have 15 different variations, depending on how you chose those options, however, it's really all the same product. This is perfect for variants, because you have to make those selections before you can reach an orderable product and otherwise the PLP page would be littered with virtually similar products.

So, we set up Article Numner: 7050A1000 as the base product, and it can be found via front end navigation. It's a 2-level variant. When you navigate, you come to this page and will need to make the following selections.

alt text

There are 15 actual products that can be reached via this page, however, depending on the selections chosen. Once selections are made, you are directed to the appropriate PDP page for the variant product, as shown below.

alt text

In this case, I am now on the PDP page for Article Number: 7050A1000-1A, which is an actual orderable part, and I can now add this product to my cart.

This works great, but we have a requirement for users to be able to search by the actual Article Number, which many of our customers know and would like to order by searching for this part number directly. However, we have discovered that with the way we have modeled this product in Hybris, the SOLR index search does not allow me to reach the individual products nested under the variant base product, so my search results are blank.

SOLR does not find any relevant product matches when searching for "7050A1000-1A", even though that product does actually exist in my catalog. I believe this is because out of the box SOLR index search uses the PLP display rules.

I am hoping there is a way I can keep the clean / simple PLP navigation to my base product, yet still be able to search and directly find the PDP page of the specific product I am looking for if I enter it into search.

Any help with this issue or suggestions would be greatly appreciated. I am somewhat new to Hybris and SOLR index configurations. Thanks.