/// <summary> /// Install plugin /// </summary> public override void Install() { var settings = new FroogleSettings(); settings.CurrencyId = _googleService.Helper.CurrencyID; _settingService.SaveSetting(settings); _localizationService.ImportPluginResourcesFromXml(this.PluginDescriptor); _googleService.Helper.InsertScheduleTask(); base.Install(); }
/// <summary> /// Install plugin /// </summary> public override void Install() { var settings = new FroogleSettings(); settings.CurrencyId = _services.StoreContext.CurrentStore.PrimaryStoreCurrencyId; _services.Settings.SaveSetting(settings); _services.Localization.ImportPluginResourcesFromXml(this.PluginDescriptor); _googleService.Helper.InsertScheduleTask(); base.Install(); }