15. Bewerkingen op de catalogus // Add a category Category category = baseCatalog.CreateCategory(“MyCategoryDef", categoryName); category.Save(); // Add a product Product item = baseCatalog.CreateProduct(“category", productName, price, productName); // Set some properties item.Save();
16.
17. Refreshing all Caches public static void RefreshAllCaches() { CommerceCacheCollection caches = CommerceContext.Current.Caches; foreach (CommerceCache cache in caches) { cache.Refresh(); } }
18. Refreshen Cache - 1 systeem public static void RefreshShippingMethodCache() { if(CommerceContext.Current.Caches["ShippingManagerCache"] != null) CommerceContext.Current.Caches["ShippingManagerCache"].Refresh(); } public static void RefreshPaymentMethodCache() { if (CommerceContext.Current.Caches["PaymentMethodCache"] != null) CommerceContext.Current.Caches["PaymentMethodCache"].Refresh(); }
19.
20.
21. Evaluation form Vul je evaluatieformulier in en maak kans op een van de prachtige prijzen!! Fill out your eveluation form and win one of the great prizes!! Session Code: IW.02