Quantcast
Channel: Developer to developer
Viewing all articles
Browse latest Browse all 9076

Product/Variation Search Approach

$
0
0

We are using Commerce 12 with Find.  However, my question is less technical and more about best practices.

I'm struggling a little bit with the proper approach to searching a catalog.  Our catalog has a fairly straightforward structure in which our products have high level properties (brand, flavor, texture) and our variants have container information (container type, size) that act as our SKUs.  

The search results we would like to return are not products.  We really want just the variants to show up in a product search.  While I can do this by specifying the ClassType in the criteria object, we lose facets at the product level (such as brand).

As a general approach, what is the proper way to tackle a scenario like this?  Do we have to do custom indexing or is there a more straightforward approach we could take?  If we index, should we be adding product information to our variant entries or vise-versa?


Viewing all articles
Browse latest Browse all 9076

Trending Articles