From 1188380c4dccbe0909e19871faa8644d1a106fb9 Mon Sep 17 00:00:00 2001 From: Konstantin Savosteev Date: Tue, 13 Aug 2024 12:17:24 +0200 Subject: [PATCH] VCST-1541: do not index variation as hidden by default (#735) --- .../Search/Indexing/ProductDocumentBuilder.cs | 1 - 1 file changed, 1 deletion(-) diff --git a/src/VirtoCommerce.CatalogModule.Data/Search/Indexing/ProductDocumentBuilder.cs b/src/VirtoCommerce.CatalogModule.Data/Search/Indexing/ProductDocumentBuilder.cs index 429657547..f99deeda5 100644 --- a/src/VirtoCommerce.CatalogModule.Data/Search/Indexing/ProductDocumentBuilder.cs +++ b/src/VirtoCommerce.CatalogModule.Data/Search/Indexing/ProductDocumentBuilder.cs @@ -286,7 +286,6 @@ protected virtual string GetProductStatus(CatalogProduct product) private static bool IsVisible(CatalogProduct product) { return - product.MainProductId == null && product.IsActive == true && product.ParentCategoryIsActive; }