Exemplo n.º 1
0
 public SwapDeliveryMethodController(
     IShoppingCartService shoppingCartService,
     ICustomerShopService customerShopService,
     IProductService productService,
     IBackendStockService backendStockService,
     IShopService shopService,
     IRepository <ShoppingCartItem> shoppingCartItemRepository,
     IRepository <ProductHomeDelivery> productHomeDeliveryRepository,
     IAttributeUtilities attributeUtilities,
     IWorkContext workContext,
     IUrlRecordService urlRecordService,
     IStoreContext storeContext
     )
 {
     _shoppingCartService           = shoppingCartService;
     _customerShopService           = customerShopService;
     _productService                = productService;
     _backendStockService           = backendStockService;
     _shopService                   = shopService;
     _shoppingCartItemRepository    = shoppingCartItemRepository;
     _productHomeDeliveryRepository = productHomeDeliveryRepository;
     _attributeUtilities            = attributeUtilities;
     _workContext                   = workContext;
     _urlRecordService              = urlRecordService;
     _storeContext                  = storeContext;
 }
Exemplo n.º 2
0
        public CustomShoppingCartService(
            CatalogSettings catalogSettings,
            IAclService aclService,
            IActionContextAccessor actionContextAccessor,
            ICheckoutAttributeParser checkoutAttributeParser,
            ICheckoutAttributeService checkoutAttributeService,
            ICurrencyService currencyService,
            ICustomerService customerService,
            IDateRangeService dateRangeService,
            IDateTimeHelper dateTimeHelper,
            IGenericAttributeService genericAttributeService,
            ILocalizationService localizationService,
            IPermissionService permissionService,
            IPriceCalculationService priceCalculationService,
            IPriceFormatter priceFormatter,
            IProductAttributeParser productAttributeParser,
            IProductAttributeService productAttributeService,
            IProductService productService,
            IRepository <ShoppingCartItem> sciRepository,
            IShippingService shippingService,
            IStaticCacheManager staticCacheManager,
            IStoreContext storeContext,
            IStoreMappingService storeMappingService,
            IUrlHelperFactory urlHelperFactory,
            IUrlRecordService urlRecordService,
            IWorkContext workContext,
            OrderSettings orderSettings,
            ShoppingCartSettings shoppingCartSettings,
            // custom
            IAttributeUtilities attributeUtilities,
            IRepository <HiddenAttributeValue> hiddenAttributeValueRepository,
            ICustomerShopService customerShopService,
            IBackendStockService backendStockService,
            IShopService shopService
            )
            : base(catalogSettings, aclService, actionContextAccessor,
                   checkoutAttributeParser, checkoutAttributeService, currencyService,
                   customerService, dateRangeService, dateTimeHelper,
                   genericAttributeService, localizationService, permissionService,
                   priceCalculationService, priceFormatter, productAttributeParser,
                   productAttributeService, productService, sciRepository,
                   shippingService, staticCacheManager, storeContext, storeMappingService,
                   urlHelperFactory, urlRecordService, workContext, orderSettings,
                   shoppingCartSettings)
        {
            _hiddenAttributeValueRepository =
                EngineContext.Current.Resolve <IRepository <HiddenAttributeValue> >();

            _productAttributeParser  = productAttributeParser;
            _attributeUtilities      = attributeUtilities;
            _shoppingCartSettings    = shoppingCartSettings;
            _priceCalculationService = priceCalculationService;

            _customerShopService    = customerShopService;
            _attributeUtilities     = attributeUtilities;
            _backendStockService    = backendStockService;
            _shopService            = shopService;
            _productAttributeParser = productAttributeParser;
            _productService         = productService;
        }
