Webiant Logo Webiant Logo
  1. No results found.

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

OpcShippingAddress.cshtml

@model CheckoutShippingAddressModel
@using Nop.Core;
@inject IWebHelper webHelper

@{
    var storeLocation = webHelper.GetStoreLocation();
}
@if (Model.DisplayPickupInStore && Model.PickupPointsModel.AllowPickupInStore) { @await Html.PartialAsync("_PickupPoints", Model.PickupPointsModel) } @if (Model.PickupPointsModel == null || !Model.PickupPointsModel.PickupInStoreOnly) {
@await Component.InvokeAsync(typeof(WidgetViewComponent), new { widgetZone = PublicWidgetZones.OpCheckoutShippingAddressTop, additionalData = Model }) @if (Model.ExistingAddresses.Count > 0) {
@if (Model.InvalidExistingAddresses.Count > 0) { }
} @await Component.InvokeAsync(typeof(WidgetViewComponent), new { widgetZone = PublicWidgetZones.OpCheckoutShippingAddressMiddle, additionalData = Model })
@{ var dataDictAddress = new ViewDataDictionary(ViewData); dataDictAddress.TemplateInfo.HtmlFieldPrefix = "ShippingNewAddress"; @await Html.PartialAsync("_CreateOrUpdateAddress", Model.ShippingNewAddress, dataDictAddress) }
@await Component.InvokeAsync(typeof(WidgetViewComponent), new { widgetZone = PublicWidgetZones.OpCheckoutShippingAddressBottom, additionalData = Model })
}