コード例 #1
0
        /// <summary>
        /// Install the plugin
        /// </summary>
        public override void Install()
        {
            var settings = new MMSSettings
            {
                DollarExchangeRate       = 1,
                ShippingMultiplyer       = 1,
                MarkupMultiplyerLower    = 1,
                MarkupMultiplyerUpper    = 1,
                MarkupMutiplyerThreshold = 10,
                LoadFromDate             = DateTime.Now,
                LoadUntilDate            = DateTime.Now,
                LastLoadedDate           = DateTime.Now,
                MMSusername = "******",
                MMSpassword = "******"
            };

            _settingService.SaveSetting(settings);

            _localizationService.AddPluginLocaleResource(new Dictionary <string, string>
            {
                ["Plugins.Misc.MmsAdmin.Fields.DollarExchangeRate"]       = "Dollar Exchange Rate",
                ["Plugins.Misc.MmsAdmin.Fields.ShippingMultiplyer"]       = "Shipping Multiplyer",
                ["Plugins.Misc.MmsAdmin.Fields.MarkupMultiplyerLower"]    = "Markup Multiplyer Lower",
                ["Plugins.Misc.MmsAdmin.Fields.MarkupMultiplyerUpper"]    = "Markup Multiplyer Upper",
                ["Plugins.Misc.MmsAdmin.Fields.MarkupMutiplyerThreshold"] = "Markup Mutiplyer Threshold",
                ["Plugins.Misc.MmsAdmin.Fields.LoadFromDate"]             = "Load From Date",
                ["Plugins.Misc.MmsAdmin.Fields.LoadUntilDate"]            = "Load Until Date",
                ["Plugins.Misc.MmsAdmin.Fields.LastLoadedDate"]           = "Last Loaded Date",
                ["Plugins.Misc.MmsAdmin.Fields.MMSusername"] = "******",
                ["Plugins.Misc.MmsAdmin.Fields.MMSpassword"] = "******"
            });
            base.Install();
            Debug.WriteLine(">>>>>>>>>>>  In Install Line 66");
        }
コード例 #2
0
        /// <summary>
        /// Install the plugin
        /// </summary>
        public override void Install()
        {
            //settings
            _settingService.SaveSetting(new EzkelTechAwsS3Settings
            {
                ObjectUrlTemplate = EzkelTechAwsS3Settings.DefaultObjectUrlTemplate
            });

            //locales
            _localizationService.AddPluginLocaleResource(new Dictionary <string, string>
            {
                ["EzkelTech.Plugin.Misc.AwsS3.Region"]      = "AWS S3 Region",
                ["EzkelTech.Plugin.Misc.AwsS3.Region.Hint"] = "Enter your AWS S3 region.",

                ["EzkelTech.Plugin.Misc.AwsS3.Bucket"]      = "AWS S3 Bucket",
                ["EzkelTech.Plugin.Misc.AwsS3.Bucket.Hint"] = "Enter your AWS S3 bucket path.",

                ["EzkelTech.Plugin.Misc.AwsS3.SecretAccessKey"]      = "AWS S3 Secret Access Key",
                ["EzkelTech.Plugin.Misc.AwsS3.SecretAccessKey.Hint"] = "Enter your secret access key.",

                ["EzkelTech.Plugin.Misc.AwsS3.AccessKeyId"]      = "AWS S3 Access ID",
                ["EzkelTech.Plugin.Misc.AwsS3.AccessKeyId.Hint"] = "Enter your access key.",

                ["EzkelTech.Plugin.Misc.AwsS3.ObjectUrlTemplate"]      = "AWS S3 Object Url Template",
                ["EzkelTech.Plugin.Misc.AwsS3.ObjectUrlTemplate.Hint"] = "Enter url template link.",
            });

            base.Install();
        }
コード例 #3
0
        /// <summary>
        /// Install the plugin
        /// </summary>
        public override void Install()
        {
            //settings
            var settings = new ManualPaymentSettings
            {
                TransactMode = TransactMode.Pending
            };

            _settingService.SaveSetting(settings);

            //locales
            _localizationService.AddPluginLocaleResource(new Dictionary <string, string>
            {
                ["Plugins.Payments.Manual.Instructions"]                        = "This payment method stores credit card information in database (it's not sent to any third-party processor). In order to store credit card information, you must be PCI compliant.",
                ["Plugins.Payments.Manual.Fields.AdditionalFee"]                = "Additional fee",
                ["Plugins.Payments.Manual.Fields.AdditionalFee.Hint"]           = "Enter additional fee to charge your customers.",
                ["Plugins.Payments.Manual.Fields.AdditionalFeePercentage"]      = "Additional fee. Use percentage",
                ["Plugins.Payments.Manual.Fields.AdditionalFeePercentage.Hint"] = "Determines whether to apply a percentage additional fee to the order total. If not enabled, a fixed value is used.",
                ["Plugins.Payments.Manual.Fields.TransactMode"]                 = "After checkout mark payment as",
                ["Plugins.Payments.Manual.Fields.TransactMode.Hint"]            = "Specify transaction mode.",
                ["Plugins.Payments.Manual.PaymentMethodDescription"]            = "Pay by credit / debit card"
            });

            base.Install();
        }
        /// <summary>
        /// Install plugin
        /// </summary>
        public override void Install()
        {
            //settings
            _settingService.SaveSetting(new FixedOrByCountryStateZipTaxSettings());

            //locales
            _localizationService.AddPluginLocaleResource(new Dictionary <string, string>
            {
                ["Plugins.Tax.FixedOrByCountryStateZip.Fixed"] = "Fixed rate",
                ["Plugins.Tax.FixedOrByCountryStateZip.TaxByCountryStateZip"]      = "By Country",
                ["Plugins.Tax.FixedOrByCountryStateZip.Fields.TaxCategoryName"]    = "Tax category",
                ["Plugins.Tax.FixedOrByCountryStateZip.Fields.Rate"]               = "Rate",
                ["Plugins.Tax.FixedOrByCountryStateZip.Fields.Store"]              = "Store",
                ["Plugins.Tax.FixedOrByCountryStateZip.Fields.Store.Hint"]         = "If an asterisk is selected, then this shipping rate will apply to all stores.",
                ["Plugins.Tax.FixedOrByCountryStateZip.Fields.Country"]            = "Country",
                ["Plugins.Tax.FixedOrByCountryStateZip.Fields.Country.Hint"]       = "The country.",
                ["Plugins.Tax.FixedOrByCountryStateZip.Fields.StateProvince"]      = "State / province",
                ["Plugins.Tax.FixedOrByCountryStateZip.Fields.StateProvince.Hint"] = "If an asterisk is selected, then this tax rate will apply to all customers from the given country, regardless of the state.",
                ["Plugins.Tax.FixedOrByCountryStateZip.Fields.Zip"]              = "Zip",
                ["Plugins.Tax.FixedOrByCountryStateZip.Fields.Zip.Hint"]         = "Zip / postal code. If zip is empty, then this tax rate will apply to all customers from the given country or state, regardless of the zip code.",
                ["Plugins.Tax.FixedOrByCountryStateZip.Fields.TaxCategory"]      = "Tax category",
                ["Plugins.Tax.FixedOrByCountryStateZip.Fields.TaxCategory.Hint"] = "The tax category.",
                ["Plugins.Tax.FixedOrByCountryStateZip.Fields.Percentage"]       = "Percentage",
                ["Plugins.Tax.FixedOrByCountryStateZip.Fields.Percentage.Hint"]  = "The tax rate.",
                ["Plugins.Tax.FixedOrByCountryStateZip.AddRecord"]      = "Add tax rate",
                ["Plugins.Tax.FixedOrByCountryStateZip.AddRecordTitle"] = "New tax rate"
            });

            base.Install();
        }
コード例 #5
0
        /// <summary>
        /// Install plugin
        /// </summary>
        public override void Install()
        {
            //settings
            var settings = new ShipStationSettings
            {
                PackingPackageVolume = 5184
            };

            _settingService.SaveSetting(settings);

            //locales
            _localizationService.AddPluginLocaleResource(new Dictionary <string, string>
            {
                ["Enums.Smi.Plugin.Shipping.ShipStation.PackingType.PackByDimensions"] = "Pack by dimensions",
                ["Enums.Smi.Plugin.Shipping.ShipStation.PackingType.PackByVolume"]     = "Pack by volume",
                ["Plugins.Shipping.ShipStation.Fields.ApiKey.Hint"]               = "Specify ShipStation API key.",
                ["Plugins.Shipping.ShipStation.Fields.ApiKey"]                    = "API key",
                ["Plugins.Shipping.ShipStation.Fields.ApiSecret.Hint"]            = "Specify ShipStation API secret.",
                ["Plugins.Shipping.ShipStation.Fields.ApiSecret"]                 = "API secret",
                ["Plugins.Shipping.ShipStation.Fields.PackingPackageVolume.Hint"] = "Enter your package volume.",
                ["Plugins.Shipping.ShipStation.Fields.PackingPackageVolume"]      = "Package volume",
                ["Plugins.Shipping.ShipStation.Fields.PackingType.Hint"]          = "Choose preferred packing type.",
                ["Plugins.Shipping.ShipStation.Fields.PackingType"]               = "Packing type",
                ["Plugins.Shipping.ShipStation.Fields.Password.Hint"]             = "Specify ShipStation password",
                ["Plugins.Shipping.ShipStation.Fields.Password"]                  = "******",
                ["Plugins.Shipping.ShipStation.Fields.PassDimensions.Hint"]       = "Check if need send dimensions to the ShipStation server",
                ["Plugins.Shipping.ShipStation.Fields.PassDimensions"]            = "Pass dimensions",
                ["Plugins.Shipping.ShipStation.Fields.UserName"]                  = "******",
                ["Plugins.Shipping.ShipStation.Fields.UserName.Hint"]             = "Specify ShipStation user name"
            });

            base.Install();
        }