Exemplo n.º 3
0
 public PickStoreController(
     IWorkContext workContext,
     IStoreContext storeContext,
     IShopService shopService,
     IProductService productService,
     ICustomerShopService customerShopService,
     IProductAttributeParser productAttributeParser,
     IShoppingCartService shoppingCartService,
     IBackendStockService backendStockService,
     IAttributeUtilities attributeUtilities,
     PickupInStoreSettings pickUpInStoreSettings,
     ISettingService settingService,
     ILocalizationService localizationService,
     ILogger logger,
     StoreLocatorSettings storeLocatorSettings,
     INotificationService notificationService,
     IProductAttributeService productAttributeService
     )
 {
     _workContext            = workContext;
     _storeContext           = storeContext;
     _shopService            = shopService;
     _productService         = productService;
     _customerShopService    = customerShopService;
     _productAttributeParser = productAttributeParser;
     _shoppingCartService    = shoppingCartService;
     _backendStockService    = backendStockService;
     _attributeUtilities     = attributeUtilities;
     _pickupInStoreSettings  = pickUpInStoreSettings;
     _settingService         = settingService;
     _localizationService    = localizationService;
     _logger = logger;
     _storeLocatorSettings    = storeLocatorSettings;
     _notificationService     = notificationService;
     _productAttributeService = productAttributeService;
 }
        public CustomShoppingCartController(
            CaptchaSettings captchaSettings,
            CustomerSettings customerSettings,
            ICheckoutAttributeParser checkoutAttributeParser,
            ICheckoutAttributeService checkoutAttributeService,
            ICurrencyService currencyService,
            ICustomerActivityService customerActivityService,
            ICustomerService customerService,
            IDiscountService discountService,
            IDownloadService downloadService,
            IGenericAttributeService genericAttributeService,
            IGiftCardService giftCardService,
            ILocalizationService localizationService,
            INopFileProvider fileProvider,
            INotificationService notificationService,
            IPermissionService permissionService,
            IPictureService pictureService,
            IPriceFormatter priceFormatter,
            IProductAttributeParser productAttributeParser,
            IProductAttributeService productAttributeService,
            IProductService productService,
            IShippingService shippingService,
            IShoppingCartModelFactory shoppingCartModelFactory,
            IShoppingCartService shoppingCartService,
            IStaticCacheManager staticCacheManager,
            IStoreContext storeContext,
            ITaxService taxService,
            IUrlRecordService urlRecordService,
            IWebHelper webHelper,
            IWorkContext workContext,
            IWorkflowMessageService workflowMessageService,
            MediaSettings mediaSettings,
            OrderSettings orderSettings,
            ShoppingCartSettings shoppingCartSettings,
            ShippingSettings shippingSettings,
            // custom
            IAttributeUtilities attributeUtilities,
            IRepository <CustomerShopMapping> customerShopMappingRepository,
            IBackendStockService backendStockService,
            IProductAbcDescriptionService productAbcDescriptionService,
            IWidgetPluginManager widgetPluginManager
            ) : base(captchaSettings, customerSettings, checkoutAttributeParser, checkoutAttributeService,
                     currencyService, customerActivityService, customerService, discountService,
                     downloadService, genericAttributeService, giftCardService, localizationService,
                     fileProvider, notificationService, permissionService, pictureService,
                     priceFormatter, productAttributeParser, productAttributeService, productService,
                     shippingService, shoppingCartModelFactory, shoppingCartService, staticCacheManager,
                     storeContext, taxService, urlRecordService, webHelper,
                     workContext, workflowMessageService, mediaSettings, orderSettings,
                     shoppingCartSettings, shippingSettings)
        {
            _customerActivityService = customerActivityService;
            _localizationService     = localizationService;
            _productAttributeParser  = productAttributeParser;
            _productAttributeService = productAttributeService;
            _productService          = productService;
            _shoppingCartService     = shoppingCartService;
            _shoppingCartSettings    = shoppingCartSettings;
            _storeContext            = storeContext;
            _urlRecordService        = urlRecordService;
            _workContext             = workContext;

            _attributeUtilities            = attributeUtilities;
            _customerShopMappingRepository = customerShopMappingRepository;
            _backendStockService           = backendStockService;
            _productAbcDescriptionService  = productAbcDescriptionService;
            _widgetPluginManager           = widgetPluginManager;
        }