My customer have have a lot of similar variants for specific product groups and wants the option to select how a product should be displayed in product listings (sometime they want to show all variants and sometimes specific variants)
We have a text option on the base product that defines how a specific product should be displayed in product listings - “Standard”, “Single product” or “Selected variants” (configured with a bool on the variant).
I would like to adjust the product search (Elasticsearch) to include this “filtering” logic when performing a product search. What’s the best practice for this? Where should I hook in?
Litium version: 7.5.0