コード例 #6
0
        /// <summary>
        /// Install the plugin
        /// </summary>
        public override void Install()
        {
            //settings
            var settings = new CheckMoneyOrderPaymentSettings
            {
                DescriptionText = "<p>Mail Personal or Business Check, Cashier's Check or money order to:</p><p><br /><b>NOP SOLUTIONS</b> <br /><b>your address here,</b> <br /><b>New York, NY 10001 </b> <br /><b>USA</b></p><p>Notice that if you pay by Personal or Business Check, your order may be held for up to 10 days after we receive your check to allow enough time for the check to clear.  If you want us to ship faster upon receipt of your payment, then we recommend your send a money order or Cashier's check.</p><p>P.S. You can edit this text from admin panel.</p>"
            };

            _settingService.SaveSetting(settings);

            //locales
            _localizationService.AddPluginLocaleResource(new Dictionary <string, string>
            {
                ["Plugins.Payment.CheckMoneyOrder.AdditionalFee"]                 = "Additional fee",
                ["Plugins.Payment.CheckMoneyOrder.AdditionalFee.Hint"]            = "The additional fee.",
                ["Plugins.Payment.CheckMoneyOrder.AdditionalFeePercentage"]       = "Additional fee. Use percentage",
                ["Plugins.Payment.CheckMoneyOrder.AdditionalFeePercentage.Hint"]  = "Determines whether to apply a percentage additional fee to the order total. If not enabled, a fixed value is used.",
                ["Plugins.Payment.CheckMoneyOrder.DescriptionText"]               = "Description",
                ["Plugins.Payment.CheckMoneyOrder.DescriptionText.Hint"]          = "Enter info that will be shown to customers during checkout",
                ["Plugins.Payment.CheckMoneyOrder.PaymentMethodDescription"]      = "Pay by cheque or money order",
                ["Plugins.Payment.CheckMoneyOrder.ShippableProductRequired"]      = "Shippable product required",
                ["Plugins.Payment.CheckMoneyOrder.ShippableProductRequired.Hint"] = "An option indicating whether shippable products are required in order to display this payment method during checkout."
            });

            base.Install();
        }
コード例 #7
0
        /// <summary>
        /// Install the plugin
        /// </summary>
        public override void Install()
        {
            _settingService.SaveSetting(new Sms77Settings());

            _localizationService.AddPluginLocaleResource(Translations.English);

            base.Install();
        }
コード例 #8
0
        /// <summary>
        /// Installazione Plugin
        /// </summary>
        public override void Install()
        {
            //settings
            var settings = new GestPayPaymentSettings()
            {
                UseSandbox       = true,
                ShopOperatorCode = "9000001",
                LanguageCode     = 1,
                CurrencyUiCcode  = 242,
            };

            _settingService.SaveSetting(settings);

            //locales
            _localizationService.AddPluginLocaleResource(new Dictionary <string, string>
            {
                ["Plugins.Payments.GestPay.Fields.RedirectionTip"]  = "Sarai ridirezionato al circuito di pagamento di BancaSella per completare il pagamento dell'ordine.",
                ["Plugins.Payments.GestPay.Fields.UseSandbox"]      = "Usa Ambiente di test",
                ["Plugins.Payments.GestPay.Fields.UseSandbox.Hint"] = "Spunta se vuoi abilitare l'ambiente di test.",

                ["Plugins.Payments.GestPay.Fields.UseStarter"]      = "Usa GestPay Starter",
                ["Plugins.Payments.GestPay.Fields.UseStarter.Hint"] = "Spunta se vuoi indicare tipo account come Starter.",

                ["Plugins.Payments.GestPay.Fields.ShopOperatorCode"]             = "Codice esercente",
                ["Plugins.Payments.GestPay.Fields.ShopOperatorCode.Hint"]        = "Codice esercente di login. Es.: 0000001",
                ["Plugins.Payments.GestPay.Fields.AdditionalFee"]                = "Costo aggiuntivo",
                ["Plugins.Payments.GestPay.Fields.AdditionalFee.Hint"]           = "Inserisci il costo aggiuntivo che sarà accreditato al tuo cliente.",
                ["Plugins.Payments.GestPay.Fields.AdditionalFeePercentage"]      = "Costo aggiuntivo. Usa percentuale",
                ["Plugins.Payments.GestPay.Fields.AdditionalFeePercentage.Hint"] = "Determina se applicare un costo aggiuntivo in percentuale per l'importo totale dell'ordine. Se non selezionato, sarà applicato l'eventuale costo fisso.",
                ["Plugins.Payments.GestPay.Fields.CurrencyUICcode"]              = "Codice Valuta",
                ["Plugins.Payments.GestPay.Fields.CurrencyUICcode.Hint"]         = "Codice UIC che verrà passato al sistema di pagamento per determinare la valuta in cui è passato la somma da pagare.",
                ["Plugins.Payments.GestPay.Fields.LanguageCode"]      = "Codice Lingua",
                ["Plugins.Payments.GestPay.Fields.LanguageCode.Hint"] = "Codice che determina la lingua dell'interfaccia mostrata all'utente.",

                ["Plugins.Payments.GestPay.ErrorMessage.PageTitle"]     = "Attenzione!! si sono verificati degli errori.",
                ["Plugins.Payments.GestPay.ErrorMessage.PageMessage00"] = "Impossibile procedere con il pagamento.",
                ["Plugins.Payments.GestPay.ErrorMessage.PageMessage01"] = "La transazione ha avuto esito negativo.",
                ["Plugins.Payments.GestPay.ErrorMessage.TitleSummary"]  = "Riepilogo Problema:",

                ["Plugins.Payments.GestPay.Fields.ApiKey"]                       = "Api Key",
                ["Plugins.Payments.GestPay.Fields.ApiKey.Hint"]                  = "Enter Api Key",
                ["Plugins.Payments.GestPay.Fields.EnableGuaranteedPayment"]      = "Enable Guaranteed Payment",
                ["Plugins.Payments.GestPay.Fields.EnableGuaranteedPayment.Hint"] = "Only enable if Riskified API enable in your Gestpay account else contact gestpay support",
                ["Plugins.Payments.GestPay.PaymentMethodDescription"]            = "Verrai reindirizzato al sito GestPay per completare il pagamento",
            });

            base.Install();

            ScheduleTask task = new ScheduleTask();

            task.Enabled     = true;
            task.Name        = "Gestpay Verified Payment Check";
            task.Seconds     = 180;
            task.StopOnError = false;
            task.Type        = "Nop.Plugin.Payments.GestPay.Helper.RiskifiedStatusCheckScheduler, Nop.Plugin.Payments.GestPay";

            _scheduleTaskService.InsertTask(task);
        }
