Try your search with a different keyword or use * as a wildcard.
@model OnePageCheckoutModel
@using Nop.Core
@using Nop.Services.Customers
@inject IWebHelper webHelper
@inject IWorkContext workContext
@inject ICustomerService _customerService
@{
Layout = "_ColumnsOne";
var storeLocation = webHelper.GetStoreLocation();
//title
NopHtml.AddTitleParts(T("PageTitle.Checkout").Text);
//page class
NopHtml.AppendPageCssClassParts("html-checkout-page");
}
@{
//step numbers
var billingAddressStepNumber = 1;
var shippingAddressStepNumber = 2;
var shippingMethodStepNumber = 3;
var paymentMethodStepNumber = 4;
var paymentInfoStepNumber = 5;
var confirmOrderStepNumber = 6;
if (!Model.ShippingRequired)
{
paymentMethodStepNumber = paymentMethodStepNumber - 2;
paymentInfoStepNumber = paymentInfoStepNumber - 2;
confirmOrderStepNumber = confirmOrderStepNumber - 2;
}
if (Model.DisableBillingAddressCheckoutStep)
{
shippingAddressStepNumber--;
shippingMethodStepNumber--;
paymentMethodStepNumber--;
paymentInfoStepNumber--;
confirmOrderStepNumber--;
}
}
@T("Checkout")
@await Component.InvokeAsync(typeof(WidgetViewComponent), new { widgetZone = PublicWidgetZones.OpcContentBefore, additionalData = Model })
-
@billingAddressStepNumber
@T("Checkout.BillingAddress")
@if (Model.ShippingRequired)
{
-
@shippingAddressStepNumber
@T("Checkout.ShippingAddress")
-
@shippingMethodStepNumber
@T("Checkout.ShippingMethod")
}
-
@paymentMethodStepNumber
@T("Checkout.PaymentMethod")
-
@paymentInfoStepNumber
@T("Checkout.PaymentInfo")
-
@confirmOrderStepNumber
@T("Checkout.ConfirmOrder")
@await Component.InvokeAsync(typeof(WidgetViewComponent), new { widgetZone = PublicWidgetZones.OpcContentAfter, additionalData = Model })