private static void IndexProductVariant(IProductVariant productVariant) { var cache = new VirtualProductContentCache(); cache.ClearVirtualCache(productVariant.ProductKey); ProductIndexer.ReIndexNode(productVariant.SerializeToXml().Root, IndexTypes.ProductVariant); }
private static void IndexProductVariant(IProductVariant productVariant, ProductOptionCollection productOptions) { ExamineManager.Instance.IndexProviderCollection["MerchelloProductIndexer"].ReIndexNode(productVariant.SerializeToXml(productOptions).Root, IndexTypes.ProductVariant); }
private static void IndexProductVariant(IProductVariant productVariant, ProductOptionCollection productOptions) { ExamineManager.Instance.IndexProviderCollection["MerchelloProductIndexer"].ReIndexNode(productVariant.SerializeToXml(productOptions).Root, IndexTypes.ProductVariant); }
private static void IndexProductVariant(IProductVariant productVariant) { ProductIndexer.ReIndexNode(productVariant.SerializeToXml().Root, IndexTypes.ProductVariant); }
private static void IndexProductVariant(IProductVariant productVariant) { var cache = new VirtualProductContentCache(); cache.ClearVirtualCache(productVariant.ProductKey); ProductIndexer.ReIndexNode(productVariant.SerializeToXml().Root, IndexTypes.ProductVariant); }
/// <summary> /// Re-indexes entity document via Examine. /// </summary> /// <param name="entity"> /// The entity. /// </param> internal void ReindexEntity(IProductVariant entity) { IndexProvider.ReIndexNode(entity.SerializeToXml().Root, IndexTypes.ProductVariant); }
private static void IndexProductVariant(IProductVariant productVariant) { ProductIndexer.ReIndexNode(productVariant.SerializeToXml().Root, IndexTypes.ProductVariant); }