当前位置: 首页>>代码示例>>C#>>正文


C# StoreSettingConfig.GetStoreSettingsByKey方法代码示例

本文整理汇总了C#中AspxCommerce.Core.StoreSettingConfig.GetStoreSettingsByKey方法的典型用法代码示例。如果您正苦于以下问题:C# StoreSettingConfig.GetStoreSettingsByKey方法的具体用法?C# StoreSettingConfig.GetStoreSettingsByKey怎么用?C# StoreSettingConfig.GetStoreSettingsByKey使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在AspxCommerce.Core.StoreSettingConfig的用法示例。


在下文中一共展示了StoreSettingConfig.GetStoreSettingsByKey方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。

示例1: Page_Load

    protected void Page_Load(object sender, EventArgs e)
    {
        try
        {
          
            if (!IsPostBack)
            {
                IncludeCss("CategoryManage", "/Templates/" + TemplateName + "/css/GridView/tablesort.css", "/Templates/" + TemplateName + "/css/TreeView/ui.tree.css", "/Templates/" + TemplateName + "/css/MessageBox/style.css", "/Templates/" + TemplateName + "/css/JQueryUI/jquery.ui.all.css");
                IncludeJs("CategoryManage","/js/JQueryUI/jquery-ui-1.8.10.custom.js", "/js/GridView/jquery.grid.js", "/js/GridView/SagePaging.js",
                    "/js/GridView/jquery.global.js", "/js/GridView/jquery.dateFormat.js", "/js/TreeView/jquery.tree.ui.core.js","/js/TreeView/ui.tree.js",
                   "/js/TreeView/jquery.json-2.2.js", "/js/DateTime/date.js", "/js/MessageBox/jquery.easing.1.3.js", "/js/MessageBox/alertbox.js",
                     "/js/AjaxFileUploader/ajaxupload.js", "/js/FormValidation/jquery.ui.datepicker.validation.js", "/js/FormValidation/jquery.validate.js", "/Modules/AspxCommerce/AspxCategoryManagement/js/CategoryManage.js", "/js/CurrencyFormat/jquery.formatCurrency-1.4.0.js",
                          "/js/CurrencyFormat/jquery.formatCurrency.all.js");

                StoreID = GetStoreID;
                PortalID = GetPortalID;
                UserName = GetUsername;
                CultureName = GetCurrentCultureName;
                StoreSettingConfig ssc = new StoreSettingConfig();
                CategoryLargeThumbImage =int.Parse(ssc.GetStoreSettingsByKey(StoreSetting.CategoryLargeThumbnailImageSize, StoreID, PortalID, CultureName));
                CategoryMediumThumbImage =int.Parse(ssc.GetStoreSettingsByKey(StoreSetting.CategoryMediumThumbnailImageSize, StoreID, PortalID, CultureName));
                CategorySmallThumbImage =int.Parse(ssc.GetStoreSettingsByKey(StoreSetting.CategorySmallThumbnailImageSize, StoreID, PortalID, CultureName));
                
            }
        }
        catch (Exception ex)
        {
            ProcessException(ex);
        }
    }
开发者ID:Dashboard-X,项目名称:Aspxcommerce,代码行数:30,代码来源:CategoryManage.ascx.cs

示例2: Page_Load

    protected void Page_Load(object sender, EventArgs e)
    {
        try
        {
            if (!IsPostBack)
            {
                StoreID = GetStoreID;
                PortalID = GetPortalID;
                UserName = GetUsername;
                CustomerID = GetCustomerID;
                CultureName = GetCurrentCultureName;
                if (HttpContext.Current.Session.SessionID != null)
                {
                    SessionCode = HttpContext.Current.Session.SessionID.ToString();
                }

                 StoreSettingConfig ssc = new StoreSettingConfig();
                 NoImageRelatedItemsInCartPath = ssc.GetStoreSettingsByKey(StoreSetting.DefaultProductImageURL, StoreID, PortalID, CultureName);
                 EnableRelatedItemsInCart =ssc.GetStoreSettingsByKey(StoreSetting.EnableRelatedCartItems, StoreID, PortalID, CultureName);
                 NoOfRelatedItemsInCart = int.Parse(ssc.GetStoreSettingsByKey(StoreSetting.NoOfRelatedCartItems, StoreID, PortalID, CultureName));
                 AllowOutStockPurchase = ssc.GetStoreSettingsByKey(StoreSetting.AllowOutStockPurchase, StoreID, PortalID, CultureName);

            }
        }
        catch (Exception ex)
        {
            ProcessException(ex);
        }
    }
