@model CatalogSettingsModel
@using Telerik.Web.Mvc.UI;
@{
//page title
ViewBag.Title = T("Admin.Configuration.Settings.Catalog").Text;
}
@using (Html.BeginForm())
{
@Html.Action("StoreScopeConfiguration", "Setting")
@Html.ValidationSummary(false)
@(Html.SmartStore().TabStrip().Name("catalogsettings-edit").Items(x =>
{
x.Add().Text(T("Admin.Configuration.Settings.Catalog.MiscSettings").Text).Content(@TabMiscSettings()).Selected(true);
x.Add().Text(T("Admin.Configuration.Settings.Catalog.ProductListSettings").Text).Content(@TabProductListSettings());
x.Add().Text(T("Admin.Configuration.Settings.Catalog.ProductDetailSettings").Text).Content(@TabProductDetailSettings());
x.Add().Text(T("Admin.Configuration.Settings.Catalog.UserSettings").Text).Content(@TabUserSettings());
x.Add().Text(T("Admin.Configuration.Settings.Catalog.ProductSearchSettings").Text).Content(@TabProductSearchSettings());
}))
@helper TabMiscSettings()
{
|
@Html.SmartLabelFor(model => model.ShowProductSku)
|
@Html.SettingEditorFor(model => model.ShowProductSku)
@Html.ValidationMessageFor(model => model.ShowProductSku)
|
|
@Html.SmartLabelFor(model => model.ShowManufacturerPartNumber)
|
@Html.SettingEditorFor(model => model.ShowManufacturerPartNumber)
@Html.ValidationMessageFor(model => model.ShowManufacturerPartNumber)
|
|
@Html.SmartLabelFor(model => model.ShowGtin)
|
@Html.SettingEditorFor(model => model.ShowGtin)
@Html.ValidationMessageFor(model => model.ShowGtin)
|
|
@Html.SmartLabelFor(model => model.ShowWeight)
|
@Html.SettingEditorFor(model => model.ShowWeight)
@Html.ValidationMessageFor(model => model.ShowWeight)
|
|
@Html.SmartLabelFor(model => model.ShowDimensions)
|
@Html.SettingEditorFor(model => model.ShowDimensions)
@Html.ValidationMessageFor(model => model.ShowDimensions)
|
|
@Html.SmartLabelFor(model => model.ShowDiscountSign)
|
@Html.SettingEditorFor(model => model.ShowDiscountSign)
@Html.ValidationMessageFor(model => model.ShowDiscountSign)
|
|
@Html.SmartLabelFor(model => model.IgnoreDiscounts)
|
@Html.SettingEditorFor(model => model.IgnoreDiscounts)
@Html.ValidationMessageFor(model => model.IgnoreDiscounts)
|
|
@Html.SmartLabelFor(model => model.IgnoreFeaturedProducts)
|
@Html.SettingEditorFor(model => model.IgnoreFeaturedProducts)
@Html.ValidationMessageFor(model => model.IgnoreFeaturedProducts)
|
|
@Html.SmartLabelFor(model => model.CompareProductsEnabled)
|
@Html.SettingEditorFor(model => model.CompareProductsEnabled)
@Html.ValidationMessageFor(model => model.CompareProductsEnabled)
|
|
@Html.SmartLabelFor(model => model.IncludeShortDescriptionInCompareProducts)
|
@Html.SettingEditorFor(model => model.IncludeShortDescriptionInCompareProducts)
@Html.ValidationMessageFor(model => model.IncludeShortDescriptionInCompareProducts)
|
|
@Html.SmartLabelFor(model => model.IncludeFullDescriptionInCompareProducts)
|
@Html.SettingEditorFor(model => model.IncludeFullDescriptionInCompareProducts)
@Html.ValidationMessageFor(model => model.IncludeFullDescriptionInCompareProducts)
|
|
@Html.SmartLabelFor(model => model.ShowBestsellersOnHomepage)
|
@Html.SettingEditorFor(model => model.ShowBestsellersOnHomepage)
@Html.ValidationMessageFor(model => model.ShowBestsellersOnHomepage)
|
|
@Html.SmartLabelFor(model => model.NumberOfBestsellersOnHomepage)
|
@Html.SettingEditorFor(model => model.NumberOfBestsellersOnHomepage)
@Html.ValidationMessageFor(model => model.NumberOfBestsellersOnHomepage)
|
|
@Html.SmartLabelFor(model => model.ShowManufacturersOnHomepage)
|
@Html.SettingEditorFor(model => model.ShowManufacturersOnHomepage)
@Html.ValidationMessageFor(model => model.ShowManufacturersOnHomepage)
|
|
@Html.SmartLabelFor(model => model.ManufacturersBlockItemsToDisplay)
|
@Html.SettingEditorFor(model => model.ManufacturersBlockItemsToDisplay)
@Html.ValidationMessageFor(model => model.ManufacturersBlockItemsToDisplay)
|
|
@Html.SmartLabelFor(model => model.ShowManufacturerPictures)
|
@Html.SettingEditorFor(model => model.ShowManufacturerPictures)
@Html.ValidationMessageFor(model => model.ShowManufacturerPictures)
|
|
@Html.SmartLabelFor(model => model.HideCategoryDefaultPictures)
|
@Html.SettingEditorFor(model => model.HideCategoryDefaultPictures)
@Html.ValidationMessageFor(model => model.HideCategoryDefaultPictures)
|
|
@Html.SmartLabelFor(model => model.HideProductDefaultPictures)
|
@Html.SettingEditorFor(model => model.HideProductDefaultPictures)
@Html.ValidationMessageFor(model => model.HideProductDefaultPictures)
|
|
@Html.SmartLabelFor(model => model.EnableHtmlTextCollapser)
|
@Html.SettingEditorFor(model => model.EnableHtmlTextCollapser)
@Html.ValidationMessageFor(model => model.EnableHtmlTextCollapser)
|
|
@Html.SmartLabelFor(model => model.HtmlTextCollapsedHeight)
|
@Html.SettingEditorFor(model => model.HtmlTextCollapsedHeight)
@Html.ValidationMessageFor(model => model.HtmlTextCollapsedHeight)
|
|
@Html.SmartLabelFor(model => model.ShowDefaultQuantityUnit)
|
@Html.SettingEditorFor(model => model.ShowDefaultQuantityUnit)
@Html.ValidationMessageFor(model => model.ShowDefaultQuantityUnit)
|
}
@helper TabProductListSettings()
{
|
|
|
@Html.SmartLabelFor(model => model.ShowProductsFromSubcategories)
|
@Html.SettingEditorFor(model => model.ShowProductsFromSubcategories)
@Html.ValidationMessageFor(model => model.ShowProductsFromSubcategories)
|
|
@Html.SmartLabelFor(model => model.IncludeFeaturedProductsInNormalLists)
|
@Html.SettingEditorFor(model => model.IncludeFeaturedProductsInNormalLists)
@Html.ValidationMessageFor(model => model.IncludeFeaturedProductsInNormalLists)
|
|
@Html.SmartLabelFor(model => model.ShowCategoryProductNumber)
|
@Html.SettingEditorFor(model => model.ShowCategoryProductNumber)
@Html.ValidationMessageFor(model => model.ShowCategoryProductNumber)
|
|
@Html.SmartLabelFor(model => model.ShowCategoryProductNumberIncludingSubcategories)
|
@Html.SettingEditorFor(model => model.ShowCategoryProductNumberIncludingSubcategories)
@Html.ValidationMessageFor(model => model.ShowCategoryProductNumberIncludingSubcategories)
|
|
@Html.SmartLabelFor(model => model.CategoryBreadcrumbEnabled)
|
@Html.SettingEditorFor(model => model.CategoryBreadcrumbEnabled)
@Html.ValidationMessageFor(model => model.CategoryBreadcrumbEnabled)
|
|
@Html.SmartLabelFor(model => model.SubCategoryDisplayType)
|
@Html.SettingOverrideCheckbox(model => Model.SubCategoryDisplayType)
@Html.DropDownListFor(model => model.SubCategoryDisplayType, Model.AvailableSubCategoryDisplayTypes)
@Html.ValidationMessageFor(model => model.SubCategoryDisplayType)
|
@T("Filtering.FilterResults")
|
|
@Html.SmartLabelFor(model => model.FilterEnabled)
|
@Html.SettingEditorFor(model => model.FilterEnabled)
@Html.ValidationMessageFor(model => model.FilterEnabled)
|
|
@Html.SmartLabelFor(model => model.MaxFilterItemsToDisplay)
|
@Html.SettingEditorFor(model => model.MaxFilterItemsToDisplay)
@Html.ValidationMessageFor(model => model.MaxFilterItemsToDisplay)
|
|
@Html.SmartLabelFor(model => model.ExpandAllFilterCriteria)
|
@Html.SettingEditorFor(model => model.ExpandAllFilterCriteria)
@Html.ValidationMessageFor(model => model.ExpandAllFilterCriteria)
|
|
@Html.SmartLabelFor(model => model.SortFilterResultsByMatches)
|
@Html.SettingEditorFor(model => model.SortFilterResultsByMatches)
@Html.ValidationMessageFor(model => model.SortFilterResultsByMatches)
|
|
|
|
@Html.SmartLabelFor(model => model.AllowProductSorting)
|
@Html.SettingEditorFor(model => model.AllowProductSorting)
@Html.ValidationMessageFor(model => model.AllowProductSorting)
|
|
@Html.SmartLabelFor(model => model.DefaultViewMode)
|
@Html.SettingOverrideCheckbox(model => Model.DefaultViewMode)
@Html.DropDownListFor(model => model.DefaultViewMode, Model.AvailableDefaultViewModes)
@Html.ValidationMessageFor(model => model.DefaultViewMode)
|
|
@Html.SmartLabelFor(model => model.DefaultSortOrder)
|
@Html.SettingOverrideCheckbox(model => Model.DefaultSortOrder)
@Html.DropDownListFor(model => model.DefaultSortOrder, Model.AvailableSortOrderModes)
@Html.ValidationMessageFor(model => model.DefaultSortOrder)
|
|
@Html.SmartLabelFor(model => model.AllowProductViewModeChanging)
|
@Html.SettingEditorFor(model => model.AllowProductViewModeChanging)
@Html.ValidationMessageFor(model => model.AllowProductViewModeChanging)
|
|
@Html.SmartLabelFor(model => model.DefaultPageSizeOptions)
|
@Html.SettingEditorFor(model => model.DefaultPageSizeOptions)
@Html.ValidationMessageFor(model => model.DefaultPageSizeOptions)
|
|
@Html.SmartLabelFor(model => model.PriceDisplayType)
|
@Html.SettingOverrideCheckbox(model => Model.PriceDisplayType)
@Html.DropDownListFor(model => model.PriceDisplayType, Model.AvailablePriceDisplayTypes)
@Html.ValidationMessageFor(model => model.PriceDisplayType)
|
@T("Admin.Catalog.Products")
|
|
@Html.SmartLabelFor(model => model.ShowDeliveryTimesInProductLists)
|
@Html.SettingEditorFor(model => model.ShowDeliveryTimesInProductLists)
@Html.ValidationMessageFor(model => model.ShowDeliveryTimesInProductLists)
|
|
@Html.SmartLabelFor(model => model.ShowBasePriceInProductLists)
|
@Html.SettingEditorFor(model => model.ShowBasePriceInProductLists)
@Html.ValidationMessageFor(model => model.ShowBasePriceInProductLists)
|
|
@Html.SmartLabelFor(model => model.ShowColorSquaresInLists)
|
@Html.SettingEditorFor(model => model.ShowColorSquaresInLists)
@Html.ValidationMessageFor(model => model.ShowColorSquaresInLists)
|
|
@Html.SmartLabelFor(model => model.HideBuyButtonInLists)
|
@Html.SettingEditorFor(model => model.HideBuyButtonInLists)
@Html.ValidationMessageFor(model => model.HideBuyButtonInLists)
|
|
@Html.SmartLabelFor(model => model.LabelAsNewForMaxDays)
|
@Html.SettingEditorFor(model => model.LabelAsNewForMaxDays)
@Html.ValidationMessageFor(model => model.LabelAsNewForMaxDays)
|
@T("Admin.Catalog.ProductTags")
|
|
@Html.SmartLabelFor(model => model.NumberOfProductTags)
|
@Html.SettingEditorFor(model => model.NumberOfProductTags)
@Html.ValidationMessageFor(model => model.NumberOfProductTags)
|
|
@Html.SmartLabelFor(model => model.ProductsByTagPageSize)
|
@Html.SettingEditorFor(model => model.ProductsByTagPageSize)
@Html.ValidationMessageFor(model => model.ProductsByTagPageSize)
|
|
@Html.SmartLabelFor(model => model.ProductsByTagAllowCustomersToSelectPageSize)
|
@Html.SettingEditorFor(model => model.ProductsByTagAllowCustomersToSelectPageSize)
@Html.ValidationMessageFor(model => model.ProductsByTagAllowCustomersToSelectPageSize)
|
|
@Html.SmartLabelFor(model => model.ProductsByTagPageSizeOptions)
|
@Html.SettingEditorFor(model => model.ProductsByTagPageSizeOptions)
@Html.ValidationMessageFor(model => model.ProductsByTagPageSizeOptions)
|
}
@helper TabUserSettings()
{
|
@Html.SmartLabelFor(model => model.ShowProductReviewsInProductLists)
|
@Html.SettingEditorFor(model => model.ShowProductReviewsInProductLists)
@Html.ValidationMessageFor(model => model.ShowProductReviewsInProductLists)
|
|
@Html.SmartLabelFor(model => model.ShowProductReviewsInProductDetail)
|
@Html.SettingEditorFor(model => model.ShowProductReviewsInProductDetail)
@Html.ValidationMessageFor(model => model.ShowProductReviewsInProductDetail)
|
|
@Html.SmartLabelFor(model => model.ProductReviewsMustBeApproved)
|
@Html.SettingEditorFor(model => model.ProductReviewsMustBeApproved)
@Html.ValidationMessageFor(model => model.ProductReviewsMustBeApproved)
|
|
@Html.SmartLabelFor(model => model.AllowAnonymousUsersToReviewProduct)
|
@Html.SettingEditorFor(model => model.AllowAnonymousUsersToReviewProduct)
@Html.ValidationMessageFor(model => model.AllowAnonymousUsersToReviewProduct)
|
|
@Html.SmartLabelFor(model => model.NotifyStoreOwnerAboutNewProductReviews)
|
@Html.SettingEditorFor(model => model.NotifyStoreOwnerAboutNewProductReviews)
@Html.ValidationMessageFor(model => model.NotifyStoreOwnerAboutNewProductReviews)
|
|
@Html.SmartLabelFor(model => model.AskQuestionEnabled)
|
@Html.SettingEditorFor(model => model.AskQuestionEnabled)
@Html.ValidationMessageFor(model => model.AskQuestionEnabled)
|
|
@Html.SmartLabelFor(model => model.EmailAFriendEnabled)
|
@Html.SettingEditorFor(model => model.EmailAFriendEnabled)
@Html.ValidationMessageFor(model => model.EmailAFriendEnabled)
|
|
@Html.SmartLabelFor(model => model.AllowAnonymousUsersToEmailAFriend)
|
@Html.SettingEditorFor(model => model.AllowAnonymousUsersToEmailAFriend)
@Html.ValidationMessageFor(model => model.AllowAnonymousUsersToEmailAFriend)
|
}
@helper TabProductDetailSettings()
{
|
@Html.SmartLabelFor(model => model.RecentlyViewedProductsEnabled)
|
@Html.SettingEditorFor(model => model.RecentlyViewedProductsEnabled)
@Html.ValidationMessageFor(model => model.RecentlyViewedProductsEnabled)
|
|
@Html.SmartLabelFor(model => model.RecentlyViewedProductsNumber)
|
@Html.SettingEditorFor(model => model.RecentlyViewedProductsNumber)
@Html.ValidationMessageFor(model => model.RecentlyViewedProductsNumber)
|
|
@Html.SmartLabelFor(model => model.RecentlyAddedProductsEnabled)
|
@Html.SettingEditorFor(model => model.RecentlyAddedProductsEnabled)
@Html.ValidationMessageFor(model => model.RecentlyAddedProductsEnabled)
|
|
@Html.SmartLabelFor(model => model.RecentlyAddedProductsNumber)
|
@Html.SettingEditorFor(model => model.RecentlyAddedProductsNumber)
@Html.ValidationMessageFor(model => model.RecentlyAddedProductsNumber)
|
|
@Html.SmartLabelFor(model => model.ShowShareButton)
|
@Html.SettingEditorFor(model => model.ShowShareButton)
@Html.ValidationMessageFor(model => model.ShowShareButton)
|
|
@Html.SmartLabelFor(model => model.ProductsAlsoPurchasedEnabled)
|
@Html.SettingEditorFor(model => model.ProductsAlsoPurchasedEnabled)
@Html.ValidationMessageFor(model => model.ProductsAlsoPurchasedEnabled)
|
|
@Html.SmartLabelFor(model => model.ProductsAlsoPurchasedNumber)
|
@Html.SettingEditorFor(model => model.ProductsAlsoPurchasedNumber)
@Html.ValidationMessageFor(model => model.ProductsAlsoPurchasedNumber)
|
|
@Html.SmartLabelFor(model => model.DisplayAllImagesNumber)
|
@Html.SettingEditorFor(model => model.DisplayAllImagesNumber)
@Html.ValidationMessageFor(model => model.DisplayAllImagesNumber)
|
|
@Html.SmartLabelFor(model => model.ShowDeliveryTimesInProductDetail)
|
@Html.SettingEditorFor(model => model.ShowDeliveryTimesInProductDetail)
@Html.ValidationMessageFor(model => model.ShowDeliveryTimesInProductDetail)
|
|
@Html.SmartLabelFor(model => model.DeliveryTimeIdForEmptyStock)
|
@Html.SettingOverrideCheckbox(model => model.DeliveryTimeIdForEmptyStock)
@Html.DropDownListFor(model => model.DeliveryTimeIdForEmptyStock, Model.AvailableDeliveryTimes, T("Common.Unspecified"))
@Html.ValidationMessageFor(model => model.DeliveryTimeIdForEmptyStock)
|
|
@Html.SmartLabelFor(model => model.EnableDynamicPriceUpdate)
|
@Html.SettingEditorFor(model => model.EnableDynamicPriceUpdate)
@Html.ValidationMessageFor(model => model.EnableDynamicPriceUpdate)
|
|
@Html.SmartLabelFor(model => model.BundleItemShowBasePrice)
|
@Html.SettingEditorFor(model => model.BundleItemShowBasePrice)
@Html.ValidationMessageFor(model => model.BundleItemShowBasePrice)
|
|
@Html.SmartLabelFor(model => model.ShowVariantCombinationPriceAdjustment)
|
@Html.SettingEditorFor(model => model.ShowVariantCombinationPriceAdjustment)
@Html.ValidationMessageFor(model => model.ShowVariantCombinationPriceAdjustment)
|
|
@Html.SmartLabelFor(model => model.ShowLinkedAttributeValueQuantity)
|
@Html.SettingEditorFor(model => model.ShowLinkedAttributeValueQuantity)
@Html.ValidationMessageFor(model => model.ShowLinkedAttributeValueQuantity)
|
|
@Html.SmartLabelFor(model => model.ShowLinkedAttributeValueImage)
|
@Html.SettingEditorFor(model => model.ShowLinkedAttributeValueImage)
@Html.ValidationMessageFor(model => model.ShowLinkedAttributeValueImage)
|
}
@helper TabProductSearchSettings()
{
|
@Html.SmartLabelFor(model => model.SearchPageProductsPerPage)
|
@Html.SettingEditorFor(model => model.SearchPageProductsPerPage)
@Html.ValidationMessageFor(model => model.SearchPageProductsPerPage)
|
|
@Html.SmartLabelFor(model => model.ProductSearchAllowCustomersToSelectPageSize)
|
@Html.SettingEditorFor(model => model.ProductSearchAllowCustomersToSelectPageSize)
@Html.ValidationMessageFor(model => model.ProductSearchAllowCustomersToSelectPageSize)
|
|
@Html.SmartLabelFor(model => model.ProductSearchPageSizeOptions)
|
@Html.SettingEditorFor(model => model.ProductSearchPageSizeOptions)
@Html.ValidationMessageFor(model => model.ProductSearchPageSizeOptions)
|
|
@Html.SmartLabelFor(model => model.SuppressSkuSearch)
|
@Html.SettingEditorFor(model => model.SuppressSkuSearch)
@Html.ValidationMessageFor(model => model.SuppressSkuSearch)
|
|
@Html.SmartLabelFor(model => model.SearchDescriptions)
|
@Html.SettingEditorFor(model => model.SearchDescriptions)
@Html.ValidationMessageFor(model => model.SearchDescriptions)
|
|
|
@Html.SmartLabelFor(model => model.ProductSearchAutoCompleteEnabled)
|
@Html.SettingEditorFor(model => model.ProductSearchAutoCompleteEnabled)
@Html.ValidationMessageFor(model => model.ProductSearchAutoCompleteEnabled)
|
|
@Html.SmartLabelFor(model => model.ShowProductImagesInSearchAutoComplete)
|
@Html.SettingEditorFor(model => model.ShowProductImagesInSearchAutoComplete)
@Html.ValidationMessageFor(model => model.ShowProductImagesInSearchAutoComplete)
|
|
@Html.SmartLabelFor(model => model.ProductSearchAutoCompleteNumberOfProducts)
|
@Html.SettingEditorFor(model => model.ProductSearchAutoCompleteNumberOfProducts)
@Html.ValidationMessageFor(model => model.ProductSearchAutoCompleteNumberOfProducts)
|
}
}