@model CustomerBackInStockSubscriptionsModel @using Nop.Core.Domain.Catalog @{ Layout = "_ColumnsTwo"; //title NopHtml.AddTitleParts(T("PageTitle.BackInStockSubscriptions").Text); //page class NopHtml.AppendPageCssClassParts("html-account-page"); NopHtml.AppendPageCssClassParts("html-back-in-stock-subscription-list-page"); } @section left { @await Component.InvokeAsync(typeof(CustomerNavigationViewComponent), new { selectedTabId = CustomerNavigationEnum.BackInStockSubscriptions }) }

@T("Account.MyAccount") - @T("Account.BackInStockSubscriptions")

@await Component.InvokeAsync(typeof(WidgetViewComponent), new { widgetZone = PublicWidgetZones.CustomerBackInStockSubscriptionsTop, additionalData = Model }) @if (Model.Subscriptions.Count > 0) {
@T("Account.BackInStockSubscriptions.Description")
@for (var i = 0; i < Model.Subscriptions.Count; i++) { var item = Model.Subscriptions[i]; }
@T("Account.BackInStockSubscriptions.ProductColumn")
@item.ProductName
@{ var pager = await Html.PagerAsync(Model.PagerModel); } @if (!string.IsNullOrEmpty(await pager.RenderHtmlContentAsync())) {
@pager
}
} else {
@T("Account.BackInStockSubscriptions.NoSubscriptions")
} @await Component.InvokeAsync(typeof(WidgetViewComponent), new { widgetZone = PublicWidgetZones.CustomerBackInStockSubscriptionsBottom, additionalData = Model })