Example #1
0
        public ProductModel()
        {
            Locales = new List <ProductLocalizedModel>();
            ProductPictureModels           = new List <ProductPictureModel>();
            CopyProductModel               = new CopyProductModel();
            AddPictureModel                = new ProductPictureModel();
            AddSpecificationAttributeModel = new AddProductSpecificationAttributeModel();
            ProductEditorSettingsModel     = new ProductEditorSettingsModel();
            StockQuantityHistory           = new StockQuantityHistoryModel();

            //AvailableBasepriceUnits = new List<SelectListItem>();
            //AvailableBasepriceBaseUnits = new List<SelectListItem>();
            AvailableProductTemplates  = new List <SelectListItem>();
            AvailableTaxCategories     = new List <SelectListItem>();
            AvailableProductAttributes = new List <SelectListItem>();
            ProductsTypesSupportedByProductTemplates = new Dictionary <int, IList <SelectListItem> >();


            SelectedStoreIds = new List <int>();
            AvailableStores  = new List <SelectListItem>();

            SelectedDestinationIds = new List <int>();
            AvailableDestinations  = new List <SelectListItem>();

            SelectedCategoryIds = new List <int>();
            AvailableCategories = new List <SelectListItem>();

            SelectedCustomerRoleIds = new List <int>();
            AvailableCustomerRoles  = new List <SelectListItem>();

            SelectedDiscountIds = new List <int>();
            AvailableDiscounts  = new List <SelectListItem>();
        }
Example #2
0
 public ProductModel()
 {
     Locales = new List <ProductLocalizedModel>();
     ProductVariantModels      = new List <ProductVariantModel>();
     ProductPictureModels      = new List <ProductPictureModel>();
     CopyProductModel          = new CopyProductModel();
     AvailableProductTemplates = new List <SelectListItem>();
 }
Example #3
0
 public ProductModel()
 {
     Locales = new List <ProductLocalizedModel>();
     ProductPictureModels           = new List <ProductPictureModel>();
     CopyProductModel               = new CopyProductModel();
     AvailableProductTemplates      = new List <SelectListItem>();
     AvailableVendors               = new List <SelectListItem>();
     AvailableTaxCategories         = new List <SelectListItem>();
     AddPictureModel                = new ProductPictureModel();
     AddSpecificationAttributeModel = new AddProductSpecificationAttributeModel();
 }
Example #4
0
 public ProductModel()
 {
     Locales = new List <ProductLocalizedModel>();
     ProductPictureModels            = new List <ProductPictureModel>();
     CopyProductModel                = new CopyProductModel();
     AvailableProductTemplates       = new List <SelectListItem>();
     AvailableVendors                = new List <SelectListItem>();
     AvailableTaxCategories          = new List <SelectListItem>();
     AvailableDeliveryDates          = new List <SelectListItem>();
     AvailableWarehouses             = new List <SelectListItem>();
     AvailableCategories             = new List <SelectListItem>();
     AvailableManufacturers          = new List <SelectListItem>();
     AvailableProductAttributes      = new List <SelectListItem>();
     AddPictureModel                 = new ProductPictureModel();
     AddSpecificationAttributeModel  = new AddProductSpecificationAttributeModel();
     ProductWarehouseInventoryModels = new List <ProductWarehouseInventoryModel>();
 }
Example #5
0
        public ProductModel()
        {
            Locales = new List <ProductLocalizedModel>();
            ProductPictureModels       = new List <ProductPictureModel>();
            CopyProductModel           = new CopyProductModel();
            AddPictureModel            = new ProductPictureModel();
            ProductEditorSettingsModel = new ProductEditorSettingsModel();

            AvailableProductTemplates = new List <SelectListItem>();
            ProductsTypesSupportedByProductTemplates = new Dictionary <int, IList <SelectListItem> >();

            SelectedStoreIds = new List <int>();
            AvailableStores  = new List <SelectListItem>();


            SelectedCategoryIds = new List <int>();
            AvailableCategories = new List <SelectListItem>();

            SelectedCustomerRoleIds = new List <int>();
            AvailableCustomerRoles  = new List <SelectListItem>();
        }