コード例 #9
0
        /// <summary>
        /// Install the plugin
        /// </summary>
        public override void Install()
        {
            if (!_widgetSettings.ActiveWidgetSystemNames.Contains(Defaults.SystemName))
            {
                _widgetSettings.ActiveWidgetSystemNames.Add(Defaults.SystemName);
                _settingService.SaveSetting(_widgetSettings);
            }

            _settingService.SaveSetting(new CryptoPaymentSettings
            {
                UseSandbox = true
            });

            _localizationService.AddPluginLocaleResource(new Dictionary <string, string>
            {
                ["Plugins.Payments.Crypto.Fields.AdditionalFee"]      = "Additional fee",
                ["Plugins.Payments.Crypto.Fields.AdditionalFee.Hint"] = "Enter additional fee to charge your customers.",
                ["Plugins.Payments.Crypto.Fields.AdditionalFee.ShouldBeGreaterThanOrEqualZero"] = "The additional fee should be greater than or equal 0",
                ["Plugins.Payments.Crypto.Fields.AdditionalFeePercentage"]      = "Additional fee. Use percentage",
                ["Plugins.Payments.Crypto.Fields.AdditionalFeePercentage.Hint"] = "Determines whether to apply a percentage additional fee to the order total. If not enabled, a fixed value is used.",
                ["Plugins.Payments.Crypto.Fields.PublishableKey"]          = "Publishable key",
                ["Plugins.Payments.Crypto.Fields.PublishableKey.Hint"]     = "Enter the publishable key for the live environment.",
                ["Plugins.Payments.Crypto.Fields.PublishableKey.Required"] = "Publishable key is required",
                ["Plugins.Payments.Crypto.Fields.SecretKey"]                                 = "Secret key",
                ["Plugins.Payments.Crypto.Fields.SecretKey.Hint"]                            = "Enter the secret key for the live environment.",
                ["Plugins.Payments.Crypto.Fields.SecretKey.Required"]                        = "Secret key is required",
                ["Plugins.Payments.Crypto.Fields.SandboxPublishableKey"]                     = "Sandbox publishable key",
                ["Plugins.Payments.Crypto.Fields.SandboxPublishableKey.Hint"]                = "Enter the sandbox publishable key for the sandbox environment.",
                ["Plugins.Payments.Crypto.Fields.SandboxPublishableKey.Required"]            = "Sandbox publishable key is required",
                ["Plugins.Payments.Crypto.Fields.SandboxSecretKey"]                          = "Sandbox secret key",
                ["Plugins.Payments.Crypto.Fields.SandboxSecretKey.Hint"]                     = "Enter the sandbox secret key for the sandbox environment.",
                ["Plugins.Payments.Crypto.Fields.SandboxSecretKey.Required"]                 = "Sandbox secret key is required",
                ["Plugins.Payments.Crypto.Fields.SandboxWebHookSignatureSecretKey"]          = "Sandbox web hook signature secret",
                ["Plugins.Payments.Crypto.Fields.SandboxWebHookSignatureSecretKey.Hint"]     = "Enter the sandbox web hook signature secret for the sandbox environment.",
                ["Plugins.Payments.Crypto.Fields.SandboxWebHookSignatureSecretKey.Required"] = "Sandbox web hook signature secret is required",
                ["Plugins.Payments.Crypto.Fields.UseSandbox"]                                = "Use sandbox",
                ["Plugins.Payments.Crypto.Fields.UseSandbox.Hint"]                           = "Determine whether to use the sandbox environment for testing purposes.",
                ["Plugins.Payments.Crypto.Fields.WebHookSignatureSecretKey"]                 = "Web hook signature secret",
                ["Plugins.Payments.Crypto.Fields.WebHookSignatureSecretKey.Hint"]            = "Enter the web hook signature secret for the live environment.",
                ["Plugins.Payments.Crypto.Fields.WebHookSignatureSecretKey.Required"]        = "Web hook signature secret is required",
                ["Plugins.Payments.Crypto.Instructions"]               = @"
                    <div style=""margin: 0 0 10px;"">
                        For plugin configuration, follow these steps:<br />
                        <br />
                        1. You will need a Crypto Merchant account. If you don't already have one, you can sign up here: <a href=""https://merchant.crypto.com/users/sign_up"" target=""_blank"">https://merchant.crypto.com/users/sign_up</a><br />
                        2. Sign in to 'Crypto Merchant Dashboard'. Go to 'Developers' tab, copy 'Publishable Key', 'Secret Key' and paste it into the same fields below.<br />
                        3. Go to 'Developers' &#8594; 'Webhooks' tab. Create the new web hook with URL <em>{0}</em>. Copy the 'Signature secret' of the created web hook and paste into the same field below.<br />
                    </div>
                ",
                ["Plugins.Payments.Crypto.PaymentMethodDescription"]   = "Pay by Crypto",
                ["Plugins.Payments.Crypto.PaymentInfoIsNotConfigured"] = "Plugin is not configured correctly.",
                ["Plugins.Payments.Crypto.PaymentId"]          = "Crypto payment id",
                ["Plugins.Payments.Crypto.Payment.Successful"] = "We have received your payment. Thanks!"
            });

            base.Install();
        }
        /// <summary>
        /// Install plugin
        /// </summary>
        public override void Install()
        {
            _localizationService.AddPluginLocaleResource(new Dictionary <string, string>
            {
                ["Plugins.Widgets.MinburHeaderMenu.TestItem1"] = "Test 1",
            });

            base.Install();
        }
コード例 #11
0
        /// <summary>
        /// Install plugin
        /// </summary>
        public override void Install()
        {
            //settings
            var settings = new FedexSettings
            {
                Url                  = "https://gatewaybeta.fedex.com:443/web-services/rate",
                DropoffType          = DropoffType.BusinessServiceCenter,
                PackingPackageVolume = 5184
            };

            _settingService.SaveSetting(settings);

            //locales
            _localizationService.AddPluginLocaleResource(new Dictionary <string, string>
            {
                ["Plugins.Shipping.Fedex.Fields.Url"]                                   = "URL",
                ["Plugins.Shipping.Fedex.Fields.Url.Hint"]                              = "Specify FedEx URL.",
                ["Plugins.Shipping.Fedex.Fields.Key"]                                   = "Key",
                ["Plugins.Shipping.Fedex.Fields.Key.Hint"]                              = "Specify FedEx key.",
                ["Plugins.Shipping.Fedex.Fields.Password"]                              = "******",
                ["Plugins.Shipping.Fedex.Fields.Password.Hint"]                         = "Specify FedEx password.",
                ["Plugins.Shipping.Fedex.Fields.AccountNumber"]                         = "Account number",
                ["Plugins.Shipping.Fedex.Fields.AccountNumber.Hint"]                    = "Specify FedEx account number.",
                ["Plugins.Shipping.Fedex.Fields.MeterNumber"]                           = "Meter number",
                ["Plugins.Shipping.Fedex.Fields.MeterNumber.Hint"]                      = "Specify FedEx meter number.",
                ["Plugins.Shipping.Fedex.Fields.UseResidentialRates"]                   = "Use residential rates",
                ["Plugins.Shipping.Fedex.Fields.UseResidentialRates.Hint"]              = "Check to use residential rates.",
                ["Plugins.Shipping.Fedex.Fields.ApplyDiscounts"]                        = "Use discounted rates",
                ["Plugins.Shipping.Fedex.Fields.ApplyDiscounts.Hint"]                   = "Check to use discounted rates (instead of list rates).",
                ["Plugins.Shipping.Fedex.Fields.AdditionalHandlingCharge"]              = "Additional handling charge",
                ["Plugins.Shipping.Fedex.Fields.AdditionalHandlingCharge.Hint"]         = "Enter additional handling fee to charge your customers.",
                ["Plugins.Shipping.Fedex.Fields.CarrierServices"]                       = "Carrier Services Offered",
                ["Plugins.Shipping.Fedex.Fields.CarrierServices.Hint"]                  = "Select the services you want to offer to customers.",
                ["Plugins.Shipping.Fedex.Fields.PassDimensions"]                        = "Pass dimensions",
                ["Plugins.Shipping.Fedex.Fields.PassDimensions.Hint"]                   = "Check if you want to pass package dimensions when requesting rates.",
                ["Plugins.Shipping.Fedex.Fields.PackingType"]                           = "Packing type",
                ["Plugins.Shipping.Fedex.Fields.PackingType.Hint"]                      = "Choose preferred packing type.",
                ["Plugins.Shipping.Fedex.Fields.PackingPackageVolume"]                  = "Package volume",
                ["Plugins.Shipping.Fedex.Fields.PackingPackageVolume.Hint"]             = "Enter your package volume.",
                ["Plugins.Shipping.Fedex.Fields.DropoffType"]                           = "Dropoff Type",
                ["Plugins.Shipping.Fedex.Fields.DropoffType.Hint"]                      = "Choose preferred dropoff type.",
                ["Enums.Nop.Plugin.Shipping.Fedex.DropoffType.BusinessServiceCenter"]   = "Business service center",
                ["Enums.Nop.Plugin.Shipping.Fedex.DropoffType.DropBox"]                 = "Drop box",
                ["Enums.Nop.Plugin.Shipping.Fedex.DropoffType.RegularPickup"]           = "Regular pickup",
                ["Enums.Nop.Plugin.Shipping.Fedex.DropoffType.RequestCourier"]          = "Request courier",
                ["Enums.Nop.Plugin.Shipping.Fedex.DropoffType.Station"]                 = "Station",
                ["Enums.Nop.Plugin.Shipping.Fedex.PackingType.PackByDimensions"]        = "Pack by dimensions",
                ["Enums.Nop.Plugin.Shipping.Fedex.PackingType.PackByOneItemPerPackage"] = "Pack by one item per package",
                ["Enums.Nop.Plugin.Shipping.Fedex.PackingType.PackByVolume"]            = "Pack by volume"
            });

            base.Install();
        }