开发者ID:Dashboard-X,项目名称:Aspxcommerce,代码行数:29,代码来源:RelatedItemsInCart.ascx.cs

示例3: Page_Load

    protected void Page_Load(object sender, EventArgs e)
    {
        try
        {
            if (!IsPostBack)
            {
                IncludeJs("ItemCompareDetails", "/js/Templating/tmpl.js", "/js/jquery.cookie.js");
                StoreID = GetStoreID;
                PortalID = GetPortalID;
                CustomerID = GetCustomerID;
                UserName = GetUsername;
                CultureName = GetCurrentCultureName;
                if (HttpContext.Current.Session.SessionID != null)
                {
                    SessionCode = HttpContext.Current.Session.SessionID.ToString();
                }
                UserIP = HttpContext.Current.Request.UserHostAddress;
                IPAddressToCountryResolver ipToCountry = new IPAddressToCountryResolver();
                ipToCountry.GetCountry(UserIP, out CountryName);

                StoreSettingConfig ssc = new StoreSettingConfig();
                NoImageItemComparePath = ssc.GetStoreSettingsByKey(StoreSetting.DefaultProductImageURL, StoreID, PortalID, CultureName);
                AllowOutStockPurchase = ssc.GetStoreSettingsByKey(StoreSetting.AllowOutStockPurchase, StoreID, PortalID, CultureName);
                AllowWishListItemCompareDetail = ssc.GetStoreSettingsByKey(StoreSetting.EnableWishList, StoreID, PortalID, CultureName);            
            }
        }
        catch (Exception ex)
        {
            ProcessException(ex);
        }
    }
开发者ID:Dashboard-X,项目名称:Aspxcommerce,代码行数:31,代码来源:ItemCompareDetails.ascx.cs

示例4: Page_Load

    protected void Page_Load(object sender, EventArgs e)
    {
        try
        {
            if (!IsPostBack)
            {
                IncludeCss("AllTags", "/Templates/" + TemplateName + "/css/GridView/tablesort.css", "/Templates/" + TemplateName + "/css/MessageBox/style.css", "/Templates/" + TemplateName + "/css/PopUp/style.css");
                IncludeJs("AllTags", "/js/MessageBox/jquery.easing.1.3.js", "/js/MessageBox/alertbox.js","/js/PopUp/custom.js", "/js/GridView/jquery.grid.js", "/js/GridView/SagePaging.js",
                            "/js/GridView/jquery.global.js", "/js/GridView/jquery.dateFormat.js", "/js/FormValidation/jquery.validate.js", "/Modules/AspxCommerce/AspxTagsManagement/js/AllTags.js", "/js/CurrencyFormat/jquery.formatCurrency-1.4.0.js",
                          "/js/CurrencyFormat/jquery.formatCurrency.all.js");

                StoreID = GetStoreID;
                PortalID = GetPortalID;
                UserName = GetUsername;
                CultureName = GetCurrentCultureName;

                StoreSettingConfig ssc = new StoreSettingConfig();
                NoImageAllTagsPath = ssc.GetStoreSettingsByKey(StoreSetting.DefaultProductImageURL, StoreID, PortalID, CultureName);
                NewItemTagRss = ssc.GetStoreSettingsByKey(StoreSetting.NewItemTagRss, StoreID, PortalID, CultureName);
                if(NewItemTagRss.ToLower()=="true")
                {
                  RssFeedUrl = ssc.GetStoreSettingsByKey(StoreSetting.RssFeedURL, StoreID, PortalID, CultureName);
                }
            }
            IncludeLanguageJS();
        }
        catch (Exception ex)
        {
            ProcessException(ex);
        }
    }
