public CategoryModel() { if (PageSize < 1) { PageSize = 5; } Locales = new List <CategoryLocalizedModel>(); AvailableCategoryTemplates = new List <SelectListItem>(); AvailableCategories = new List <SelectListItem>(); AvailableDiscounts = new List <SelectListItem>(); SelectedDiscountIds = new List <int>(); SelectedCustomerRoleIds = new List <int>(); AvailableCustomerRoles = new List <SelectListItem>(); SelectedStoreIds = new List <int>(); AvailableStores = new List <SelectListItem>(); CategoryProductSearchModel = new CategoryProductSearchModel(); // custom code start TierPriceSearchModel = new CustomTierPriceSearchModel(); // custom code end }
public CategoryModel() { if (PageSize < 1) { PageSize = 5; } Locales = new List <CategoryLocalizedModel>(); AvailableCategoryTemplates = new List <SelectListItem>(); AvailableCategories = new List <SelectListItem>(); SelectedCustomerRoleIds = new List <int>(); AvailableCustomerRoles = new List <SelectListItem>(); SelectedStoreIds = new List <int>(); AvailableStores = new List <SelectListItem>(); CategoryProductSearchModel = new CategoryProductSearchModel(); }