コード例 #12
0
        /// <summary>
        /// Install plugin
        /// </summary>
        public override void Install()
        {
            _localizationService.AddPluginLocaleResource(new Dictionary <string, string>
            {
                ["Plugins.Widgets.FacebookPixel.Configuration"] = "Configuration",
                ["Plugins.Widgets.FacebookPixel.Configuration.CookieSettingsWarning"]                                = "It looks like you have <a href=\"{0}\" target=\"_blank\">DisplayEuCookieLawWarning</a> setting disabled.",
                ["Plugins.Widgets.FacebookPixel.Configuration.CustomEvents"]                                         = "Configure custom events",
                ["Plugins.Widgets.FacebookPixel.Configuration.CustomEvents.Fields.EventName"]                        = "Event name",
                ["Plugins.Widgets.FacebookPixel.Configuration.CustomEvents.Fields.EventName.Hint"]                   = "Enter a name of the custom event (e.g. BlogView).",
                ["Plugins.Widgets.FacebookPixel.Configuration.CustomEvents.Fields.WidgetZones"]                      = "Widget zones",
                ["Plugins.Widgets.FacebookPixel.Configuration.CustomEvents.Fields.WidgetZones.Hint"]                 = "Choose widget zones in which the custom event will be tracked (e.g. blogpost_page_top).",
                ["Plugins.Widgets.FacebookPixel.Configuration.CustomEvents.Search.WidgetZone"]                       = "Widget zone",
                ["Plugins.Widgets.FacebookPixel.Configuration.CustomEvents.Search.WidgetZone.Hint"]                  = "Search custom events by the widget zone.",
                ["Plugins.Widgets.FacebookPixel.Configuration.Fields.DisableForUsersNotAcceptingCookieConsent"]      = "Disable for users not accepting Cookie Consent",
                ["Plugins.Widgets.FacebookPixel.Configuration.Fields.DisableForUsersNotAcceptingCookieConsent.Hint"] = "Check to disable the Facebook Pixel for users not accepting Cookie Consent. You may want this if you conduct business in countries that are subject to General Data Protection Regulation (GDPR). You also need to activate the \"DisplayEuCookieLawWarning\" setting on the General settings page in order to display Cookie Consent for users.",
                ["Plugins.Widgets.FacebookPixel.Configuration.Fields.Enabled"]                                       = "Enabled",
                ["Plugins.Widgets.FacebookPixel.Configuration.Fields.Enabled.Hint"]                                  = "Toggle to enable/disable this Facebook Pixel configuration.",
                ["Plugins.Widgets.FacebookPixel.Configuration.Fields.PixelId"]                                       = "Pixel ID",
                ["Plugins.Widgets.FacebookPixel.Configuration.Fields.PixelId.Hint"]                                  = "Enter the Facebook Pixel ID.",
                ["Plugins.Widgets.FacebookPixel.Configuration.Fields.PixelId.Required"]                              = "Pixel ID is required",
                ["Plugins.Widgets.FacebookPixel.Configuration.Fields.PassUserProperties"]                            = "Include User properties",
                ["Plugins.Widgets.FacebookPixel.Configuration.Fields.PassUserProperties.Hint"]                       = "Check to include User properties, data about the User, in a pixel. Then you can view User properties in the Facebook Analytics dashboard under People > User Properties.",
                ["Plugins.Widgets.FacebookPixel.Configuration.Fields.PassUserProperties.Forbidden"]                  = "User Properties cannot be used together with Advanced Matching",
                ["Plugins.Widgets.FacebookPixel.Configuration.Fields.Store"]                                         = "Store",
                ["Plugins.Widgets.FacebookPixel.Configuration.Fields.Store.Hint"]                                    = "Choose a store in which the Facebook Pixel is used.",
                ["Plugins.Widgets.FacebookPixel.Configuration.Fields.TrackAddToCart"]                                = "Track \"AddToCart\" event",
                ["Plugins.Widgets.FacebookPixel.Configuration.Fields.TrackAddToCart.Hint"]                           = "Check to enable tracking standard event, when a product is added to the shopping cart.",
                ["Plugins.Widgets.FacebookPixel.Configuration.Fields.TrackAddToWishlist"]                            = "Track \"AddToWishlist\" event",
                ["Plugins.Widgets.FacebookPixel.Configuration.Fields.TrackAddToWishlist.Hint"]                       = "Check to enable tracking standard event, when a product is added to the wishlist.",
                ["Plugins.Widgets.FacebookPixel.Configuration.Fields.TrackCompleteRegistration"]                     = "Track \"CompleteRegistration\" event",
                ["Plugins.Widgets.FacebookPixel.Configuration.Fields.TrackCompleteRegistration.Hint"]                = "Check to enable tracking standard event, when a registration form is completed.",
                ["Plugins.Widgets.FacebookPixel.Configuration.Fields.TrackContact"]                                  = "Track \"Contact\" event",
                ["Plugins.Widgets.FacebookPixel.Configuration.Fields.TrackContact.Hint"]                             = "Check to enable tracking standard event, when a person person submits a question via contact us form.",
                ["Plugins.Widgets.FacebookPixel.Configuration.Fields.TrackInitiateCheckout"]                         = "Track \"InitiateCheckout\" event",
                ["Plugins.Widgets.FacebookPixel.Configuration.Fields.TrackInitiateCheckout.Hint"]                    = "Check to enable tracking standard event, when a person enters the checkout flow prior to completing the checkout flow.",
                ["Plugins.Widgets.FacebookPixel.Configuration.Fields.TrackPageView"]                                 = "Track \"PageView\" event ",
                ["Plugins.Widgets.FacebookPixel.Configuration.Fields.TrackPageView.Hint"]                            = "Check to enable tracking standard event, when a person lands on the website pages.",
                ["Plugins.Widgets.FacebookPixel.Configuration.Fields.TrackPurchase"]                                 = "Track \"Purchase\" event",
                ["Plugins.Widgets.FacebookPixel.Configuration.Fields.TrackPurchase.Hint"]                            = "Check to enable tracking standard event, when an order is placed.",
                ["Plugins.Widgets.FacebookPixel.Configuration.Fields.TrackSearch"]                                   = "Track \"Search\" event",
                ["Plugins.Widgets.FacebookPixel.Configuration.Fields.TrackSearch.Hint"]                              = "Check to enable tracking standard event, when a search is made.",
                ["Plugins.Widgets.FacebookPixel.Configuration.Fields.TrackViewContent"]                              = "Track \"ViewContent\" event",
                ["Plugins.Widgets.FacebookPixel.Configuration.Fields.TrackViewContent.Hint"]                         = "Check to enable tracking standard event, when a person lands on a product details page.",
                ["Plugins.Widgets.FacebookPixel.Configuration.Fields.UseAdvancedMatching"]                           = "Advanced Matching",
                ["Plugins.Widgets.FacebookPixel.Configuration.Fields.UseAdvancedMatching.Hint"]                      = "Check to enable Advanced Matching for tracked conversion events. In this case, some of the visitor's data (in the hashed format) will be collected by the Facebook Pixel. If you automatically implement advanced matching using the Events Manager, uncheck this setting.",
                ["Plugins.Widgets.FacebookPixel.Configuration.Fields.UseAdvancedMatching.Forbidden"]                 = "Advanced Matching cannot be used together with User Properties",
                ["Plugins.Widgets.FacebookPixel.Configuration.Search.Store"]                                         = "Store",
                ["Plugins.Widgets.FacebookPixel.Configuration.Search.Store.Hint"]                                    = "Search configuration by the store."
            });

            base.Install();
        }
        /// <summary>
        /// Install plugin
        /// </summary>
        public override void Install()
        {
            //settings
            _settingService.SaveSetting(new FixedByWeightByTotalSettings());

            //locales
            _localizationService.AddPluginLocaleResource(new Dictionary <string, string>
            {
                ["Plugins.Shipping.FixedByWeightByTotal.AddRecord"] = "Add record",
                ["Plugins.Shipping.FixedByWeightByTotal.Fields.AdditionalFixedCost"]      = "Additional fixed cost",
                ["Plugins.Shipping.FixedByWeightByTotal.Fields.AdditionalFixedCost.Hint"] = "Specify an additional fixed cost per shopping cart for this option. Set to 0 if you don't want an additional fixed cost to be applied.",
                ["Plugins.Shipping.FixedByWeightByTotal.Fields.Country"]                       = "Country",
                ["Plugins.Shipping.FixedByWeightByTotal.Fields.Country.Hint"]                  = "If an asterisk is selected, then this shipping rate will apply to all customers, regardless of the country.",
                ["Plugins.Shipping.FixedByWeightByTotal.Fields.DataHtml"]                      = "Data",
                ["Plugins.Shipping.FixedByWeightByTotal.Fields.LimitMethodsToCreated"]         = "Limit shipping methods to configured ones",
                ["Plugins.Shipping.FixedByWeightByTotal.Fields.LimitMethodsToCreated.Hint"]    = "If you check this option, then your customers will be limited to shipping options configured here. Otherwise, they'll be able to choose any existing shipping options even they are not configured here (zero shipping fee in this case).",
                ["Plugins.Shipping.FixedByWeightByTotal.Fields.LowerWeightLimit"]              = "Lower weight limit",
                ["Plugins.Shipping.FixedByWeightByTotal.Fields.LowerWeightLimit.Hint"]         = "Lower weight limit. This field can be used for \"per extra weight unit\" scenarios.",
                ["Plugins.Shipping.FixedByWeightByTotal.Fields.OrderSubtotalFrom"]             = "Order subtotal from",
                ["Plugins.Shipping.FixedByWeightByTotal.Fields.OrderSubtotalFrom.Hint"]        = "Order subtotal from.",
                ["Plugins.Shipping.FixedByWeightByTotal.Fields.OrderSubtotalTo"]               = "Order subtotal to",
                ["Plugins.Shipping.FixedByWeightByTotal.Fields.OrderSubtotalTo.Hint"]          = "Order subtotal to.",
                ["Plugins.Shipping.FixedByWeightByTotal.Fields.PercentageRateOfSubtotal"]      = "Charge percentage (of subtotal)",
                ["Plugins.Shipping.FixedByWeightByTotal.Fields.PercentageRateOfSubtotal.Hint"] = "Charge percentage (of subtotal).",
                ["Plugins.Shipping.FixedByWeightByTotal.Fields.Rate"] = "Rate",
                ["Plugins.Shipping.FixedByWeightByTotal.Fields.RatePerWeightUnit"]      = "Rate per weight unit",
                ["Plugins.Shipping.FixedByWeightByTotal.Fields.RatePerWeightUnit.Hint"] = "Rate per weight unit.",
                ["Plugins.Shipping.FixedByWeightByTotal.Fields.ShippingMethod"]         = "Shipping method",
                ["Plugins.Shipping.FixedByWeightByTotal.Fields.ShippingMethod.Hint"]    = "Choose shipping method.",
                ["Plugins.Shipping.FixedByWeightByTotal.Fields.StateProvince"]          = "State / province",
                ["Plugins.Shipping.FixedByWeightByTotal.Fields.StateProvince.Hint"]     = "If an asterisk is selected, then this shipping rate will apply to all customers from the given country, regardless of the state.",
                ["Plugins.Shipping.FixedByWeightByTotal.Fields.Store"]            = "Store",
                ["Plugins.Shipping.FixedByWeightByTotal.Fields.Store.Hint"]       = "If an asterisk is selected, then this shipping rate will apply to all stores.",
                ["Plugins.Shipping.FixedByWeightByTotal.Fields.TransitDays"]      = "Transit days",
                ["Plugins.Shipping.FixedByWeightByTotal.Fields.TransitDays.Hint"] = "The number of days of delivery of the goods.",
                ["Plugins.Shipping.FixedByWeightByTotal.Fields.Warehouse"]        = "Warehouse",
                ["Plugins.Shipping.FixedByWeightByTotal.Fields.Warehouse.Hint"]   = "If an asterisk is selected, then this shipping rate will apply to all warehouses.",
                ["Plugins.Shipping.FixedByWeightByTotal.Fields.WeightFrom"]       = "Order weight from",
                ["Plugins.Shipping.FixedByWeightByTotal.Fields.WeightFrom.Hint"]  = "Order weight from.",
                ["Plugins.Shipping.FixedByWeightByTotal.Fields.WeightTo"]         = "Order weight to",
                ["Plugins.Shipping.FixedByWeightByTotal.Fields.WeightTo.Hint"]    = "Order weight to.",
                ["Plugins.Shipping.FixedByWeightByTotal.Fields.Zip"]       = "Zip",
                ["Plugins.Shipping.FixedByWeightByTotal.Fields.Zip.Hint"]  = "Zip / postal code. If zip is empty, then this shipping rate will apply to all customers from the given country or state, regardless of the zip code.",
                ["Plugins.Shipping.FixedByWeightByTotal.Fixed"]            = "Fixed Rate",
                ["Plugins.Shipping.FixedByWeightByTotal.Formula"]          = "Formula to calculate rates",
                ["Plugins.Shipping.FixedByWeightByTotal.Formula.Value"]    = "[additional fixed cost] + ([order total weight] - [lower weight limit]) * [rate per weight unit] + [order subtotal] * [charge percentage]",
                ["Plugins.Shipping.FixedByWeightByTotal.ShippingByWeight"] = "By Weight"
            });

            base.Install();
        }
        public override void Install()
        {
            //locales
            _localizationService.AddPluginLocaleResource(new Dictionary <string, string>
            {
                ["Plugins.DiscountRules.HadSpentAmount.Fields.Amount"]               = "Required spent amount",
                ["Plugins.DiscountRules.HadSpentAmount.Fields.Amount.Hint"]          = "Discount will be applied if customer has spent/purchased x.xx amount.",
                ["Plugins.DiscountRules.HadSpentAmount.NotEnough"]                   = "Sorry, this offer requires more money spent (previously placed orders)",
                ["Plugins.DiscountRules.HadSpentAmount.Fields.SpentAmount.Required"] = "Spent amount should be greater 0",
                ["Plugins.DiscountRules.HadSpentAmount.Fields.DiscountId.Required"]  = "Discount is required"
            });

            base.Install();
        }