开发者ID:xiaoxiaocoder,项目名称:AspxCommerce2.7,代码行数:31,代码来源:AllTags.ascx.cs

示例5: Page_Load

    protected void Page_Load(object sender, EventArgs e)
    {
        try
        {
            if (!IsPostBack)
            {
                IncludeCss("InvoiceManagement", "/Templates/" + TemplateName + "/css/GridView/tablesort.css",
                    "/Templates/" + TemplateName + "/css/MessageBox/style.css", "/Modules/AspxCommerce/AspxInvoiceManagement/css/module.css");
                IncludeJs("InvoiceManagement", "/js/GridView/jquery.grid.js", "/js/GridView/SagePaging.js", "/js/GridView/jquery.global.js", "/js/GridView/jquery.dateFormat.js",
                            "/js/MessageBox/jquery.easing.1.3.js", "/js/MessageBox/alertbox.js", "/js/ExportToCSV/table2CSV.js", "/js/CurrencyFormat/jquery.formatCurrency-1.4.0.js",
                            "/js/CurrencyFormat/jquery.formatCurrency.all.js", "/Modules/AspxCommerce/AspxInvoiceManagement/js/Invoice.js");
                UserModuleID = SageUserModuleID;

                StoreID = GetStoreID;
                PortalID = GetPortalID;
                UserName = GetUsername;
                CultureName = GetCurrentCultureName;
                               templateName = TemplateName;
                StoreSettingConfig ssc = new StoreSettingConfig();
                StoreName = ssc.GetStoreSettingsByKey(StoreSetting.StoreName, StoreID, PortalID, CultureName);
                StoreLogoUrl = ssc.GetStoreSettingsByKey(StoreSetting.StoreLogoURL, StoreID, PortalID, CultureName);
                NoItemImagePath = ssc.GetStoreSettingsByKey(StoreSetting.DefaultProductImageURL, StoreID, PortalID, CultureName);
            }
            IncludeLanguageJS();
        }

        catch (Exception ex)
        {
            ProcessException(ex);
        }
    }
开发者ID:xiaoxiaocoder,项目名称:AspxCommerce2.7,代码行数:31,代码来源:InvoiceManagement.ascx.cs

示例6: Page_Load

    protected void Page_Load(object sender, EventArgs e)
    {
        try
        {
            if (!IsPostBack)
            {
                IncludeJs("WishItems", "/js/DateTime/date.js", "/Modules/AspxCommerce/AspxWishItems/js/WishItems.js");
                StoreID = GetStoreID;
                PortalID = GetPortalID;
                UserName = GetUsername;
                CultureName = GetCurrentCultureName;

                StoreSettingConfig ssc = new StoreSettingConfig();
                NoImageWishItemPath = ssc.GetStoreSettingsByKey(StoreSetting.DefaultProductImageURL, StoreID, PortalID, CultureName);
                AllowWishItemList = ssc.GetStoreSettingsByKey(StoreSetting.EnableWishList, StoreID, PortalID, CultureName);
                ShowWishedItemImage = ssc.GetStoreSettingsByKey(StoreSetting.ShowItemImagesInWishList, StoreID, PortalID, CultureName);
                WishListURL = ssc.GetStoreSettingsByKey(StoreSetting.WishListURL, StoreID, PortalID, CultureName);
                NoOfRecentAddedWishItems=Convert.ToInt32(ssc.GetStoreSettingsByKey(StoreSetting.NoOfRecentAddedWishItems,StoreID,PortalID,CultureName));

            }
        }
        catch (Exception ex)
        {
            ProcessException(ex);
        }
    }
开发者ID:Dashboard-X,项目名称:Aspxcommerce,代码行数:26,代码来源:WishItems.ascx.cs

