Open-source eCommerce platform for C# and ASP.NET Core 10 with MongoDB. Build multi-store shops and multi-vendor marketplaces with B2B/B2C, REST API, plugins, Vue 3 and Docker.
C# aspnet-corecsharpdockerdotnetecommerceecommerce-platformmongodbmulti-storemulti-vendornosqlonline-shopshoppingcart
Remove QuickView layout
KrzysztofPajak2d2dcfbacaeb
diff --git a/src/Web/Grand.Web/Controllers/ProductController.cs b/src/Web/Grand.Web/Controllers/ProductController.csindex 46e0947af..6a984f028 100644--- a/src/Web/Grand.Web/Controllers/ProductController.cs+++ b/src/Web/Grand.Web/Controllers/ProductController.cs@@ -16,7 +16,6 @@ using Grand.Domain.Media;using Grand.Domain.Orders;using Grand.Infrastructure;using Grand.Web.Commands.Models.Products;-using Grand.Web.Common.Controllers;using Grand.Web.Common.Filters;using Grand.Web.Common.Security.Captcha;using Grand.Web.Events;@@ -152,8 +151,7 @@ namespace Grand.Web.Controllers}//prepare the model- var model = await _mediator.Send(new GetProductDetailsPage()- {+ var model = await _mediator.Send(new GetProductDetailsPage() {Store = _workContext.CurrentStore,Product = product,IsAssociatedProduct = false,@@ -194,8 +192,7 @@ namespace Grand.Web.Controllersif (product == null)return new JsonResult("");- var model = await _mediator.Send(new GetProductDetailsAttributeChange()- {+ var model = await _mediator.Send(new GetProductDetailsAttributeChange() {Currency = _workContext.WorkingCurrency,Customer = _workContext.CurrentCustomer,Store = _workContext.CurrentStore,@@ -317,8 +314,7 @@ namespace Grand.Web.Controllers}}- var download = new Download- {+ var download = new Download {DownloadGuid = Guid.NewGuid(),UseDownloadUrl = false,DownloadUrl = "",@@ -412,8 +408,7 @@ namespace Grand.Web.Controllers}//prepare the model- var model = await _mediator.Send(new GetProductDetailsPage()- {+ var model = await _mediator.Send(new GetProductDetailsPage() {Store = _workContext.CurrentStore,Product = product,IsAssociatedProduct = false,@@ -430,12 +425,11 @@ namespace Grand.Web.Controllersawait _customerActivityService.InsertActivity("PublicStore.ViewProduct", product.Id, _translationService.GetResource("ActivityLog.PublicStore.ViewProduct"), product.Name);await _customerActionEventService.Viewed(customer, HttpContext.Request.Path.ToString(), Request.Headers[HeaderNames.Referer].ToString() != null ? Request.Headers[HeaderNames.Referer].ToString() : "");await _productService.UpdateMostView(product);- var qhtml = await this.RenderPartialViewToString(productLayoutViewPath + ".QuickView", model);+return Json(new{success = true,product = true,- html = qhtml,model = model,layoutPath = productLayoutViewPath});@@ -454,8 +448,7 @@ namespace Grand.Web.Controllersvar products = await _recentlyViewedProductsService.GetRecentlyViewedProducts(_workContext.CurrentCustomer.Id, _catalogSettings.RecentlyViewedProductsNumber);//prepare model- var model = await _mediator.Send(new GetProductOverview()- {+ var model = await _mediator.Send(new GetProductOverview() {Products = products,});@@ -480,8 +473,7 @@ namespace Grand.Web.Controllers//prepare model- var model = await _mediator.Send(new GetProductOverview()- {+ var model = await _mediator.Send(new GetProductOverview() {PrepareSpecificationAttributes = _catalogSettings.ShowSpecAttributeOnCatalogPages,Products = products,});@@ -498,8 +490,7 @@ namespace Grand.Web.Controllersif (product == null || !product.Published || !product.AllowCustomerReviews)return RedirectToRoute("HomePage");- var model = await _mediator.Send(new GetProductReviews()- {+ var model = await _mediator.Send(new GetProductReviews() {Customer = _workContext.CurrentCustomer,Language = _workContext.WorkingLanguage,Product = product,@@ -543,8 +534,7 @@ namespace Grand.Web.Controllersif (ModelState.IsValid){- var productReview = await _mediator.Send(new InsertProductReviewCommand()- {+ var productReview = await _mediator.Send(new InsertProductReviewCommand() {Customer = _workContext.CurrentCustomer,Store = _workContext.CurrentStore,Model = model,@@ -560,8 +550,7 @@ namespace Grand.Web.Controllersif (productReview.IsApproved)await _mediator.Publish(new ProductReviewApprovedEvent(productReview));- model = await _mediator.Send(new GetProductReviews()- {+ model = await _mediator.Send(new GetProductReviews() {Customer = _workContext.CurrentCustomer,Language = _workContext.WorkingLanguage,Product = product,@@ -582,8 +571,7 @@ namespace Grand.Web.Controllers}//If we got this far, something failed, redisplay form- var newmodel = await _mediator.Send(new GetProductReviews()- {+ var newmodel = await _mediator.Send(new GetProductReviews() {Customer = _workContext.CurrentCustomer,Language = _workContext.WorkingLanguage,Product = product,@@ -641,8 +629,7 @@ namespace Grand.Web.Controllerselse{//insert new helpfulness- prh = new ProductReviewHelpfulness- {+ prh = new ProductReviewHelpfulness {ProductReviewId = productReview.Id,CustomerId = _workContext.CurrentCustomer.Id,WasHelpful = washelpful,@@ -713,8 +700,7 @@ namespace Grand.Web.Controllersif (ModelState.IsValid){- await _mediator.Send(new SendProductEmailAFriendMessageCommand()- {+ await _mediator.Send(new SendProductEmailAFriendMessageCommand() {Customer = _workContext.CurrentCustomer,Product = product,Language = _workContext.WorkingLanguage,@@ -750,8 +736,7 @@ namespace Grand.Web.Controllersif (product == null || !product.Published || !_catalogSettings.AskQuestionEnabled)return NotFound();- var model = await _mediator.Send(new GetProductAskQuestion()- {+ var model = await _mediator.Send(new GetProductAskQuestion() {Product = product,Customer = _workContext.CurrentCustomer,Language = _workContext.WorkingLanguage,@@ -779,8 +764,7 @@ namespace Grand.Web.Controllersif (ModelState.IsValid){- await _mediator.Send(new SendProductAskQuestionMessageCommand()- {+ await _mediator.Send(new SendProductAskQuestionMessageCommand() {Customer = _workContext.CurrentCustomer,Language = _workContext.WorkingLanguage,Store = _workContext.CurrentStore,@@ -832,8 +816,7 @@ namespace Grand.Web.Controllersif (ModelState.IsValid){- var productaskqestionmodel = new ProductAskQuestionModel()- {+ var productaskqestionmodel = new ProductAskQuestionModel() {Email = model.AskQuestionEmail,FullName = model.AskQuestionFullName,Phone = model.AskQuestionPhone,@@ -841,8 +824,7 @@ namespace Grand.Web.Controllers};- await _mediator.Send(new SendProductAskQuestionMessageCommand()- {+ await _mediator.Send(new SendProductAskQuestionMessageCommand() {Customer = _workContext.CurrentCustomer,Language = _workContext.WorkingLanguage,Store = _workContext.CurrentStore,@@ -932,8 +914,7 @@ namespace Grand.Web.Controllersif (!_catalogSettings.CompareProductsEnabled)return RedirectToRoute("HomePage");- var model = new CompareProductsModel- {+ var model = new CompareProductsModel {IncludeShortDescriptionInCompareProducts = _catalogSettings.IncludeShortDescriptionInCompareProducts,IncludeFullDescriptionInCompareProducts = _catalogSettings.IncludeFullDescriptionInCompareProducts,};@@ -945,8 +926,7 @@ namespace Grand.Web.Controllers//availability datesproducts = products.Where(p => p.IsAvailable()).ToList();- (await _mediator.Send(new GetProductOverview()- {+ (await _mediator.Send(new GetProductOverview() {PrepareSpecificationAttributes = true,Products = products,})).ToList().ForEach(model.Products.Add);diff --git a/src/Web/Grand.Web/Views/Product/ProductLayout.Grouped.QuickView.cshtml b/src/Web/Grand.Web/Views/Product/ProductLayout.Grouped.QuickView.cshtmldeleted file mode 100644index af167ad1a..000000000--- a/src/Web/Grand.Web/Views/Product/ProductLayout.Grouped.QuickView.cshtml+++ /dev/null@@ -1,211 +0,0 @@-@model ProductDetailsModel-@inject SeoSettings seoSettings-@inject IWorkContext workContext--@{- Layout = "";-}-@await Component.InvokeAsync("Widget", new { widgetZone = "productdetails_quickview_after_breadcrumb", additionalData = Model.Id })-<b-modal ref="ModalQuickView" id="ModalQuickView" :dark-theme="darkMode" @@shown="onShown" size="xl" centered hide-footer hide-header>- @{- var supportRtl = workContext.WorkingLanguage.Rtl;- if (supportRtl)- {- <link href="/theme/css/product/product.rtl.css" rel="stylesheet" type="text/css">- }- else- {- <link href="/theme/css/product/product.css" rel="stylesheet" type="text/css">- }- }- <b-button class="modal-close" block @@click="$bvModal.hide('ModalQuickView')"><b-icon icon="x"></b-icon></b-button>- <div class="page product-details-page product-grouped">- @await Component.InvokeAsync("Widget", new { widgetZone = "productdetails_top", additionalData = Model.Id })- <form asp-route="Product" asp-route-sename="@Model.SeName" method="post" id="product-details-form">- <div itemscope itemtype="http://schema.org/Product" data-productid="@Model.Id">- <div class="product-essential">- <div class="container">- <div class="row">- @if (!string.IsNullOrEmpty(Model.Flag))- {- <div class="product-label">- <div class="badge badge-info">@Model.Flag</div>- </div>- }- <vc:widget widget-zone="productdetails_before_pictures" additional-data="@Model.Id"></vc:widget>- <!--product pictures-->- <partial name="_PicturesQuickView" model="Model" />- <vc:widget widget-zone="productdetails_after_pictures" additional-data="@Model.Id"></vc:widget>- <div class="col-xl-5 col-lg-6 col-md-7 col-12 overview px-md-3 px-0">- @if (!string.IsNullOrEmpty(Model.Flag))- {- <div class="product-label">- <div class="bandge badge-info">@Model.Flag</div>- </div>- }- <partial name="_Unavailable" model="Model" />- <div class="product-name">- <h1 class="generalTitle mb-3" itemprop="name">- @Model.Name- </h1>- </div>- @if (!String.IsNullOrEmpty(Model.ShortDescription))- {- <div class="short-description mb-3">- @Html.Raw(Model.ShortDescription)- </div>- }- @await Component.InvokeAsync("Widget", new { widgetZone = "productdetails_overview_top", additionalData = Model.Id })- <!--product reviews-->- @if (Model.ProductReviewOverview.AllowCustomerReviews)- {- <partial name="_ProductReviewOverview" model="Model.ProductReviewOverview" />- }- <!--product collections-->- @if (Model.ProductCollections.Any())- {- <partial name="_Collections" model="Model.ProductCollections" />- }- <!--warehouses-->- @if (Model.AllowToSelectWarehouse)- {- <partial name="_Warehouses" model="Model" />- }- <!--compare, email a friend-->- <div class="btn-group mt-2 mb-3 w-100">- @await Component.InvokeAsync("Widget", new { widgetZone = "productdetails_inside_overview_buttons_before", additionalData = Model.Id })- <partial name="_ProductsComparison" model="Model" />- <partial name="_SendFriend" model="Model" />- <partial name="_ProductAskQuestionButton" model="Model" />- @await Component.InvokeAsync("Widget", new { widgetZone = "productdetails_inside_overview_buttons_after", additionalData = Model.Id })- </div>- <partial name="_ShareButton" model="Model" />- @await Component.InvokeAsync("Widget", new { widgetZone = "productdetails_overview_bottom", additionalData = Model.Id })- </div>- </div>- </div>- </div>-- <div class="col-12 px-0 my-3">- <div>- <b-tabs content-class="mt-3" align="center">- <b-tab title="@Loc["Products.Description"]" active>- @Html.Raw(Model.FullDescription)- </b-tab>- @if (Model.ProductTags.Any())- {- <b-tab title="@Loc["Products.Tags"]">- <partial name="_ProductTags" model="Model.ProductTags" />- </b-tab>- }- @if (Model.ProductSpecifications.Any())- {- <b-tab title="@Loc["Products.Specs"]">- <partial name="_ProductSpecifications" model="Model.ProductSpecifications" />- </b-tab>- }- @if (Model.ProductReviewOverview.AllowCustomerReviews)- {- <b-tab id="review-tab" title="@Loc["Products.Reviews"]">- @await Component.InvokeAsync("ProductReviews", new { productId = Model.Id })- </b-tab>- }- </b-tabs>- </div>- </div>- @await Component.InvokeAsync("Widget", new { widgetZone = "productdetails_before_collateral", additionalData = Model.Id })- <div class="product-collateral">- <div>- <!--associated products-->- @foreach (var variant in Model.AssociatedProducts)- {- <div class="card overflow-hidden associatedItem mb-3">- <div class="row" no-gutters>- <div class="col-lg-3 col-md-4">- <img id="[email protected]" alt="@variant.DefaultPictureModel.AlternateText" src="@variant.DefaultPictureModel.ImageUrl" class="rounded-0 img-fluid">- </div>- <div class="col-lg-9 col-md-8">- <div class="card-body overview" title="@variant.Name">- <div class="short-description mb-3">- @Html.Raw(variant.ShortDescription)- </div>- <!--availability-->- <partial name="_Availability" model="variant" />- <!--Code products - SKU, MAN, GTIN, Vendor info -->- <partial name="_Codes" model="variant" />- <!--delivery-->- @if ((variant.FreeShippingNotificationEnabled && Model.IsFreeShipping) || !string.IsNullOrWhiteSpace(variant.DeliveryDate)- || variant.NotReturnable || variant.AdditionalShippingCharge > 0)- {- <partial name="_DeliveryInfo" model="variant" />- }- <!--sample download-->- @if (variant.HasSampleDownload)- {- <partial name="_DownloadSample" model="variant" />- }- <!--attributes-->- @{- if (variant.ProductAttributes.Any())- {- var dataDictAttributes = new ViewDataDictionary(ViewData);- dataDictAttributes.TemplateInfo.HtmlFieldPrefix = string.Format("attributes_{0}", variant.Id);- <partial name="_ProductAttributes" model="variant.ProductAttributes" view-data="dataDictAttributes" />- }- }- <!--gift voucher-->- @{- if (variant.GiftVoucher.IsGiftVoucher)- {- var dataDictGiftVoucher = new ViewDataDictionary(ViewData);- dataDictGiftVoucher.TemplateInfo.HtmlFieldPrefix = string.Format("giftvoucher_{0}", variant.Id);- <partial name="_GiftVoucherInfo" model="variant.GiftVoucher" view-data="dataDictGiftVoucher" />- }- }- <!--price breaks-->- @if (variant.TierPrices.Any())- {- <partial name="_TierPrices" model="variant.TierPrices" />- }- @{- var dataDictAddToCart = new ViewDataDictionary(ViewData);- dataDictAddToCart.TemplateInfo.HtmlFieldPrefix = string.Format("addtocart_{0}", variant.Id);- }- <!--price & add to cart-->- @{- var dataDictPrice = new ViewDataDictionary(ViewData);- dataDictPrice.TemplateInfo.HtmlFieldPrefix = string.Format("price_{0}", variant.Id);- <partial name="_Prices" model="variant.ProductPrice" view-data="dataDictPrice" />- }- @{- <partial name="_AddToCart" model="variant.AddToCart" view-data="dataDictAddToCart" />- var dataDictAddToWishlist = new ViewDataDictionary(ViewData);- dataDictAddToWishlist.TemplateInfo.HtmlFieldPrefix = string.Format("addtocart_{0}", variant.Id);- <div class="mt-2">- <partial name="_AddToWishlist" model="variant.AddToCart" view-data="dataDictAddToWishlist" />- </div>- }- </div>- </div>- </div>- </div>- }-- @if (Model.AssociatedProducts.Count == 0)- {- <div class="no-associated-products">- @Loc["Products.NoAssociatedProducts"]- </div>- }- </div>- </div>- </div>- @await Component.InvokeAsync("RelatedProducts", new { productId = Model.Id })- </form>- @await Component.InvokeAsync("Widget", new { widgetZone = "productdetails_bottom", additionalData = Model.Id })- </div>-</b-modal>-<div class="script-tag">- <resources asp-type="ScriptHeader" />- <resources asp-type="ScriptFooter" />-</div>\ No newline at end of filediff --git a/src/Web/Grand.Web/Views/Product/ProductLayout.Simple.QuickView.cshtml b/src/Web/Grand.Web/Views/Product/ProductLayout.Simple.QuickView.cshtmldeleted file mode 100644index 7952662dd..000000000--- a/src/Web/Grand.Web/Views/Product/ProductLayout.Simple.QuickView.cshtml+++ /dev/null@@ -1,209 +0,0 @@-@model ProductDetailsModel-@inject SeoSettings seoSettings-@inject IWorkContext workContext--@{- Layout = "";-}-@await Component.InvokeAsync("Widget", new { widgetZone = "productdetails_quickview_after_breadcrumb", additionalData = Model.Id })-<b-modal ref="ModalQuickView" id="ModalQuickView" :dark-theme="darkMode" @@shown="onShown" size="xl" centered hide-footer hide-header>- @{- var supportRtl = workContext.WorkingLanguage.Rtl;- if (supportRtl)- {- <link href="/theme/css/product/product.rtl.css" rel="stylesheet" type="text/css">- }- else- {- <link href="/theme/css/product/product.css" rel="stylesheet" type="text/css">- }- }- <button class="modal-close" @@click="$bvModal.hide('ModalQuickView')"><b-icon icon="x"></b-icon></button>- <div class="page product-details-page">- <vc:widget widget-zone="productdetails_top" additional-data="@Model.Id"></vc:widget>- <form asp-route="Product" asp-route-sename="@Model.SeName" method="post" id="product-details-form">- <div itemscope itemtype="http://schema.org/Product" data-productid="@Model.Id">- <div class="container position-relative">- <div class="row">- <vc:widget widget-zone="productdetails_before_pictures" additional-data="@Model.Id"></vc:widget>- <!--product pictures-->- <partial name="_PicturesQuickView" model="Model" />- <vc:widget widget-zone="productdetails_after_pictures" additional-data="@Model.Id"></vc:widget>- <div class="col-xl-7 col-lg-8 col-md-12 col-12 overview pl-md-3 pl-0 pr-0">- @if (!string.IsNullOrEmpty(Model.Flag))- {- <div class="product-label">- <div class="badge badge-info">@Model.Flag</div>- </div>- }- <partial name="_Unavailable" model="Model" />- <h1 class="generalTitle" itemprop="name">- @Model.Name- </h1>- <!--product reviews-->- @if (Model.ProductReviewOverview.AllowCustomerReviews)- {- <partial name="_ProductReviewOverview" model="Model.ProductReviewOverview" />- }- <vc:widget widget-zone="productdetails_overview_top" additional-data="@Model.Id"></vc:widget>- @if (!String.IsNullOrEmpty(Model.ShortDescription))- {- <div class="short-description generalMarginSupporter">- @Html.Raw(Model.ShortDescription)- </div>- }- <!--collections-->- @if (Model.ProductCollections.Any())- {- <partial name="_Collections" model="Model.ProductCollections" />- }- <!--availability-->- @if (!String.IsNullOrWhiteSpace(Model.StockAvailability) || Model.DisplayOutOfStockSubscription)- {- <partial name="_Availability" model="Model" />- }- <!--Code products - SKU, MAN, GTIN, Vendor info -->- <partial name="_Codes" model="Model" />- <!--delivery-->- @if ((Model.FreeShippingNotificationEnabled && Model.IsFreeShipping) || !string.IsNullOrWhiteSpace(Model.DeliveryDate)- || Model.NotReturnable || Model.AdditionalShippingCharge > 0)- {- <partial name="_DeliveryInfo" model="Model" />- }- <!--sample download-->- @if (Model.HasSampleDownload)- {- <partial name="_DownloadSample" model="Model" />- }- <!--product bundles-->- @if (Model.ProductBundleModels.Any())- {- <partial name="_ProductBundles" model="Model" />- }- <!--attributes-->- @{- if (Model.ProductAttributes.Any())- {- var dataDictAttributes = new ViewDataDictionary(ViewData);- dataDictAttributes.TemplateInfo.HtmlFieldPrefix = string.Format("attributes_{0}", Model.Id);- <partial name="_ProductAttributes" model="Model.ProductAttributes" view-data="dataDictAttributes" />- }- }- <!--warehouses-->- @if (Model.AllowToSelectWarehouse)- {- <partial name="_Warehouses" model="Model" />- }- <!--gift voucher-->- @{- if (Model.GiftVoucher.IsGiftVoucher)- {- var dataDictGiftVoucher = new ViewDataDictionary(ViewData);- dataDictGiftVoucher.TemplateInfo.HtmlFieldPrefix = string.Format("giftvoucher_{0}", Model.Id);- <partial name="_GiftVoucherInfo" model="Model.GiftVoucher" view-data="dataDictGiftVoucher" />- }- }- <!--reservation info-->- @if (Model.ProductType == ProductType.Reservation)- {- var dataDictReservation = new ViewDataDictionary(ViewData);- dataDictReservation.TemplateInfo.HtmlFieldPrefix = string.Format("reservation_{0}", Model.Id);- <partial name="_ReservationInfo" model="Model" view-data="dataDictReservation" />- }- <!--price & add to cart-->- <div class="overview-buttons generalMarginSupporter">- @if (Model.TierPrices.Any())- {- <div class="col-lg-12 px-0">- <partial name="_TierPrices" model="Model.TierPrices" />- </div>- }- <div class="col-lg-12 px-0">- @{- var dataDictPrice = new ViewDataDictionary(ViewData);- dataDictPrice.TemplateInfo.HtmlFieldPrefix = string.Format("price_{0}", Model.Id);- <partial name="_Prices" model="Model.ProductPrice" view-data="dataDictPrice" />- }- </div>- <div class="generalMarginSupporter">- <!--auction-->- @if (Model.ProductType == ProductType.Auction)- {- var dataDictAuction = new ViewDataDictionary(ViewData);- dataDictAuction.TemplateInfo.HtmlFieldPrefix = string.Format("auction_{0}", Model.Id);- <partial name="_AuctionInfo" model="Model" view-data="dataDictAuction" />- }- @{- var dataDictAddToWishlist = new ViewDataDictionary(ViewData);- dataDictAddToWishlist.TemplateInfo.HtmlFieldPrefix = string.Format("addtocart_{0}", Model.Id);- var dataDictAddToCart = new ViewDataDictionary(ViewData);- dataDictAddToCart.TemplateInfo.HtmlFieldPrefix = string.Format("addtocart_{0}", Model.Id);- }- <partial name="_AddToCart" model="Model.AddToCart" view-data="dataDictAddToCart" />- <div class="btn-group mt-2 mb-3 w-100">- @if (Model.ProductType == ProductType.SimpleProduct || Model.ProductType == ProductType.BundledProduct)- {- <partial name="_AddToWishlist" model="Model.AddToCart" view-data="dataDictAddToWishlist" />- <partial name="_ProductsComparison" model="Model" />- }- @if (Model.EmailAFriendEnabled)- {- <partial name="_SendFriend" model="Model" />- }- @if (Model.AskQuestionEnabled)- {- <partial name="_ProductAskQuestionButton" model="Model" />- }- </div>- </div>- </div>- @if (!String.IsNullOrWhiteSpace(Model.PageShareCode))- {- <div class="col-12 product-share px-0">- <partial name="_ShareButton" model="Model" />- </div>- }- <vc:widget widget-zone="productdetails_overview_bottom" additional-data="@Model.Id"></vc:widget>- </div>- </div>- </div>-- <div class="col-12 px-0 my-3">- <div>- <b-tabs content-class="mt-3" align="center">- <b-tab title="@Loc["Products.Description"]" active>- @Html.Raw(Model.FullDescription)- </b-tab>- @if (Model.ProductTags.Any())- {- <b-tab title="@Loc["Products.Tags"]">- <partial name="_ProductTags" model="Model.ProductTags" />- </b-tab>- }- @if (Model.ProductSpecifications.Any())- {- <b-tab title="@Loc["Products.Specs"]">- <partial name="_ProductSpecifications" model="Model.ProductSpecifications" />- </b-tab>- }- @if (Model.ProductReviewOverview.AllowCustomerReviews)- {- <b-tab id="review-tab" title="@Loc["Products.Reviews"]" :active="active ? true : false">- @await Component.InvokeAsync("ProductReviews", new { productId = Model.Id })- </b-tab>- }- </b-tabs>- </div>- </div>- <vc:products-also-purchased product-id="@Model.Id" product-thumb-picture-size="null"></vc:products-also-purchased>- <vc:related-products product-id="@Model.Id" product-thumb-picture-size="null"></vc:related-products>- <vc:similar-products product-id="@Model.Id" product-thumb-picture-size="null"></vc:similar-products>- </div>- </form>- <vc:widget widget-zone="productdetails_bottom" additional-data="@Model.Id"></vc:widget>- </div>-</b-modal>-<div class="script-tag">- <resources asp-type="ScriptHeader" />- <resources asp-type="ScriptFooter" />-</div>\ No newline at end of file