Exemple #1
0
        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);
 }
Exemple #3
0
 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);
 }
Exemple #5
0
 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);
 }
Exemple #7
0
 private static void IndexProductVariant(IProductVariant productVariant)
 {
     ProductIndexer.ReIndexNode(productVariant.SerializeToXml().Root, IndexTypes.ProductVariant);
 }