示例7: Page_Load

    protected void Page_Load(object sender, EventArgs e)
    {
        try
        {
            if (!IsPostBack)
            {
                IncludeCss("AdvanceSearch", "/Templates/" + TemplateName + "/css/MessageBox/style.css", "/Templates/" + TemplateName + "/css/JQueryUI/jquery.ui.all.css", "/Templates/" + TemplateName + "/css/PopUp/style.css");
                IncludeJs("AdvanceSearch", "/js/JQueryUI/jquery-ui-1.8.10.custom.js", "/js/PopUp/custom.js", "/Modules/AspxCommerce/AspxGeneralSearch/js/AdvanceSearch.js");
                StoreID = GetStoreID;
                PortalID = GetPortalID;
                CustomerID = GetCustomerID;
                UserName = GetUsername;
                CultureName = GetCurrentCultureName;
                if (HttpContext.Current.Session.SessionID != null)
                {
                    SessionCode = HttpContext.Current.Session.SessionID.ToString();
                }

                UserIP = HttpContext.Current.Request.UserHostAddress;
                IPAddressToCountryResolver ipToCountry = new IPAddressToCountryResolver();
                ipToCountry.GetCountry(UserIP, out CountryName);

                StoreSettingConfig ssc = new StoreSettingConfig();
                NoImageAdSearchPath = ssc.GetStoreSettingsByKey(StoreSetting.DefaultProductImageURL, StoreID, PortalID, CultureName);
                AllowOutStockPurchase = ssc.GetStoreSettingsByKey(StoreSetting.AllowOutStockPurchase, StoreID, PortalID, CultureName);
                AllowWishListAdvSearch = ssc.GetStoreSettingsByKey(StoreSetting.EnableWishList, StoreID, PortalID, CultureName);

            }
        }
        catch (Exception ex)
        {
            ProcessException(ex);
        }
    }
开发者ID:Dashboard-X,项目名称:Aspxcommerce,代码行数:34,代码来源:AdvanceSearch.ascx.cs

示例8: Page_Load

    protected void Page_Load(object sender, EventArgs e)
    {
        try
        {
            if (!IsPostBack)
            {
                IncludeCss("RecentlyComparedItems", "/Templates/" + TemplateName + "/css/MessageBox/style.css");
                IncludeJs("RecentlyComparedItems", "/js/DateTime/date.js", "/js/MessageBox/jquery.easing.1.3.js", "/js/MessageBox/alertbox.js",
                    "/Modules/AspxCommerce/AspxRecentlyComparedItems/js/RecentlyComparedItems.js");
                StoreID = GetStoreID;
                PortalID = GetPortalID;
                UserName = GetUsername;
                CultureName = GetCurrentCultureName;

                StoreSettingConfig ssc = new StoreSettingConfig();
                CountCompare = int.Parse(ssc.GetStoreSettingsByKey(StoreSetting.NoOfRecentlyComparedItems, StoreID, PortalID, CultureName));
                EnableRecentlyCompared = ssc.GetStoreSettingsByKey(StoreSetting.EnableRecentlyComparedItems, StoreID, PortalID, CultureName);
                EnableCompareItemsRecently = ssc.GetStoreSettingsByKey(StoreSetting.EnableCompareItems, StoreID, PortalID, CultureName);

            }
        }
        catch (Exception ex)
        {
            ProcessException(ex);
        }
    }
开发者ID:Dashboard-X,项目名称:Aspxcommerce,代码行数:26,代码来源:RecentlyComparedItems.ascx.cs

