public ActionResult PaymentInfo() { var model = new PaymentInfoModel() { DescriptionText = _cashOnDeliveryPaymentSettings.DescriptionText }; return View("Nop.Plugin.Payments.CashOnDelivery.Views.PaymentCashOnDelivery.PaymentInfo", model); }
public ActionResult PaymentInfo() { var cashOnDeliveryPaymentSettings = _settingService.LoadSetting<CashOnDeliveryPaymentSettings>(_storeContext.CurrentStore.Id); var model = new PaymentInfoModel { DescriptionText = cashOnDeliveryPaymentSettings.GetLocalizedSetting(x=>x.DescriptionText, _workContext.WorkingLanguage.Id) }; return View("~/Plugins/Payments.CashOnDelivery/Views/PaymentCashOnDelivery/PaymentInfo.cshtml", model); }
public ActionResult PaymentInfo() { var cashOnDeliveryPaymentSettings = _settingService.LoadSetting<CashOnDeliveryPaymentSettings>(_storeContext.CurrentStore.Id); var model = new PaymentInfoModel() { DescriptionText = cashOnDeliveryPaymentSettings.DescriptionText }; return View("Nop.Plugin.Payments.CashOnDelivery.Views.PaymentCashOnDelivery.PaymentInfo", model); }