private static void SetuCommerceContext(NiceUrl_Catalog catalog, NiceUrl_Category category, NiceUrl_Product product) { if(catalog != null) SiteContext.Current.CatalogContext.CurrentCatalog = catalog.GetuCommerceCatalog(); if(category != null) SiteContext.Current.CatalogContext.CurrentCategory = category.GetuCommerceCategory(); if(product != null) SiteContext.Current.CatalogContext.CurrentProduct = product.GetuCommerceProduct(); }