コード例 #15
0
        /// <summary>
        /// Install the plugin
        /// </summary>
        public override void Install()
        {
            //locales
            _localizationService.AddPluginLocaleResource(new Dictionary <string, string>
            {
                ["Plugins.DiscountRules.CustomerRoles.Fields.CustomerRole"]            = "Required customer role",
                ["Plugins.DiscountRules.CustomerRoles.Fields.CustomerRole.Hint"]       = "Discount will be applied if customer is in the selected customer role.",
                ["Plugins.DiscountRules.CustomerRoles.Fields.CustomerRole.Select"]     = "Select customer role",
                ["Plugins.DiscountRules.CustomerRoles.Fields.CustomerRoleId.Required"] = "Customer role is required",
                ["Plugins.DiscountRules.CustomerRoles.Fields.DiscountId.Required"]     = "Discount is required"
            });

            base.Install();
        }
コード例 #16
0
        /// <summary>
        /// Install plugin
        /// </summary>
        public override void Install()
        {
            var settings = new ShipRocketSetting
            {
                Enable               = false,
                UserEmail            = string.Empty,
                Password             = string.Empty,
                BaseURL              = string.Empty,
                MinAmountForEWayBill = 0,
                ChannelId            = 0,
                PickUpLocation       = string.Empty
            };

            _settingService.SaveSetting(settings);

            _localizationService.AddPluginLocaleResource(new Dictionary <string, string>
            {
                ["Plugin.NopFeatures.ShipRocket.Enable"]                    = "Enable",
                ["Plugin.NopFeatures.ShipRocket.UserEmail"]                 = "User Email",
                ["Plugin.NopFeatures.ShipRocket.UserEmail.Hint"]            = "Enter ship rocket user email.",
                ["Plugin.NopFeatures.ShipRocket.Password"]                  = "******",
                ["Plugin.NopFeatures.ShipRocket.Password.Hint"]             = "Enter ship rocket password",
                ["Plugin.NopFeatures.ShipRocket.BaseURL"]                   = "BaseURL",
                ["Plugin.NopFeatures.ShipRocket.BaseURL.Hint"]              = "Enter ship rocket base url.",
                ["Plugin.NopFeatures.ShipRocket.MinAmountForEWayBill"]      = "Min Amount For E-Way Bill",
                ["Plugin.NopFeatures.ShipRocket.ChannelId"]                 = "ChannelId",
                ["Plugin.NopFeatures.ShipRocket.ChannelId.Hint"]            = "Enter ship rocket channel Id.",
                ["Plugin.NopFeatures.ShipRocket.PickUpLocation"]            = "PickUp Location",
                ["Plugin.NopFeatures.ShipRocket.PickUpLocation.Hint"]       = "Enter ship rocket pickup address name.",
                ["Plugin.NopFeatures.ShipRocket.ShiprocketOrderListColume"] = "Shiprocket Status & Id"
            });

            //Insert Task
            ScheduleTask task = new ScheduleTask()
            {
                Name           = "ShipRocket",
                Type           = "Nop.Plugin.NopFeatures.ShipRocket.ScheduleTasks.ShipRocketOrderTask",
                Seconds        = 86400,
                Enabled        = true,
                StopOnError    = false,
                LastStartUtc   = null,
                LastEndUtc     = null,
                LastSuccessUtc = null
            };

            _scheduleTaskService.InsertTask(task);

            base.Install();
        }
コード例 #17
0
        /// <summary>
        /// Install plugin
        /// </summary>
        public override void Install()
        {
            _settingService.SaveSetting(new AccessiBeSettings
            {
                WidgetZone = PublicWidgetZones.HeadHtmlTag
            });

            _localizationService.AddPluginLocaleResource(new Dictionary <string, string>
            {
                ["Plugins.Widgets.AccessiBe.Fields.Script"]          = "Installation script",
                ["Plugins.Widgets.AccessiBe.Fields.Script.Hint"]     = "Find your unique installation script on the Installation tab in your account and then copy it into this field.",
                ["Plugins.Widgets.AccessiBe.Fields.Script.Required"] = "Installation script is required",
            });

            base.Install();
        }
        /// <summary>
        /// Install the plugin
        /// </summary>
        public override void Install()
        {
            //locales
            _localizationService.AddPluginLocaleResource(new Dictionary <string, string>
            {
                ["Plugins.DiscountRules.HasOneProduct.Fields.Products"]                 = "Restricted products [and quantity range]",
                ["Plugins.DiscountRules.HasOneProduct.Fields.Products.Hint"]            = "The comma-separated list of product identifiers (e.g. 77, 123, 156). You can find a product ID on its details page. You can also specify the comma-separated list of product identifiers with quantities ({Product ID}:{Quantity}. for example, 77:1, 123:2, 156:3). And you can also specify the comma-separated list of product identifiers with quantity range ({Product ID}:{Min quantity}-{Max quantity}. for example, 77:1-3, 123:2-5, 156:3-8).",
                ["Plugins.DiscountRules.HasOneProduct.Fields.Products.AddNew"]          = "Add product",
                ["Plugins.DiscountRules.HasOneProduct.Fields.Products.Choose"]          = "Choose",
                ["Plugins.DiscountRules.HasOneProduct.Fields.ProductIds.Required"]      = "Products are required",
                ["Plugins.DiscountRules.HasOneProduct.Fields.DiscountId.Required"]      = "Discount is required",
                ["Plugins.DiscountRules.HasOneProduct.Fields.ProductIds.InvalidFormat"] = "Invalid format for products selection. Format should be comma-separated list of product identifiers (e.g. 77, 123, 156). You can find a product ID on its details page. You can also specify the comma-separated list of product identifiers with quantities ({Product ID}:{Quantity}. for example, 77:1, 123:2, 156:3). And you can also specify the comma-separated list of product identifiers with quantity range ({Product ID}:{Min quantity}-{Max quantity}. for example, 77:1-3, 123:2-5, 156:3-8)."
            });

            base.Install();
        }
