Webiant Logo Webiant Logo
  1. No results found.

    Try your search with a different keyword or use * as a wildcard.

PaymentMethod.cshtml

@model CheckoutPaymentMethodModel
@{
    Layout = "_ColumnsOne";

    //title
    NopHtml.AddTitleParts(T("PageTitle.Checkout").Text);
    //page class
    NopHtml.AppendPageCssClassParts("html-checkout-page");
    NopHtml.AppendPageCssClassParts("html-payment-method-page");
}
@await Component.InvokeAsync(typeof(CheckoutProgressViewComponent), new { step = CheckoutProgressStep.Payment })

@T("Checkout.SelectPaymentMethod")

@await Component.InvokeAsync(typeof(WidgetViewComponent), new { widgetZone = PublicWidgetZones.CheckoutPaymentMethodTop, additionalData = Model })
@if (Model.DisplayRewardPoints && Model.PaymentMethods.Count > 0) {
@if (Model.RewardPointsEnoughToPayForOrder) { }
} @if (Model.PaymentMethods.Count > 0) {
    @for (var i = 0; i < Model.PaymentMethods.Count; i++) { var paymentMethod = Model.PaymentMethods[i]; var paymentMethodName = paymentMethod.Name; if (!string.IsNullOrEmpty(paymentMethod.Fee)) { paymentMethodName = T("Checkout.SelectPaymentMethod.MethodAndFee", paymentMethodName, paymentMethod.Fee).Text; }
  • @if (!string.IsNullOrEmpty(paymentMethod.LogoUrl)) { }
    @if (!string.IsNullOrEmpty(paymentMethod.Description)) {
    @paymentMethod.Description
    }
  • }
} else {
@T("Checkout.NoPaymentMethods")
}
@await Component.InvokeAsync(typeof(WidgetViewComponent), new { widgetZone = PublicWidgetZones.CheckoutPaymentMethodBottom, additionalData = Model })
@T("Checkout.OrderSummary")
@await Component.InvokeAsync(typeof(OrderSummaryViewComponent))