Пример #1
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;
        }
Пример #2
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;
 }
Пример #3
0
 public AbcPickupInStoreViewComponent(
     ILogger logger,
     IStoreContext storeContext,
     IWorkContext workContext,
     IPickStoreModelFactory pickStoreModelFactory,
     IProductService productService,
     IProductAttributeService productAttributeService,
     ICustomerShopService customerShopService,
     IShopService shopService,
     IShoppingCartService shoppingCartService,
     PickupInStoreSettings pickupInStoreSettings,
     StoreLocatorSettings storeLocatorSettings
     )
 {
     _logger                  = logger;
     _storeContext            = storeContext;
     _workContext             = workContext;
     _pickStoreModelFactory   = pickStoreModelFactory;
     _productService          = productService;
     _productAttributeService = productAttributeService;
     _customerShopService     = customerShopService;
     _shopService             = shopService;
     _shoppingCartService     = shoppingCartService;
     _pickupInStoreSettings   = pickupInStoreSettings;
     _storeLocatorSettings    = storeLocatorSettings;
 }
Пример #4
0
 public PickStoreModelFactory(
     ICustomerShopService customerShopService,
     IShopService shopService,
     IShoppingCartService shoppingCartService,
     IWorkContext workContext,
     PickupInStoreSettings pickupInStoreSettings,
     StoreLocatorSettings storeLocatorSettings
     )
 {
     _customerShopService   = customerShopService;
     _shopService           = shopService;
     _shoppingCartService   = shoppingCartService;
     _workContext           = workContext;
     _pickupInStoreSettings = pickupInStoreSettings;
     _storeLocatorSettings  = storeLocatorSettings;
 }
Пример #5
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;
 }