示例9: Page_Load

    protected void Page_Load(object sender, EventArgs e)
    {
        try
        {
            if (!IsPostBack)
            {
                IncludeCss("ItemRatingManagement", "/Templates/" + TemplateName + "/css/GridView/tablesort.css", "/Templates/" + TemplateName + "/css/MessageBox/style.css", "/Templates/" + TemplateName + "/css/StarRating/jquery.rating.css");
                IncludeJs("ItemRatingManagement", "/js/jquery.searchabledropdown-1.0.8.src.js", "/js/FormValidation/jquery.validate.js", "/js/GridView/jquery.grid.js", "/js/GridView/SagePaging.js", "/js/GridView/jquery.global.js",
                            "/js/GridView/jquery.dateFormat.js", "/js/MessageBox/jquery.easing.1.3.js", "/js/MessageBox/alertbox.js", "/js/StarRating/jquery.rating.js",
                            "/js/StarRating/jquery.rating.js", "/js/StarRating/jquery.rating.pack.js",
                            "/Modules/AspxCommerce/AspxItemRatingManagement/js/ItemRatingManage.js");

                StoreID = GetStoreID;
                PortalID = GetPortalID;
                UserName = GetUsername;
                CultureName = GetCurrentCultureName;
                UserModuleID = SageUserModuleID;

                var ssc = new StoreSettingConfig();
                NewItemReviewRss = ssc.GetStoreSettingsByKey(StoreSetting.NewItemReviewRss, StoreID, PortalID, CultureName);
                if (NewItemReviewRss.ToLower() == "true")
                {
                    RssFeedUrl = ssc.GetStoreSettingsByKey(StoreSetting.RssFeedURL, StoreID, PortalID, CultureName);
                }
            }
            IncludeLanguageJS();
        }
        catch (Exception ex)
        {
            ProcessException(ex);
        }
    }
开发者ID:xiaoxiaocoder,项目名称:AspxCommerce2.7,代码行数:32,代码来源:ItemRatingManagement.ascx.cs

示例10: Page_Load

    protected void Page_Load(object sender, EventArgs e)
    {
        try
        {
            if (!IsPostBack)
            {

                IncludeCss("CouponManage", "/Templates/" + TemplateName + "/css/GridView/tablesort.css", "/Templates/" + TemplateName + "/css/MessageBox/style.css", "/Templates/" + TemplateName + "/css/JQueryUI/jquery.ui.all.css");
                IncludeJs("CouponManage","/js/FormValidation/jquery.validate.js", "/js/GridView/jquery.grid.js", "/js/GridView/SagePaging.js",
                            "/js/GridView/jquery.global.js", "/js/GridView/jquery.dateFormat.js", "/js/DateTime/date.js", "/js/MessageBox/jquery.easing.1.3.js", "/js/MessageBox/alertbox.js", "/Modules/AspxCommerce/AspxCouponManagement/js/CouponManage.js", "/js/CurrencyFormat/jquery.formatCurrency-1.4.0.js",
                          "/js/CurrencyFormat/jquery.formatCurrency.all.js");

                StoreID = GetStoreID;
                PortalID = GetPortalID;
                userName = GetUsername;
                CultureName = GetCurrentCultureName;
                UserModuleId = SageUserModuleID;
                StoreSettingConfig ssc = new StoreSettingConfig();
                StoreLogoImg = ssc.GetStoreSettingsByKey(StoreSetting.StoreLogoURL, StoreID, PortalID, CultureName);
                StoreName = ssc.GetStoreSettingsByKey(StoreSetting.StoreName, StoreID, PortalID, CultureName);
                UserEmail = ssc.GetStoreSettingsByKey(StoreSetting.SendEcommerceEmailsFrom, StoreID, PortalID, CultureName);
            }
            IncludeLanguageJS();
        }
        catch (Exception ex)
        {
            ProcessException(ex);
        }
    }   
开发者ID:xiaoxiaocoder,项目名称:AspxCommerce2.7,代码行数:29,代码来源:CouponManage.ascx.cs