コード例 #19
0
        /// <summary>
        /// Install the plugin
        /// </summary>
        public override void Install()
        {
            //settings
            _settingService.SaveSetting(new FacebookExternalAuthSettings());

            //locales
            _localizationService.AddPluginLocaleResource(new Dictionary <string, string>
            {
                ["Plugins.ExternalAuth.Facebook.ClientKeyIdentifier"]      = "App ID/API Key",
                ["Plugins.ExternalAuth.Facebook.ClientKeyIdentifier.Hint"] = "Enter your app ID/API key here. You can find it on your FaceBook application page.",
                ["Plugins.ExternalAuth.Facebook.ClientSecret"]             = "App Secret",
                ["Plugins.ExternalAuth.Facebook.ClientSecret.Hint"]        = "Enter your app secret here. You can find it on your FaceBook application page.",
                ["Plugins.ExternalAuth.Facebook.Instructions"]             = "<p>To configure authentication with Facebook, please follow these steps:<br/><br/><ol><li>Navigate to the <a href=\"https://developers.facebook.com/apps\" target =\"_blank\" > Facebook for Developers</a> page and sign in. If you don't already have a Facebook account, use the <b>Sign up for Facebook</b> link on the login page to create one.</li><li>Tap the <b>+ Add a New App button</b> in the upper right corner to create a new App ID. (If this is your first app with Facebook, the text of the button will be <b>Create a New App</b>.)</li><li>Fill out the form and tap the <b>Create App ID button</b>.</li><li>The <b>Product Setup</b> page is displayed, letting you select the features for your new app. Click <b>Get Started</b> on <b>Facebook Login</b>.</li><li>Click the <b>Settings</b> link in the menu at the left, you are presented with the <b>Client OAuth Settings</b> page with some defaults already set.</li><li>Enter \"{0:s}signin-facebook\" into the <b>Valid OAuth Redirect URIs</b> field.</li><li>Click <b>Save Changes</b>.</li><li>Click the <b>Dashboard</b> link in the left navigation.</li><li>Copy your App ID and App secret below.</li></ol><br/><br/></p>"
            });

            base.Install();
        }
コード例 #20
0
        /// <summary>
        /// Install the plugin
        /// </summary>
        public override void Install()
        {
            //settings
            _settingService.SaveSetting(new MailChimpSettings
            {
                ListId               = Guid.Empty.ToString(),
                StoreIdMask          = MailChimpDefaults.DefaultStoreIdMask,
                BatchOperationNumber = MailChimpDefaults.DefaultBatchOperationNumber
            });

            //synchronization task
            if (_scheduleTaskService.GetTaskByType(MailChimpDefaults.SynchronizationTask) == null)
            {
                _scheduleTaskService.InsertTask(new ScheduleTask
                {
                    Type    = MailChimpDefaults.SynchronizationTask,
                    Name    = MailChimpDefaults.SynchronizationTaskName,
                    Seconds = MailChimpDefaults.DefaultSynchronizationPeriod * 60 * 60
                });
            }

            //locales
            _localizationService.AddPluginLocaleResource(new Dictionary <string, string>
            {
                ["Plugins.Misc.MailChimp.Fields.AccountInfo"]                 = "Account information",
                ["Plugins.Misc.MailChimp.Fields.AccountInfo.Hint"]            = "Display MailChimp account information.",
                ["Plugins.Misc.MailChimp.Fields.ApiKey"]                      = "API key",
                ["Plugins.Misc.MailChimp.Fields.ApiKey.Hint"]                 = "Enter your MailChimp account API key.",
                ["Plugins.Misc.MailChimp.Fields.AutoSynchronization"]         = "Use auto synchronization",
                ["Plugins.Misc.MailChimp.Fields.AutoSynchronization.Hint"]    = "Determine whether to use auto synchronization.",
                ["Plugins.Misc.MailChimp.Fields.AutoSynchronization.Restart"] = "Auto synchronization parameters has been changed] =please restart the application",
                ["Plugins.Misc.MailChimp.Fields.List"]                       = "List",
                ["Plugins.Misc.MailChimp.Fields.List.Hint"]                  = "Choose list of users for the synchronization.",
                ["Plugins.Misc.MailChimp.Fields.List.NotExist"]              = "There are no lists",
                ["Plugins.Misc.MailChimp.Fields.PassEcommerceData"]          = "Pass E-Commerce data",
                ["Plugins.Misc.MailChimp.Fields.PassEcommerceData.Hint"]     = "Determine whether to pass E-Commerce data (customers] =products] =orders] =etc).",
                ["Plugins.Misc.MailChimp.Fields.SynchronizationPeriod"]      = "Synchronization period",
                ["Plugins.Misc.MailChimp.Fields.SynchronizationPeriod.Hint"] = "Specify the synchronization period in hours.",
                ["Plugins.Misc.MailChimp.ManualSynchronization"]             = "Synchronize",
                ["Plugins.Misc.MailChimp.ManualSynchronization.Hint"]        = "Manually synchronize",
                ["Plugins.Misc.MailChimp.Synchronization.Error"]             = "An error occurred during synchronization with MailChimp",
                ["Plugins.Misc.MailChimp.Synchronization.Started"]           = "Synchronization is in progress",
                ["Plugins.Misc.MailChimp.Webhook.Warning"]                   = "Webhook was not created (you'll not be able to get unsubscribed users)"
            });
            base.Install();
        }
