Пример #1
0
        private static void IndexProductVariant(IProductVariant productVariant)
        {
            var cache = new VirtualProductContentCache();

            cache.ClearVirtualCache(productVariant.ProductKey);
            ProductIndexer.ReIndexNode(productVariant.SerializeToXml().Root, IndexTypes.ProductVariant);
        }
Пример #2
0
 private static void IndexProductVariant(IProductVariant productVariant, ProductOptionCollection productOptions)
 {
     ExamineManager.Instance.IndexProviderCollection["MerchelloProductIndexer"].ReIndexNode(productVariant.SerializeToXml(productOptions).Root, IndexTypes.ProductVariant);
 }
Пример #3
0
 private static void IndexProductVariant(IProductVariant productVariant, ProductOptionCollection productOptions)
 {
     ExamineManager.Instance.IndexProviderCollection["MerchelloProductIndexer"].ReIndexNode(productVariant.SerializeToXml(productOptions).Root, IndexTypes.ProductVariant);
 }
Пример #4
0
 private static void IndexProductVariant(IProductVariant productVariant)
 {
     ProductIndexer.ReIndexNode(productVariant.SerializeToXml().Root, IndexTypes.ProductVariant);
 }
Пример #5
0
 private static void IndexProductVariant(IProductVariant productVariant)
 {
     var cache = new VirtualProductContentCache();
     cache.ClearVirtualCache(productVariant.ProductKey);
     ProductIndexer.ReIndexNode(productVariant.SerializeToXml().Root, IndexTypes.ProductVariant);
 }
Пример #6
0
 /// <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);
 }
Пример #7
0
 private static void IndexProductVariant(IProductVariant productVariant)
 {
     ProductIndexer.ReIndexNode(productVariant.SerializeToXml().Root, IndexTypes.ProductVariant);
 }