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


C# StoreSettingConfig.GetStoreSettingParamThree方法代码示例

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


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

示例1: Page_Load

    protected void Page_Load(object sender, EventArgs e)
    {
        try
        {
            GetPortalCommonInfo(out StoreID, out PortalID, out UserName, out CultureName);
            AspxCommonInfo aspxCommonObj = new AspxCommonInfo(StoreID, PortalID, UserName, CultureName);
            if (!IsPostBack)
            {

                IncludeJs("WishItems", "/js/DateTime/date.js", "/js/jquery.tipsy.js", "/Modules/AspxCommerce/AspxWishList/js/WishItems.js");
                IncludeCss("WishItemsCss", "/Modules/AspxCommerce/AspxWishList/css/WishItems.css");
                userFriendlyURL = IsUseFriendlyUrls;
                GetWishListItemsSettig(aspxCommonObj);
                StoreSettingConfig ssc = new StoreSettingConfig();
                ssc.GetStoreSettingParamThree(StoreSetting.DefaultProductImageURL, StoreSetting.ShowItemImagesInWishList,StoreSetting.ModuleCollapsible, out NoImageWishItemPath, out ShowWishedItemImage, out ModuleCollapsible, StoreID, PortalID, CultureName);
            }
            if (NoOfRecentAddedWishItems > 0)
            {
                BindMyWishList(aspxCommonObj);
            }
            IncludeLanguageJS();

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

示例2: Page_Load

 protected void Page_Load(object sender, EventArgs e)
 {
     try
     {
         ServicePath = ResolveUrl(this.AppRelativeTemplateSourceDirectory + "/Service/Service.asmx/");
         GetPortalCommonInfo(out StoreID, out PortalID, out CustomerID, out UserName, out CultureName);
         IncludeJs("ItemCompareDetailsJS", "/js/encoder.js", "/js/Templating/tmpl.js", "/js/jquery.cookie.js", "/Modules/AspxCommerce/AspxCompareItems/js/ItemCompareDetails.js");
         IncludeCss("ItemCompareDetails", "/Modules/AspxCommerce/AspxCompareItems/css/module.css");
         if (!IsPostBack)
         {
             StoreSettingConfig ssc = new StoreSettingConfig();
             ssc.GetStoreSettingParamThree(StoreSetting.ShowAddToCartButton, StoreSetting.DefaultProductImageURL, StoreSetting.AllowOutStockPurchase, out AllowAddToCart, out NoImageItemComparePath, out AllowOutStockPurchase, StoreID, PortalID, CultureName);
         }
         IncludeLanguageJS();
     }
     catch (Exception ex)
     {
         ProcessException(ex);
     }
 }
开发者ID:xiaoxiaocoder,项目名称:AspxCommerce2.7,代码行数:20,代码来源:ItemCompareDetails.ascx.cs

示例3: Page_Load

    protected void Page_Load(object sender, EventArgs e)
    {

        if (!IsPostBack)
        {
            var ssc = new StoreSettingConfig();
            ssc.GetStoreSettingParamThree(StoreSetting.DimensionUnit, 
                                            StoreSetting.WeightUnit, 
                                            StoreSetting.EstimateShippingCostInCartPage,
                                            out DimentionalUnit,
                                            out WeightUnit,
                                            out ShowRateEstimate,
                                            GetStoreID, 
                                            GetPortalID,
                                            GetCurrentCultureName);

            IncludeJs("ValidationRate", "/js/FormValidation/jquery.validate.js", "/Modules/AspxCommerce/AspxShippingRateEstimate/js/ShippingRateEstimate.js");
            GetItemCount();
        }
        IncludeLanguageJS();
        LoadCountry();
    }
开发者ID:xiaoxiaocoder,项目名称:AspxCommerce2.7,代码行数:22,代码来源:ShippingRateEstimate.ascx.cs

示例4: Page_Load

 protected void Page_Load(object sender, EventArgs e)
 {
     try
     {
         GetPortalCommonInfo(out StoreID, out PortalID, out UserName, out CultureName);
         if (!IsPostBack)
         {
             IncludeJs("Specials", "/Modules/AspxCommerce/AspxSpecialsItems/js/Specials.js");
             IncludeCss("SpecialCss", "/Modules/AspxCommerce/AspxSpecialsItems/css/SpecialItems.css");
             StoreSettingConfig ssc = new StoreSettingConfig();
             ssc.GetStoreSettingParamThree(StoreSetting.DefaultProductImageURL, StoreSetting.ShowAddToCartButton,
                StoreSetting.AllowOutStockPurchase, out  DefaultImagePath, out AllowAddToCart,
                out AllowOutStockPurchase, StoreID, PortalID, CultureName);
         }
         IncludeLanguageJS();
         AspxCommonInfo aspxCommonObj = new AspxCommonInfo(StoreID, PortalID, UserName, CultureName);
         BindSpecialItems(aspxCommonObj);
         IncludeLanguageJS();
     }
     catch (Exception ex)
     {
         ProcessException(ex);
     }
 }
开发者ID:xiaoxiaocoder,项目名称:AspxCommerce2.7,代码行数:24,代码来源:Specials.ascx.cs

示例5: Page_Load

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

            SageFrameConfig pagebase = new SageFrameConfig();
            string PortalLoginpage = pagebase.GetSettingsByKey(SageFrameSettingKeys.PortalLoginpage);//Ask santosh to get portal login page
            SecurityPolicy objSecurity = new SecurityPolicy();
            FormsAuthenticationTicket ticket = objSecurity.GetUserTicket(GetPortalID);

            AspxCommonInfo aspxCommonObj = new AspxCommonInfo();
            base.GetPortalCommonInfo(out storeID, out portalID, out customerID, out userName, out cultureName, out sessionCode);
            aspxCommonObj = new AspxCommonInfo(storeID, portalID, userName, cultureName, customerID, sessionCode);

            RewardPointsGeneralSettingsIsActive = RewardPointsController.RewardPointsGeneralSettingsIsActive(aspxCommonObj).ToString();

            StoreSettingConfig ssc = new StoreSettingConfig();
            ssc.GetStoreSettingParamThree(StoreSetting.AllowUsersToCreateMultipleAddress,
                                        StoreSetting.MainCurrency,
                                        StoreSetting.ShowAddToCartButton,
                                        out allowMultipleAddress,
                                        out CurrencyCodeSlected,
                                        out AllowAddToCart,
                                        storeID,
                                        portalID,
                                        cultureName
                                        );

            IsRewardInstl = AspxCommonController.GetModuleInstallationInfo("AspxRewardPoints", aspxCommonObj).ToString();

            if (ticket != null && ticket.Name != ApplicationKeys.anonymousUser)
            {
                if (!IsPostBack)
                {
                    string templateName = TemplateName;

                    IncludeCss("UserDashBoardCSS", "/Templates/" + templateName + "/css/GridView/tablesort.css", "/Templates/" + templateName + "/css/StarRating/jquery.rating.css", "/Templates/" + templateName + "/css/MessageBox/style.css",
                                "/Templates/" + templateName + "/css/PopUp/style.css", "/Templates/" + templateName + "/css/JQueryUIFront/jquery.ui.all.css", "/Templates/" + templateName + "/css/PasswordValidation/jquery.validate.password.css", "/Templates/" + templateName + "/css/ToolTip/tooltip.css");
                    IncludeJs("UserDashBoardJS", "/Modules/AspxCommerce/AspxWishList/js/WishItemList.js", "/js/jDownload/jquery.jdownload.js", "/js/DateTime/date.js", "/js/MessageBox/jquery.easing.1.3.js",
                        "/js/MessageBox/alertbox.js", "/js/StarRating/jquery.MetaData.js", "/js/FormValidation/jquery.validate.js", "/js/PasswordValidation/jquery.validate.password.js",
                        "/js/GridView/jquery.grid.js", "/js/GridView/SagePaging.js", "/js/GridView/jquery.global.js", "/js/GridView/jquery.dateFormat.js", "/js/GridView/jquery.tablesorter.min.js", "/js/StarRating/jquery.rating.pack.js", "/js/encoder.js",
                        "/js/StarRating/jquery.rating.js", "/js/PopUp/custom.js", "/js/jquery.tipsy.js", "/Modules/AspxCommerce/AspxUserDashBoard/js/userdashboard.js", "/js/Paging/jquery.pagination.js", "/js/FormValidation/jquery.form-validation-and-hints.js");
                
                    userModuleIDUD = int.Parse(SageUserModuleID);
                    ModulePath = ResolveUrl(this.AppRelativeTemplateSourceDirectory);

                    MembershipController m = new MembershipController();
                    UserInfo sageUser = m.GetUserDetails(GetPortalID, GetUsername);

                    AspxCommonController objUser = new AspxCommonController();
                    UsersInfo userDetails = objUser.GetUserDetails(aspxCommonObj);

                    if (userDetails.UserName != null)
                    {
                        userEmail = userDetails.Email;
                        userFirstName = userDetails.FirstName;
                        userLastName = userDetails.LastName;
                        userPicture = userDetails.ProfilePicture;
                        userEmailWishList = userEmail;//userDetail.Email;//added later for wishlist
                        userIP = HttpContext.Current.Request.UserHostAddress;
                        IPAddressToCountryResolver ipToCountry = new IPAddressToCountryResolver();
                        ipToCountry.GetCountry(userIP, out countryName);
                    }


                    BindUserDetails();
                }
                IncludeAllLanguageJS();
            }
            else
            {
                if (!IsParent)
                {
                    Response.Redirect(ResolveUrl(GetParentURL + "/portal/" + GetPortalSEOName + "/" + PortalLoginpage) + ".aspx?ReturnUrl=" + Request.Url.ToString(), false);
                }
                else
                {
                    Response.Redirect(ResolveUrl("~/" + PortalLoginpage) + ".aspx?ReturnUrl=" + Request.Url.ToString(), false);
                }
            }
            IncludeAllLanguageJS();

            GetUserRecentActivity(aspxCommonObj);
            GetAddressBookDetails(aspxCommonObj);
            GetAllCountry();

            GetMyOrders(aspxCommonObj);

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


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