コード例 #21
0
        /// <summary>
        /// Install the plugin
        /// </summary>
        public override void Install()
        {
            //settings
            _settingService.SaveSetting(new PayPalStandardPaymentSettings
            {
                UseSandbox = true
            });

            //locales
            _localizationService.AddPluginLocaleResource(new Dictionary <string, string>
            {
                ["Plugins.Payments.PayPalStandard.Fields.AdditionalFee"]                  = "Additional fee",
                ["Plugins.Payments.PayPalStandard.Fields.AdditionalFee.Hint"]             = "Enter additional fee to charge your customers.",
                ["Plugins.Payments.PayPalStandard.Fields.AdditionalFeePercentage"]        = "Additional fee. Use percentage",
                ["Plugins.Payments.PayPalStandard.Fields.AdditionalFeePercentage.Hint"]   = "Determines whether to apply a percentage additional fee to the order total. If not enabled, a fixed value is used.",
                ["Plugins.Payments.PayPalStandard.Fields.BusinessEmail"]                  = "Business Email",
                ["Plugins.Payments.PayPalStandard.Fields.BusinessEmail.Hint"]             = "Specify your PayPal business email.",
                ["Plugins.Payments.PayPalStandard.Fields.PassProductNamesAndTotals"]      = "Pass product names and order totals to PayPal",
                ["Plugins.Payments.PayPalStandard.Fields.PassProductNamesAndTotals.Hint"] = "Check if product names and order totals should be passed to PayPal.",
                ["Plugins.Payments.PayPalStandard.Fields.PDTToken"]          = "PDT Identity Token",
                ["Plugins.Payments.PayPalStandard.Fields.PDTToken.Hint"]     = "Specify PDT identity token",
                ["Plugins.Payments.PayPalStandard.Fields.RedirectionTip"]    = "You will be redirected to PayPal site to complete the order.",
                ["Plugins.Payments.PayPalStandard.Fields.UseSandbox"]        = "Use Sandbox",
                ["Plugins.Payments.PayPalStandard.Fields.UseSandbox.Hint"]   = "Check to enable Sandbox (testing environment).",
                ["Plugins.Payments.PayPalStandard.Instructions"]             = @"
                    <p>
	                    <b>If you're using this gateway ensure that your primary store currency is supported by PayPal.</b>
	                    <br />
	                    <br />To use PDT, you must activate PDT and Auto Return in your PayPal account profile. You must also acquire a PDT identity token, which is used in all PDT communication you send to PayPal. Follow these steps to configure your account for PDT:<br />
	                    <br />1. Log in to your PayPal account (click <a href=""https://www.paypal.com/us/webapps/mpp/referral/paypal-business-account2?partner_id=9JJPJNNPQ7PZ8"" target=""_blank"">here</a> to create your account).
	                    <br />2. Click the Profile button.
	                    <br />3. Click the Profile and Settings button.
	                    <br />4. Select the My selling tools item on left panel.
	                    <br />5. Click Website Preferences Update in the Selling online section.
	                    <br />6. Under Auto Return for Website Payments, click the On radio button.
	                    <br />7. For the Return URL, enter the URL on your site that will receive the transaction ID posted by PayPal after a customer payment ({0}).
                        <br />8. Under Payment Data Transfer, click the On radio button and get your PDT identity token.
	                    <br />9. Click Save.
	                    <br />
                    </p>",
                ["Plugins.Payments.PayPalStandard.PaymentMethodDescription"] = "You will be redirected to PayPal site to complete the payment",
                ["Plugins.Payments.PayPalStandard.RoundingWarning"]          = "It looks like you have \"ShoppingCartSettings.RoundPricesDuringCalculation\" setting disabled. Keep in mind that this can lead to a discrepancy of the order total amount, as PayPal only rounds to two decimals.",
            });

            base.Install();
        }
コード例 #22
0
        public override void Install()
        {
            //settings
            _settingService.SaveSetting(new MollieStandardPaymentSettings
            {
                UseSandbox = true
            });

            //locales
            _localizationService.AddPluginLocaleResource(new Dictionary <string, string>
            {
                ["Plugins.Payments.MolliePayments.PaymentMethodDescription"] = "You will be redirected to Mollie site to complete the payment",
                ["Plugins.Payments.MolliePayments.Fields.RedirectionTip"]    = "You will be redirected to Mollie site to complete the order.",
            });

            base.Install();
        }
コード例 #23
0
        /// <summary>
        /// Install the plugin
        /// </summary>
        public override void Install()
        {
            //install categories import task
            InstallTask(ErplyIntegrationDefaults.CategoriesImportTask, "Erply categories import");

            //install products import task
            InstallTask(ErplyIntegrationDefaults.ProductsImportTask, "Erply products import");

            //locales
            _localizationService.AddPluginLocaleResource(new Dictionary <string, string>
            {
                ["Plugins.Misc.ErplyIntegration.Username"]   = "******",
                ["Plugins.Misc.ErplyIntegration.Password"]   = "******",
                ["Plugins.Misc.ErplyIntegration.ClientCode"] = "Client code",
            });

            base.Install();
        }
コード例 #24
0
        /// <summary>
        /// Install plugin
        /// </summary>
        public override void Install()
        {
            //pictures
            var sampleImagesPath = _fileProvider.MapPath("~/Plugins/Widgets.NivoSlider/Content/nivoslider/sample-images/");

            //settings
            var settings = new NivoSliderSettings
            {
                Picture1Id   = _pictureService.InsertPicture(_fileProvider.ReadAllBytes(_fileProvider.Combine(sampleImagesPath, "banner1.jpg")), MimeTypes.ImagePJpeg, "banner_1").Id,
                Text1        = "",
                Link1        = _webHelper.GetStoreLocation(false),
                MobilePic1Id = _pictureService.InsertPicture(_fileProvider.ReadAllBytes(_fileProvider.Combine(sampleImagesPath, "banner1-mobile.jpg")), MimeTypes.ImagePJpeg, "banner_1").Id,
                Picture2Id   = _pictureService.InsertPicture(_fileProvider.ReadAllBytes(_fileProvider.Combine(sampleImagesPath, "banner2.jpg")), MimeTypes.ImagePJpeg, "banner_2").Id,
                Text2        = "",
                Link2        = _webHelper.GetStoreLocation(false),
                MobilePic2Id = _pictureService.InsertPicture(_fileProvider.ReadAllBytes(_fileProvider.Combine(sampleImagesPath, "banner2-mobile.jpg")), MimeTypes.ImagePJpeg, "banner_2").Id,
                //Picture3Id = _pictureService.InsertPicture(File.ReadAllBytes(_fileProvider.Combine(sampleImagesPath,"banner3.jpg")), MimeTypes.ImagePJpeg, "banner_3").Id,
                //Text3 = "",
                //Link3 = _webHelper.GetStoreLocation(false),
            };

            _settingService.SaveSetting(settings);

            _localizationService.AddPluginLocaleResource(new Dictionary <string, string>
            {
                ["Plugins.Widgets.NivoSlider.Picture1"]           = "Picture 1",
                ["Plugins.Widgets.NivoSlider.Picture2"]           = "Picture 2",
                ["Plugins.Widgets.NivoSlider.Picture3"]           = "Picture 3",
                ["Plugins.Widgets.NivoSlider.Picture4"]           = "Picture 4",
                ["Plugins.Widgets.NivoSlider.Picture5"]           = "Picture 5",
                ["Plugins.Widgets.NivoSlider.Picture"]            = "Picture",
                ["Plugins.Widgets.NivoSlider.Picture.Hint"]       = "Upload picture.",
                ["Plugins.Widgets.NivoSlider.Text"]               = "Comment",
                ["Plugins.Widgets.NivoSlider.Text.Hint"]          = "Enter comment for picture. Leave empty if you don't want to display any text.",
                ["Plugins.Widgets.NivoSlider.Link"]               = "URL",
                ["Plugins.Widgets.NivoSlider.Link.Hint"]          = "Enter URL. Leave empty if you don't want this picture to be clickable.",
                ["Plugins.Widgets.NivoSlider.AltText"]            = "Image alternate text",
                ["Plugins.Widgets.NivoSlider.AltText.Hint"]       = "Enter alternate text that will be added to image.",
                ["Plugins.Widgets.NivoSlider.MobilePicture"]      = "Mobile Picture",
                ["Plugins.Widgets.NivoSlider.MobilePicture.Hint"] = "Upload the x*x squared picture for devices < 1000 width."
            });

            base.Install();
        }
コード例 #25
0
        /// <summary>
        /// Install the plugin
        /// </summary>
        public override void Install()
        {
            var settings = new PaytmPaymentSettings()
            {
                MerchantId         = "",
                MerchantKey        = "",
                Website            = "",
                IndustryTypeId     = "",
                PaymentUrl         = "",
                CallBackUrl        = _webHelper.GetStoreLocation(false) + "Plugins/PaymentPaytm/Return",
                TxnStatusUrl       = "",
                UseDefaultCallBack = true
            };

            _settingService.SaveSetting(settings);
            _localizationService.AddOrUpdatePluginLocaleResource("Plugins.Payments.Paytm.RedirectionTip", "You will be redirected to Paytm site to complete the order.");

            //locales
            _localizationService.AddPluginLocaleResource(new Dictionary <string, string>
            {
                ["Plugins.Payments.Paytm.Fields.MerchantId"]              = "Merchant ID",
                ["Plugins.Payments.Paytm.Fields.MerchantId.Hint"]         = "Enter merchant ID.",
                ["Plugins.Payments.Paytm.Fields.MerchantKey"]             = "Merchant Key",
                ["Plugins.Payments.Paytm.Fields.MerchantKey.Hint"]        = "Enter Merchant key.",
                ["Plugins.Payments.Paytm.Fields.Website"]                 = "Website",
                ["Plugins.Payments.Paytm.Fields.Website.Hint"]            = "Enter website param.",
                ["Plugins.Payments.Paytm.Fields.IndustryTypeId"]          = "Industry Type Id",
                ["Plugins.Payments.Paytm.Fields.IndustryTypeId.Hint"]     = "Enter Industry Type Id.",
                ["Plugins.Payments.Paytm.Fields.PaymentUrl"]              = "Payment URL",
                ["Plugins.Payments.Paytm.Fields.PaymentUrl.Hint"]         = "Select Payment url.",
                ["Plugins.Payments.Paytm.Fields.CallBackUrl"]             = "Callback URL",
                ["Plugins.Payments.Paytm.Fields.CallBackUrl.Hint"]        = "Enter Callback URL",
                ["Plugins.Payments.Paytm.Fields.TxnStatusUrl"]            = "TxnStatus URL",
                ["Plugins.Payments.Paytm.Fields.TxnStatusUrl.Hint"]       = "Enter TxnStatus URL",
                ["Plugins.Payments.Paytm.Fields.UseDefaultCallBack"]      = "Default CallBack",
                ["Plugins.Payments.Paytm.Fields.UseDefaultCallBack.Hint"] = "Uncheck and use customized CallBack Url in below field.",

                ["Plugins.Payments.Paytm.PaymentMethodDescription"] = "Pay by Paytm Wallet / credit / debit card / Net Banking",
            });

            base.Install();
        }
コード例 #26
0
        /// <summary>
        /// Install the plugin
        /// </summary>
        public override void Install()
        {
            //settings
            _settingService.SaveSetting(new SkrillSettings
            {
                PaymentFlowType = PaymentFlowType.Inline,
                RequestTimeout  = 10
            });

            if (!_widgetSettings.ActiveWidgetSystemNames.Contains(Defaults.SystemName))
            {
                _widgetSettings.ActiveWidgetSystemNames.Add(Defaults.SystemName);
                _settingService.SaveSetting(_widgetSettings);
            }

            //locales
            _localizationService.AddPluginLocaleResource(new Dictionary <string, string>
            {
                ["Enums.Nop.Plugin.Payments.Skrill.Domain.PaymentFlowType.Redirection"] = "On the Skrill side",
                ["Enums.Nop.Plugin.Payments.Skrill.Domain.PaymentFlowType.Inline"]      = "On the Merchant side",
                ["Plugins.Payments.Skrill.Credentials.Valid"]             = "Specified credentials are valid",
                ["Plugins.Payments.Skrill.Credentials.Invalid"]           = "Specified email and password are invalid (see details in the <a href=\"{0}\" target=\"_blank\">log</a>)",
                ["Plugins.Payments.Skrill.Fields.MerchantEmail"]          = "Merchant email",
                ["Plugins.Payments.Skrill.Fields.MerchantEmail.Hint"]     = "Enter email address of your Skrill merchant account.",
                ["Plugins.Payments.Skrill.Fields.MerchantEmail.Required"] = "Merchant email is required",
                ["Plugins.Payments.Skrill.Fields.Password"]             = "******",
                ["Plugins.Payments.Skrill.Fields.Password.Hint"]        = "Insert API/MQI password created in your Skrill merchants account settings.",
                ["Plugins.Payments.Skrill.Fields.SecretWord"]           = "Secret word",
                ["Plugins.Payments.Skrill.Fields.SecretWord.Hint"]      = "Insert secret word created in your Skrill merchants account settings.",
                ["Plugins.Payments.Skrill.Fields.SecretWord.Required"]  = "Secret word is required",
                ["Plugins.Payments.Skrill.Fields.PaymentFlowType"]      = "Payment flow",
                ["Plugins.Payments.Skrill.Fields.PaymentFlowType.Hint"] = "Select a payment flow. Choose option 'On the Skrill side' to redirect customers to the Skrill website to make a payment; choose option 'On the Merchant side' to embed the Skrill Quick Checkout page in checkout process, in this case customers make a payment by staying on your website.",
                ["Plugins.Payments.Skrill.PaymentMethodDescription"]    = "Pay by Skrill Quick Checkout",
                ["Plugins.Payments.Skrill.Refund.Offline.Hint"]         = "This option only puts transactions which are refunded in Skrill merchant account in the same status (refunded) in your nopCommerce store.",
                ["Plugins.Payments.Skrill.Refund.Warning"]     = "The refund is pending, actually it'll be completed upon receiving successful refund status report.",
                ["Plugins.Payments.Skrill.Payment.Successful"] = "We have received your payment. Thanks!",
                ["Plugins.Payments.Skrill.Payment.Invalid"]    = "Payment transaction is invalid.",
            });

            base.Install();
        }
コード例 #27
0
        public override void Install()
        {
            var settings = new LuceneSettings
            {
                Enabled = true,
                AutoCompleteSearchEnabled = true
            };

            _settingService.SaveSetting(settings);

            //locales
            _localizationService.AddPluginLocaleResource(new Dictionary <string, string>
            {
                { "Plugins.Misc.Lucene.Fields.Enabled", "Enable Lucene search" },
                { "Plugins.Misc.Lucene.Fields.Enabled.Hint", "Turn on the Lucene Full-Text search funtionality" },
                { "Plugins.Misc.Lucene.Fields.AutoCompleteSearchEnabled", "Enable auto complete search" },
                { "Plugins.Misc.Lucene.Fields.AutoCompleteSearchEnabled.Hint", "Turn on the Lucene Full-Text search funtionality for auto complete" }
            });

            base.Install();
        }
        /// <summary>
        /// Install the plugin
        /// </summary>
        public override void Install()
        {
            //settings
            _settingService.SaveSetting(new PurchaseOrderPaymentSettings());

            //locales

            _localizationService.AddPluginLocaleResource(new Dictionary <string, string>
            {
                ["Plugins.Payment.PurchaseOrder.AdditionalFee"]                 = "Additional fee",
                ["Plugins.Payment.PurchaseOrder.AdditionalFee.Hint"]            = "The additional fee.",
                ["Plugins.Payment.PurchaseOrder.AdditionalFeePercentage"]       = "Additional fee. Use percentage",
                ["Plugins.Payment.PurchaseOrder.AdditionalFeePercentage.Hint"]  = "Determines whether to apply a percentage additional fee to the order total. If not enabled, a fixed value is used.",
                ["Plugins.Payment.PurchaseOrder.PaymentMethodDescription"]      = "Pay by purchase order (PO) number",
                ["Plugins.Payment.PurchaseOrder.PurchaseOrderNumber"]           = "PO Number",
                ["Plugins.Payment.PurchaseOrder.ShippableProductRequired"]      = "Shippable product required",
                ["Plugins.Payment.PurchaseOrder.ShippableProductRequired.Hint"] = "An option indicating whether shippable products are required in order to display this payment method during checkout."
            });

            base.Install();
        }
コード例 #29
0
        /// <summary>
        /// Install plugin
        /// </summary>
        public override void Install()
        {
            var settings = new GoogleAnalyticsSettings
            {
                GoogleId                 = "UA-0000000-0",
                TrackingScript           = @"<!-- Global site tag (gtag.js) - Google Analytics -->
                <script async src='https://www.googletagmanager.com/gtag/js?id={GOOGLEID}'></script>
                <script>
                  window.dataLayer = window.dataLayer || [];
                  function gtag(){dataLayer.push(arguments);}
                  gtag('js', new Date());

                  gtag('config', '{GOOGLEID}');
                  {CUSTOMER_TRACKING}
                  {ECOMMERCE_TRACKING}
                </script>",
                UseJsToSendEcommerceInfo = true
            };

            _settingService.SaveSetting(settings);

            _localizationService.AddPluginLocaleResource(new Dictionary <string, string>
            {
                ["Plugins.Widgets.GoogleAnalytics.GoogleId"]                      = "ID",
                ["Plugins.Widgets.GoogleAnalytics.GoogleId.Hint"]                 = "Enter Google Analytics ID.",
                ["Plugins.Widgets.GoogleAnalytics.TrackingScript"]                = "Tracking code",
                ["Plugins.Widgets.GoogleAnalytics.TrackingScript.Hint"]           = "Paste the tracking code generated by Google Analytics here. {GOOGLEID} and {CUSTOMER_TRACKING} will be dynamically replaced.",
                ["Plugins.Widgets.GoogleAnalytics.EnableEcommerce"]               = "Enable eCommerce",
                ["Plugins.Widgets.GoogleAnalytics.EnableEcommerce.Hint"]          = "Check to pass information about orders to Google eCommerce feature.",
                ["Plugins.Widgets.GoogleAnalytics.UseJsToSendEcommerceInfo"]      = "Use JS to send eCommerce info",
                ["Plugins.Widgets.GoogleAnalytics.UseJsToSendEcommerceInfo.Hint"] = "Check to use JS code to send eCommerce info from the order completed page. But in case of redirection payment methods some customers may skip it. Otherwise, e-commerce information will be sent using HTTP request. Information is sent each time an order is paid but UTM is not supported in this mode.",
                ["Plugins.Widgets.GoogleAnalytics.IncludeCustomerId"]             = "Include customer ID",
                ["Plugins.Widgets.GoogleAnalytics.IncludeCustomerId.Hint"]        = "Check to include customer identifier to script.",
                ["Plugins.Widgets.GoogleAnalytics.IncludingTax"]                  = "Include tax",
                ["Plugins.Widgets.GoogleAnalytics.IncludingTax.Hint"]             = "Check to include tax when generating tracking code for eCommerce part.",
                ["Plugins.Widgets.GoogleAnalytics.Instructions"]                  = "<p>Google Analytics is a free website stats tool from Google. It keeps track of statistics about the visitors and eCommerce conversion on your website.<br /><br />Follow the next steps to enable Google Analytics integration:<br /><ul><li><a href=\"http://www.google.com/analytics/\" target=\"_blank\">Create a Google Analytics account</a> and follow the wizard to add your website</li><li>Copy the Tracking ID into the 'ID' box below</li><li>Click the 'Save' button below and Google Analytics will be integrated into your store</li></ul><br />If you would like to switch between Google Analytics (used by default) and Universal Analytics, then please use the buttons below:</p>"
            });

            base.Install();
        }
コード例 #30
0
        /// <summary>
        /// Install the plugin
        /// </summary>
        public override void Install()
        {
            //settings
            _settingService.SaveSetting(new IpayDoubleEightPaymentSettings
            {
                IpayDoubleEightUrl = "https://payment.ipay88.com.my/epayment/entry.asp"
            });

            //locales
            _localizationService.AddPluginLocaleResource(new Dictionary <string, string>
            {
                ["Plugins.Payments.IpayDoubleEight.PaymentMethod.Description"] = "iPay88",
                ["Plugins.Payments.IpayDoubleEight.Fields.RedirectionTip"]     = "Please select payment first,then you will be redirected to iPay88 site to complete the order.",
                ["Plugins.Payments.IpayDoubleEight.Fields.MerchantCode"]       = "MerchantCode",
                ["Plugins.Payments.IpayDoubleEight.Fields.MerchantKey"]        = "MerchantKey",
                ["Plugins.Payments.IpayDoubleEight.Fields.IpayDoubleEightUrl"] = "Url",
                ["Plugins.Payments.IpayDoubleEight.Fields.PaymentId"]          = "PaymentId",
                ["Plugins.Payments.IpayDoubleEight.Fields.PaymentId.Hint"]     = "If PaymentId not post via request, gateway will choose the predefined default payment method.By default,payment method can be re - select by customer from iPay88 payment.",
                ["Plugins.Payments.IpayDoubleEight.Fields.PaymentMethod"]      = "Enable payment methods",
                ["Plugins.Payments.IpayDoubleEight.Fields.Currency"]           = "Currency",
                ["Plugins.Payments.IpayDoubleEight.Fields.Lang"]                         = "Lang",
                ["Plugins.Payments.IpayDoubleEight.Fields.SignatureType"]                = "Signature Type",
                ["Plugins.Payments.IpayDoubleEight.Fields.AdditionalFee"]                = "Additional fee",
                ["Plugins.Payments.IpayDoubleEight.Fields.AdditionalFee.Hint"]           = "Enter additional fee to charge your customers.",
                ["Plugins.Payments.IpayDoubleEight.Fields.AdditionalFeePercentage"]      = "Additional fee. Use percentage",
                ["Plugins.Payments.IpayDoubleEight.Fields.AdditionalFeePercentage.Hint"] = "Determines whether to apply a percentage additional fee to the order total. If not enabled, a fixed value is used.",
                ["Plugins.Payments.IpayDoubleEight.PaymentMethodDescription"]            = "You will be redirected to iPay88 site to complete the payment",
                ["Plugins.Payments.IpayDoubleEight.Instructions"]                        = @"
                    <p>
	                    <b>If you're using this gateway ensure that your primary store currency is supported by iPay88.</b>
	                    <br />
	                    <br />1. Log in to your iPay88 account (click <a href=""https://www.mobile88.com/epayment/report/"" target=""_blank"">here</a> to create your account).
	                    <br />
                    </p>",
            });

            base.Install();
        }