Webiant Logo Webiant Logo
  1. No results found.

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

OpcPaymentMethods.cshtml

@model CheckoutPaymentMethodModel
@await Component.InvokeAsync(typeof(WidgetViewComponent), new { widgetZone = PublicWidgetZones.OpCheckoutPaymentMethodTop, additionalData = Model })
@if (Model.DisplayRewardPoints && Model.PaymentMethods.Count > 0) {
@if (Model.RewardPointsEnoughToPayForOrder) { } else { } @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.OpCheckoutPaymentMethodBottom, additionalData = Model })