本文整理汇总了C#中AspxCommerce.Core.StoreSettingConfig.GetStoreSettingParamEight方法的典型用法代码示例。如果您正苦于以下问题:C# StoreSettingConfig.GetStoreSettingParamEight方法的具体用法?C# StoreSettingConfig.GetStoreSettingParamEight怎么用?C# StoreSettingConfig.GetStoreSettingParamEight使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类AspxCommerce.Core.StoreSettingConfig
的用法示例。
在下文中一共展示了StoreSettingConfig.GetStoreSettingParamEight方法的4个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: Page_Load
protected void Page_Load(object sender, EventArgs e)
{
try
{
SageFrameConfig pagebase = new SageFrameConfig();
GetPortalCommonInfo(out StoreID, out PortalID, out CustomerID, out UserName, out CultureName);
if (!IsPostBack)
{
IncludeCss("ShoppingBagHeader", "/Templates/" + TemplateName + "/css/PopUp/style.css",
"/Templates/" + TemplateName + "/css/MessageBox/style.css",
"/Modules/AspxCommerce/AspxShoppingBagHeader/css/module.css");
IncludeJs("ShoppingBagHeader", "/js/PopUp/custom.js", "/js/MessageBox/jquery.easing.1.3.js",
"/js/MessageBox/alertbox.js",
"/Modules/AspxCommerce/AspxShoppingBagHeader/js/ShoppingBag.js", "/js/Session.js");
UserModuleID = SageUserModuleID;
if (HttpContext.Current.Session.SessionID != null)
{
SessionCode = HttpContext.Current.Session.SessionID.ToString();
}
StoreSettingConfig ssc = new StoreSettingConfig();
ssc.GetStoreSettingParamEight(StoreSetting.ShowMiniShoppingCart, StoreSetting.ShowAddToCartButton,
StoreSetting.AllowMultipleShippingAddress, StoreSetting.MinimumCartSubTotalAmount, StoreSetting.AllowAnonymousCheckOut,
StoreSetting.ShoppingCartURL,StoreSetting.SingleCheckOutURL, StoreSetting.AllowRealTimeNotifications,
out ShowMiniShopCart, out AllowAddToCart, out AllowMultipleAddChkOut, out MinCartSubTotalAmount, out AllowAnonymousCheckOut,
out ShoppingCartURL, out SingleAddressChkOutURL, out AllowRealTimeNotifications, StoreID, PortalID, CultureName);
AspxCommonInfo aspxCommonObj = new AspxCommonInfo(StoreID, PortalID,CultureName);
BagType = AspxShoppingBagController.GetShoppingBagSetting(aspxCommonObj);
}
IncludeLanguageJS();
}
catch (Exception ex)
{
ProcessException(ex);
}
}
示例2: Page_Load
protected void Page_Load(object sender, EventArgs e)
{
//Check more to decide where to put in page_init or here
SageFrameRoute parentPage = (SageFrameRoute)this.Page;
Categorykey = parentPage.Key;
Categorykey = AspxUtility.fixedDecodeURIComponent(Categorykey);
GetPortalCommonInfo(out StoreID, out PortalID, out CustomerID, out UserName, out CultureName, out SessionCode);
AspxCommonInfo aspxCommonObj = new AspxCommonInfo(StoreID, PortalID, UserName, CultureName);
if (!IsPostBack)
{
OverRideSEOInfo(Categorykey, aspxCommonObj);
}
string sortByOptionsDefault = string.Empty;
string viewAsOptionsDefault = string.Empty;
StoreSettingConfig ssc = new StoreSettingConfig();
ssc.GetStoreSettingParamEight(StoreSetting.DefaultProductImageURL, StoreSetting.ShowAddToCartButton,
StoreSetting.AllowOutStockPurchase, StoreSetting.ItemDisplayMode, StoreSetting.SortByOptions, StoreSetting.SortByOptionsDefault,
StoreSetting.ViewAsOptions, StoreSetting.ViewAsOptionsDefault, out NoImageCategoryDetailPath, out AllowAddToCart,
out AllowOutStockPurchase, out ItemDisplayMode, out SortByOptions, out sortByOptionsDefault, out ViewAsOptions,
out viewAsOptionsDefault, StoreID, PortalID, CultureName);
NoOfItemsInARow = 3;
SortByOptionsDefault = Int32.Parse(sortByOptionsDefault);
ViewAsOptionsDefault = Int32.Parse(viewAsOptionsDefault);
//Untill this
if (!IsPostBack)
{
string templateName = TemplateName;
IncludeCss("CategoryDetailcss", "/Templates/" + templateName + "/css/MessageBox/style.css",
"/Templates/" + templateName + "/css/JQueryUIFront/jquery-ui.css",
"/Templates/" + templateName + "/css/ToolTip/tooltip.css",
"/Templates/" + templateName + "/css/JQueryCheckBox/uniform.default.css",
"/Templates/" + templateName + "/css/MessageBox/style.css", "/Templates/" + templateName + "/css/CategoryBanner/cycle.css");
IncludeJs("CategoryDetailjs", "/js/Templating/tmpl.js", "/js/encoder.js", "/js/Paging/jquery.pagination.js",
"/js/jquery.cycle.min.js", "/js/DateTime/date.js", "/js/MessageBox/jquery.easing.1.3.js",
"/js/MessageBox/alertbox.js", "/js/jquery.cookie.js", "/js/Scroll/jquery.tinyscrollbar.min.js",
"/js/JQueryCheckBox/jquery.uniform.js", "/Modules/AspxCommerce/DetailsBrowse/js/CategoryDetails.js");
}
IncludeLanguageJS();
GetAspxTemplates();
GetAllSubCategoryForFilter(aspxCommonObj);
if (IsCategoryHasItems == 1)
{
CreateSortViewOption();
GetShoppingFilterItemsResult(aspxCommonObj);
}
}
示例3: Page_Load
protected void Page_Load(object sender, EventArgs e)
{
try
{
GetPortalCommonInfo(out StoreID, out PortalID, out CustomerID, out UserName, out CultureName, out SessionCode);
AspxCommonInfo aspxCommonObj = new AspxCommonInfo(StoreID, PortalID, UserName, CultureName);
if (!IsPostBack)
{
string templateName = TemplateName;
IncludeCss("AdvanceSearch", "/Templates/"+ templateName+ "/css/MessageBox/style.css",
"/Templates/"+ templateName+ "/css/PopUp/style.css",
"/Templates/"+ templateName+ "/css/ToolTip/tooltip.css",
"/Templates/"+ templateName+ "/css/FancyDropDown/fancy.css",
"/Modules/AspxCommerce/AspxAdvanceSearch/css/AdvanceSearch.css");
IncludeLanguageJS();
IncludeJs("AdvanceSearch", "/js/Templating/tmpl.js", "/js/encoder.js", "/js/Paging/jquery.pagination.js",
"/js/Templating/AspxTemplate.js", "/js/PopUp/custom.js",
"/js/jquery.tipsy.js", "/js/FancyDropDown/itemFancyDropdown.js",
"/js/SageFrameCorejs/itemTemplateView.js",
"/Modules/AspxCommerce/AspxAdvanceSearch/js/AdvanceSearch.js",
"/Modules/AspxCommerce/AspxAdvanceSearch/APIjs/AdvanceSearchAPI.js");
AdvanceSearchModulePath = ResolveUrl(this.AppRelativeTemplateSourceDirectory);
UserIP = HttpContext.Current.Request.UserHostAddress;
IPAddressToCountryResolver ipToCountry = new IPAddressToCountryResolver();
ipToCountry.GetCountry(UserIP, out CountryName);
string sortByOptionsDefault = string.Empty;
string viewAsOptionsDefault = string.Empty;
GetAdvanceSearchSetting(aspxCommonObj,0, false);
StoreSettingConfig ssc = new StoreSettingConfig();
ssc.GetStoreSettingParamEight(StoreSetting.DefaultProductImageURL,
StoreSetting.ShowAddToCartButton,
StoreSetting.AllowOutStockPurchase,
StoreSetting.ItemDisplayMode,
StoreSetting.SortByOptionsDefault,
StoreSetting.ViewAsOptions,
StoreSetting.ViewAsOptionsDefault,
StoreSetting.SortByOptions,
out NoImageAdSearchPath,
out AllowAddToCart,
out AllowOutStockPurchase,
out ItemDisplayMode,
out sortByOptionsDefault,
out ViewAsOptions,
out viewAsOptionsDefault,
out SortByOptions,
StoreID,
PortalID,
CultureName
);
SortByOptionsDefault = Int32.Parse(sortByOptionsDefault);
ViewAsOptionsDefault = Int32.Parse(viewAsOptionsDefault);
NoOfItemsInARow = adSettingInfo.NoOfItemsInARow;
}
string modulePath = this.AppRelativeTemplateSourceDirectory;
hst = AppLocalized.getLocale(modulePath);
trBrand.Visible = true;
CreateSortViewOption();
GetAspxTemplates();
}
catch (Exception ex)
{
ProcessException(ex);
}
}
示例4: Page_Load
protected void Page_Load(object sender, EventArgs e)
{
SageFrameRoute parentPage = (SageFrameRoute)this.Page;
itemSKU = parentPage.Key;
userIP = HttpContext.Current.Request.UserHostAddress;
string templateName = TemplateName;
aspxfilePath = ResolveUrl("~") + "Modules/AspxCommerce/AspxItemsManagement/";
GetPortalCommonInfo(out storeID, out portalID, out customerID, out userName, out cultureName, out sessionCode);
AspxCommonInfo aspxCommonObj = new AspxCommonInfo(storeID, portalID, userName, cultureName, customerID, sessionCode);
variantQuery = Request.QueryString["varId"];
IPAddressToCountryResolver ipToCountry = new IPAddressToCountryResolver();
ipToCountry.GetCountry(userIP, out countryName);
if (countryName == null)
countryName = string.Empty;
SecurityPolicy objSecurity = new SecurityPolicy();
FormsAuthenticationTicket ticket = objSecurity.GetUserTicket(GetPortalID);
if (ticket != null && ticket.Name != ApplicationKeys.anonymousUser)
{
MembershipController member = new MembershipController();
UserInfo userDetail = member.GetUserDetails(GetPortalID, GetUsername);
userEmail = userDetail.Email;
}
string AllowMultipleReviewPerUser, AllowMultipleReviewPerIP = string.Empty;
StoreSettingConfig ssc = new StoreSettingConfig();
ssc.GetStoreSettingParamEight(StoreSetting.AllowRealTimeNotifications, StoreSetting.DefaultProductImageURL, StoreSetting.EnableEmailAFriend,
StoreSetting.AllowAnonymousUserToWriteItemRatingAndReviews, StoreSetting.AllowOutStockPurchase, StoreSetting.ShowAddToCartButton,
StoreSetting.AllowMultipleReviewsPerUser, StoreSetting.AllowMultipleReviewsPerIP, out AllowRealTimeNotifications,
out noItemDetailImagePath, out enableEmailFriend, out allowAnonymousReviewRate, out allowOutStockPurchase, out AllowAddToCart,
out AllowMultipleReviewPerUser, out AllowMultipleReviewPerIP, storeID, portalID, cultureName);
allowMultipleReviewPerUser = Boolean.Parse(AllowMultipleReviewPerUser);
allowMultipleReviewPerIP = Boolean.Parse(AllowMultipleReviewPerIP);
ItemPagePath = ResolveUrl("~/Item/");
if (!IsPostBack)
{
IncludeCss("ItemDetails",
"/Templates/" + templateName + "/css/PopUp/style.css",
"/Templates/" + templateName + "/css/StarRating/jquery.rating.css",
"/Templates/" + templateName + "/css/JQueryUIFront/jquery-ui.all.css",
"/Templates/" + templateName + "/css/MessageBox/style.css",
"/Templates/" + templateName + "/css/FancyDropDown/fancy.css",
"/Templates/" + templateName + "/css/ToolTip/tooltip.css",
"/Templates/" + templateName + "/css/PopUp/popbox.css",
"/Modules/AspxCommerce/AspxItemDetails/css/module.css"
);
IncludeJs("ItemDetails",
"/js/jDownload/jquery.jdownload.js", "/js/MessageBox/alertbox.js", "/js/DateTime/date.js",
"/js/PopUp/custom.js", "/js/FormValidation/jquery.validate.js",
"/js/StarRating/jquery.rating.js",
"/Modules/AspxCommerce/AspxItemDetails/js/jquery.currencydropdown.js",
"/js/PopUp/popbox.js",
"/js/FancyDropDown/itemFancyDropdown.js",
"/js/jquery.labelify.js", "/js/encoder.js", "/js/StarRating/jquery.rating.pack.js",
"/js/StarRating/jquery.MetaData.js", "/js/Paging/jquery.pagination.js",
"/Modules/AspxCommerce/AspxItemDetails/js/ItemDetails.js");
}
IncludeLanguageJS();
GetItemDetailsInfo(aspxCommonObj, itemSKU, userIP, countryName);
}