Poufs & stools
Error executing template "Designs/bloomingville/ecom/productlist/partials/item.cshtml"System.FormatException: Input string was not in a correct format.at System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal)at System.Number.ParseInt32(String s, NumberStyles style, NumberFormatInfo info)at Co3.Bloomingville.Website.Models.Frontend.Ecommerce.BloomingvilleProduct.<>c.b__35_1(EspressoProductImageUrl epiu) in C:\git\Bloomingville\Co3.Bloomingville.Website\Models\Frontend\Ecommerce\BloomingvilleProduct.cs:line 207at System.Linq.EnumerableSorter`2.ComputeKeys(TElement[] elements, Int32 count)at System.Linq.EnumerableSorter`1.Sort(TElement[] elements, Int32 count)at System.Linq.OrderedEnumerable`1. d__1.MoveNext()at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)at Co3.Bloomingville.Website.Models.Frontend.Ecommerce.BloomingvilleProduct.get_LifeStyleImages() in C:\git\Bloomingville\Co3.Bloomingville.Website\Models\Frontend\Ecommerce\BloomingvilleProduct.cs:line 206at Co3.Bloomingville.Website.Models.Frontend.Ecommerce.BloomingvilleProduct.get_HoverImage() in C:\git\Bloomingville\Co3.Bloomingville.Website\Models\Frontend\Ecommerce\BloomingvilleProduct.cs:line 226at CompiledRazorTemplates.Dynamic.RazorEngine_6c96536a15b942f498b5d9f2edffdcb0.Execute() in E:\Dynamicweb.NET\Solutions\bloomingville.espresso4.dk\Files\Templates\Designs\bloomingville\ecom\productlist\partials\item.cshtml:line 31at RazorEngine.Templating.TemplateBase.RazorEngine.Templating.ITemplate.Run(ExecuteContext context, TextWriter reader)at RazorEngine.Templating.RazorEngineService.RunCompile(ITemplateKey key, TextWriter writer, Type modelType, Object model, DynamicViewBag viewBag)at RazorEngine.Templating.RazorEngineServiceExtensions.<>c__DisplayClass16_0. b__0(TextWriter writer)at RazorEngine.Templating.RazorEngineServiceExtensions.WithWriter(Action`1 withWriter)at Dynamicweb.Rendering.Template.RenderRazorTemplate() 1 @inherits ViewModelTemplate<Co3.Bloomingville.Website.Models.Frontend.Ecommerce.BloomingvilleProduct> 2 @using Co3.Espresso.Website.Models.FrontEnd.Ecommerce 3 @using Co3.Espresso.Website.Models.FrontEnd.Handlebars 4 @using Co3.Espresso.Website.Services 5 @using Dynamicweb.Ecommerce.CustomerCenter 6 @using Dynamicweb.Frontend 7 @using Dynamicweb.Rendering 8 @using Dynamicweb.Security.UserManagement 9 10 @{ 11 bool isUserAuthenticated = User.IsExtranetUserLoggedIn(); 12 } 13 14 <div class="e-productlist-item js-e-productlist-item js-e-productlist-item-@Model.Id mb-4" data-product-id="@Model.Id" data-variant-id="@Model.VariantId"> 15 <div class="e-productlist-item-container"> 16 <div class="e-productlist-item-image-container"> 17 18 <div class="position-absolute m-1" style="bottom: 0; right: 0"> 19 @if (Model.Found != null) 20 { 21 <img class="bloomingville-product-label-icon-authentic-founds" src="/Files/Templates/Designs/bloomingville/_assets/img/authentic-founds_icon.svg"/> 22 } 23 else if (Model.OekoTex != null) 24 { 25 <img class="bloomingville-product-label-icon-oekotex" src="/Files/Templates/Designs/bloomingville/_assets/img/oeko-tex-label.svg"/> 26 } 27 </div> 28 29 <a class="e-productlist-item-image-wrapper" href="@Model.Link"> 30 <img alt="@Model.Name" class="e-productlist-item-image p-2" src="@(Model.ImagePrimary?.Medium)"> 31 @if ( Model?.HoverImage.Any() == true ) 32 { 33 <img alt="@Model.Name" class="e-productlist-item-image e-productlist-item-image-hover" src="@ImageService.Instance.GetImageURL(Model.HoverImage.FirstOrDefault().Original, 480, 640)"> 34 } 35 else 36 { 37 if (Model.Images.Any() == true ) 38 { 39 <img alt="@Model.Name" class="e-productlist-item-image e-productlist-item-image-hover" src="@ImageService.Instance.GetImageURL(Model.Images.FirstOrDefault().Small, 480, 640)"> 40 } 41 } 42 </a> 43 </div> 44 @if (isUserAuthenticated) 45 { 46 @RenderingService.Instance.PartialView("ecom/product/partials/add-to-cart.cshtml", Model) 47 } 48 49 <div class="e-productlist-item-text-container small"> 50 @if (isUserAuthenticated != true) 51 { 52 <span class="mb-1"> </span> 53 } 54 <h4 class="float-left">@Model.Brand</h4> 55 @if (isUserAuthenticated) 56 { 57 <div class="small float-right d-flex justify-content-end bloomingville-delivery-info"> 58 @RenderingService.Instance.PartialView("ecom/product/partials/delivery-info.cshtml", Model) 59 </div> 60 } 61 62 <p class="e-productlist-item-name mb-0" style="clear: both;"> 63 <a href="@Model.Link">@Model.Name</a> 64 </p> 65 <p class="small mb-0">@Model.Number</p> 66 <p class="small mb-0" style="padding-top: 5px;">@Model.Description2</p> 67 68 @if (isUserAuthenticated) 69 { 70 <p class="e-product-price h3 mt-0" style="padding-top: 5px;"> 71 <span class="mr-1"> 72 @Model.Price.Format() 73 </span> 74 @if (Model.SuggestedRetailPrice.Value > Model.Price.Value) 75 { 76 <span class="text-muted" style="text-decoration: line-through;"> 77 @Model.SuggestedRetailPrice.Format() 78 </span> 79 } 80 </p> 81 82 <p class="e-product-price mt-0" style="padding-top: 5px;"> 83 <span class="d-block small text-muted">@Translate("eCom Product - Vejl. udsalgspris - Text")</span> 84 <span class="mr-1"> 85 @Model.WholesalePrice.Format() 86 </span> 87 </p> 88 89 IEnumerable<CustomerProductList> userFavoriteLists = CustomerProductList.GetAllProductLists(PageView.Current().User.ID); 90 string isInAnyList = userFavoriteLists.Any(fl => Model.IsInFavoriteList(fl.ID)) == true ? "isInAnyList" : ""; 91 92 <div class="bloomingville-addtolist-wrapper js-bloomingville-addtolist-wrapper @isInAnyList"> 93 <div class="dropdown js-e-productlist-favorite-list-container" data-product-id="@Model.Id" data-variant-id="@Model.VariantId"> 94 <span class="dropdown-toggle" data-toggle="dropdown"> 95 <span class="bloomingville-productlist-addtolist label-favorite"></span> 96 </span> 97 <div class="dropdown-menu dropdown-menu-left pt-0"> 98 @RenderingService.Instance.PartialView("ecom/productlist/partials/add-to-favorites.cshtml", Model) 99 </div>100 </div>101 </div>102 }103 else104 {105 <p class="e-product-price h3 mt-0" style="padding-top: 5px;">106 <span class="d-block small text-muted">@Translate("eCom Product - Vejl. udsalgspris - Text")</span>107 <span class="mr-1">108 @Model.WholesalePrice.Format()109 </span>110 </p>111 }112 </div>113 </div>114 </div>115
Furniture in Nordic design
Decorate the home with furniture in trendy Scandinavian design by Bloomingville. Explore the great assortment of sofas, coffee tables, dining tables and chairs, among many other.