示例11: Page_Load

    protected void Page_Load(object sender, EventArgs e)
    {
        try
        {
            if (!IsPostBack)
            {
                StoreID = GetStoreID;
                PortalID = GetPortalID;
                UserName = GetUsername;
                CustomerID = GetCustomerID;
                CultureName = GetCurrentCultureName;
                if (HttpContext.Current.Session.SessionID != null)
                {
                    SessionCode = HttpContext.Current.Session.SessionID.ToString();
                }
                StoreSettingConfig ssc = new StoreSettingConfig();
                decimal additionalCCVR = decimal.Parse(ssc.GetStoreSettingsByKey(StoreSetting.AdditionalCVR, StoreID, PortalID, CultureName));
                string MainCurrency = ssc.GetStoreSettingsByKey(StoreSetting.MainCurrency, StoreID, PortalID, CultureName);
                if (HttpContext.Current.Session["CurrencyRate"] != null)
                {
                    if (Session["CurrencyCode"].ToString() != MainCurrency)
                    {
                        decimal rate1 = decimal.Parse(Session["CurrencyRate"].ToString());
                        Rate = Math.Round(rate1 + (rate1 * additionalCCVR / 100), 4);
                    }
                    else
                    {
                        Rate = decimal.Parse(Session["CurrencyRate"].ToString());
                    }
                }
                YouMayAlsoLikeModulePath = ResolveUrl(this.AppRelativeTemplateSourceDirectory);
                NoImageYouMayAlsoLikePath = ssc.GetStoreSettingsByKey(StoreSetting.DefaultProductImageURL, StoreID, PortalID, CultureName);                
                AllowAddToCart = ssc.GetStoreSettingsByKey(StoreSetting.ShowAddToCartButton, StoreID, PortalID, CultureName);              
                AllowOutStockPurchase = ssc.GetStoreSettingsByKey(StoreSetting.AllowOutStockPurchase, StoreID, PortalID, CultureName);
                IncludeCss("YouMayAlsoLike", "/Templates/" + TemplateName + "/css/ToolTip/tooltip.css");
                IncludeJs("YouMayAlsoLike", "/js/jquery.tipsy.js");

            }
            IncludeLanguageJS();
            GetYouMayAlsoLikeSetting();
            if (EnableYouMayAlsoLike == true && NoOfYouMayAlsoLikeItems > 0)
            {
                string itemsku = null;
                string url = HttpContext.Current.Request.Url.ToString();
                if(url.Contains("item"))
                {
                    itemsku = url.Substring(url.LastIndexOf('/'));
                    itemsku = itemsku.Substring(1, (itemsku.LastIndexOf('.') - 1));
                }

                GetItemRelatedUpSellAndCrossSellList(itemsku);
            }
            IncludeLanguageJS();

        }
        catch (Exception ex)
        {
            ProcessException(ex);
        }
    }
开发者ID:xiaoxiaocoder,项目名称:AspxCommerce2.7,代码行数:60,代码来源:YouMayAlsoLike.ascx.cs

示例12: Page_Load

    protected void Page_Load(object sender, EventArgs e)
    {
        try
        {
            SageFrameConfig pagebase = new SageFrameConfig();
            IsUseFriendlyUrls = pagebase.GetSettingBollByKey(SageFrameSettingKeys.UseFriendlyUrls);
            if (!IsPostBack)
            {
                IncludeCss("ShoppingBagHeader", "/Templates/" + TemplateName + "/css/PopUp/style.css", "/Templates/" + TemplateName + "/css/MessageBox/style.css");
                IncludeJs("ShoppingBagHeader", "/js/PopUp/custom.js", "/js/MessageBox/jquery.easing.1.3.js", "/js/MessageBox/alertbox.js", "/js/Session.js",
                    "Modules/AspxCommerce/AspxShoppingBagHeader/js/ShoppingBag.js");
                StoreID = GetStoreID;
                PortalID = GetPortalID;
                CustomerID = GetCustomerID;
                UserName = GetUsername;
                CultureName = GetCurrentCultureName;

                if (HttpContext.Current.Session.SessionID != null)
                {
                    SessionCode = HttpContext.Current.Session.SessionID.ToString();
                }

                StoreSettingConfig ssc = new StoreSettingConfig();
                ShowMiniShopCart = ssc.GetStoreSettingsByKey(StoreSetting.ShowMiniShoppingCart, StoreID, PortalID, CultureName);
                AllowMultipleAddChkOut = ssc.GetStoreSettingsByKey(StoreSetting.AllowMultipleShippingAddress, StoreID, PortalID, CultureName);
                MinOrderAmount = ssc.GetStoreSettingsByKey(StoreSetting.MinimumOrderAmount, StoreID, PortalID, CultureName);
                AllowAnonymousCheckOut = ssc.GetStoreSettingsByKey(StoreSetting.AllowAnonymousCheckOut, StoreID, PortalID, CultureName);
                ShoppingCartURL = ssc.GetStoreSettingsByKey(StoreSetting.ShoppingCartURL, StoreID, PortalID, CultureName);
            }
        }
        catch (Exception ex)
        {
            ProcessException(ex);
        }
    }
开发者ID:Dashboard-X,项目名称:Aspxcommerce,代码行数:35,代码来源:ShoppingBagHeader.ascx.cs

示例13: Page_Load

    protected void Page_Load(object sender, EventArgs e)
    {
        try
        {
            if (!IsPostBack)
            {
                IncludeCss("RecentlyViewedItems", "/Templates/" + TemplateName + "/css/MessageBox/style.css");
                IncludeJs("RecentlyViewedItems", "/js/MessageBox/jquery.easing.1.3.js", "/js/MessageBox/alertbox.js",
                    "/Modules/AspxCommerce/AspxRecentlyViewedItems/js/RecentlyViewedItems.js");
                StoreID = GetStoreID;
                PortalID = GetPortalID;
                UserName = GetUsername;
                CultureName = GetCurrentCultureName;
                if (HttpContext.Current.Session.SessionID != null)
                {
                    SessionCode = HttpContext.Current.Session.SessionID.ToString();
                }

                StoreSettingConfig ssc = new StoreSettingConfig();
                CountViewedItems = int.Parse(ssc.GetStoreSettingsByKey(StoreSetting.NoOfRecentlyViewedItemsDispay, StoreID, PortalID, CultureName));
                EnableRecentlyViewed = ssc.GetStoreSettingsByKey(StoreSetting.EnableRecentlyViewedItems, StoreID, PortalID, CultureName);
            }
        }
        catch (Exception ex)
        {
            ProcessException(ex);
        }
    }
开发者ID:Dashboard-X,项目名称:Aspxcommerce,代码行数:28,代码来源:RecentlyViewedItems.ascx.cs

示例14: Page_Load

 protected void Page_Load(object sender, EventArgs e)
 {
     IncludeLanguageJS();
     StoreSettingConfig ssc = new StoreSettingConfig();
     MainCurrency = ssc.GetStoreSettingsByKey(StoreSetting.MainCurrency, GetStoreID, GetPortalID, GetCurrentCultureName);
     if (!IsPostBack)
     {
         AllowRealTimeNotifications = ssc.GetStoreSettingsByKey(StoreSetting.AllowRealTimeNotifications, GetStoreID, GetPortalID, GetCurrentCultureName);
     }
 }
开发者ID:xiaoxiaocoder,项目名称:AspxCommerce2.7,代码行数:10,代码来源:PlaceOrderGiftCard.ascx.cs

示例15: Page_Load

 protected void Page_Load(object sender, EventArgs e)
 {
     StoreID = GetStoreID;
     PortalID = GetPortalID;
     CustomerID = GetCustomerID;
     UserName = GetUsername;
     CultureName = GetCurrentCultureName;
     StoreSettingConfig ssc = new StoreSettingConfig();
     BillingCountry = ssc.GetStoreSettingsByKey(StoreSetting.AllowedBillingCountry, StoreID, PortalID, CultureName);
     ShippingDetail = ssc.GetStoreSettingsByKey(StoreSetting.AllowedShippingCountry, StoreID, PortalID, CultureName);
     BindCountryList();
 }
开发者ID:xiaoxiaocoder,项目名称:AspxCommerce2.7,代码行数:12,代码来源:ShippingCountryDetail.ascx.cs


注:本文中的AspxCommerce.Core.StoreSettingConfig.GetStoreSettingsByKey方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。