Stäng Lundbergs bruker informasjonskapsler for å gjøre brukeropplevelsen din så bra som mulig. Ved å fortsette å bruke nettstedet aksepterer du bruk av informasjonskapsler. Les mer

träffar på produkter och träffar i kategorier .

Träffar på kategorier

Träffar på produkter

Inga träffar. Prova ett annat sökord.
Exception in template (Designs\Klondike\eCom/Productlist/M_ProductList.cshtml): System.NullReferenceException: Object reference not set to an instance of an object.
   at CompiledRazorTemplates.Dynamic.dbfaffaffdccaeaae.Execute()
   at RazorEngine.Templating.TemplateBase.RazorEngine.Templating.ITemplate.Run(ExecuteContext context)
   at RazorEngine.Razor.Parse[T](String razorTemplate, T model, String cacheName)
   at Dynamicweb.Rendering.Template.Output()
<section class="content-intro"> <div class="div-max1170-centered"> <div class="row"> <div class="col-sm-4 col-md-3 product-cat-img hidden-xs"> <img src="admin/public/getimage.ashx?Image=@GetString("Ecom:Group.LargeImage")&Format=jpg&Compression=90&Width=270&Height=200&altFmImage_path=/Files/Images/NoImageAvailable.png'" class="img-responsive"> </div> <div class="col-sm-8 col-md-9 product-cat-info"> <h1>@GetValue("Ecom:Group.Name")</h1> <b class="cat-count">@GetValue("Ecom:ProductList.PageProdCnt") @Translate("ProductlistText_Products", "PRODUKTER")</b> @{ <div class="group-documents" style="display:none;"> <h3 class="data-section-header">@Translate("Downloadable documents", "Nedladdningsbara dokument")</h3> @{ // Group documents var currentGroup = Dynamicweb.eCommerce.Products.Group.GetGroupByID(GetString("Ecom:Group.ID")); var ParentGroups = currentGroup.ParentGroups; bool topLevel = false; while (!topLevel) { topLevel = currentGroup.IsTopGroup; // Note to devs: field values are incomplete, part of the path is omitted, same in database. var groupDocumentValue = currentGroup.ProductGroupFieldValues[2].Value.ToString(); if (groupDocumentValue!= "") { int lastSlash = groupDocumentValue.LastIndexOf('/'); <a href="/Files/Images/@groupDocumentValue" target="_blank"> <i class="fa fa-file-text-o"></i> @groupDocumentValue.Substring(lastSlash + 1) </a> } if (!topLevel) { currentGroup = currentGroup.ParentGroups[0]; } } } <script type="text/javascript">$('.group-documents').has('a').show();</script> </div> } @if (!string.IsNullOrEmpty(@GetString("Ecom:Group.Description"))) { <div class="cat-description"> @GetString("Ecom:Group.Description") </div> } </div> </div> </div> </section> <div class="div-max1170-centered"> <div class="row"> <div class="col-sm-4 col-md-3 print-hide filter-wrapp"> <div class="list-group visible-xs"> <a href="#filterModal" class="list-group-item active" data-toggle="modal"> <h4 class="list-group-item-heading">@Translate("Filter", "Filtrera") <i class="icon-chevron-right pull-right"></i></h4> <p class="list-group-item-text">@Translate("Make selection of properties", "Gör urval på egenskaper")</p> </a> </div> <!-- Modal --> <div class="modal fade" id="filterModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="false"> <div class="modal-dialog"> <div class="modal-content"> <div class="modal-header"> <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button> <h4 class="modal-title">@Translate("Choose filter", "Välj filter")</h4> </div> <div class="modal-body modal-filter-control"></div> <div class="modal-footer"> <button type="button" class="btn btn-default" data-dismiss="modal">@Translate("Close", "Stäng")</button> </div> </div> <!-- /.modal-content --> </div> <!-- /.modal-dialog --> </div> <!-- /.modal --> <div class="hidden-xs"> <div class="row filter-control"> @GetValue("Ecom:Search.SearchBox") </div> </div> </div> <!-- End of the filter sidebar --> <div class="col-sm-8 col-md-9 productlist-wrapp"> <div class="row productlist-images fixed-height-boxes"> <!-- BEGIN List products --> @foreach (LoopItem i in GetLoop("Products")) { var imgsrc = "admin/public/getimage.ashx?Image=/Files/Images/produktbilder/" + @i.GetValue("Ecom:Product.Number") + "/" + @i.GetValue("Ecom:Product.Number") + ".jpg&Format=jpg&Compression=90&height=330&crop=0&altFmImage_path=/Files/Images/NoImageAvailable.png"; <div class="col-xs-6 col-md-4 col-lg-4"> <div class="thumbnail dropdown-info"> <a href="@i.GetValue("Ecom:Product.LinkGroup.Clean")"> <div class="display-img"> <img alt="@i.GetValue("Ecom:Product.Name")" data-original="@imgsrc" class="img-responsive lazy"> </div> <div class="display-name"> <div class="name-info"> <div class="itemName"> @using Dynamicweb.eCommerce.Products; @{ var productDisplayName = ""; if (!string.IsNullOrEmpty(@i.GetString("Ecom:Product:Field.Color"))) { productDisplayName = productDisplayName + "" + @i.GetString("Ecom:Product:Field.Color") + ", "; } if (!string.IsNullOrEmpty(@i.GetString("Ecom:Product:Field.ProductMaterial"))) { productDisplayName = productDisplayName + "" + @i.GetString("Ecom:Product:Field.ProductMaterial") + ", "; } if (!string.IsNullOrEmpty(@i.GetString("Ecom:Product:Field.Length"))) { productDisplayName = productDisplayName + "L" + @i.GetString("Ecom:Product:Field.Length") + "x"; } if (!string.IsNullOrEmpty(@i.GetString("Ecom:Product:Field.ProductWidth"))) { productDisplayName = productDisplayName + "B" + @i.GetString("Ecom:Product:Field.ProductWidth") + "x"; } if (!string.IsNullOrEmpty(@i.GetString("Ecom:Product:Field.ProducttHeight"))) { productDisplayName = productDisplayName + "H" + @i.GetString("Ecom:Product:Field.ProducttHeight") + "x"; } if (!string.IsNullOrEmpty(@i.GetString("Ecom:Product:Field.ProductDepth"))) { productDisplayName = productDisplayName + "D" + @i.GetString("Ecom:Product:Field.ProductDepth") + "x"; } if (!string.IsNullOrEmpty(@i.GetString("Ecom:Product:Field.Thickness"))) { productDisplayName = productDisplayName + "T" + @i.GetString("Ecom:Product:Field.Thickness") + "x"; } if (!string.IsNullOrEmpty(productDisplayName)) { productDisplayName = "<b>" + @i.GetString("Ecom:Product.Name") + "</b> " + productDisplayName; productDisplayName = productDisplayName.TrimEnd(); productDisplayName = productDisplayName.Remove(productDisplayName.Length - 1); } else { productDisplayName = @i.GetString("Ecom:Product.Name"); } } @productDisplayName </div> <div class="clearfix"> <div class="itemPrice pull-left" id='id_@i.GetValue("Ecom:Product.Number")'> @{ if (i.GetString("Ecom:Product.Price") != "0:-") { <b>@i.GetValue("Ecom:Product.Price.PriceWithVATFormatted")</b> } else { <p class="no-price">@Translate("No price", "Pris beroende på mått")</p> } } </div> <i class="fa fa-angle-right pull-right"></i> </div> </div> </div> </a> <div class="vis-hide caption productlist-caption"> <div class="input-group"> @{ @*var stock = 0; int.TryParse(i.GetString("Ecom:Product.Stock"), out stock); if (stock > 0) { <span class="input-group-btn"> <button type="button" class="btn btn-default avail-btn cart-tooltip btn-small" data-toggle="tooltip" data-placement="top" title="" data-original-title="@Translate("Productllist_InStock", "Finns i lager")"> <i class="fa fa-circle"></i> </button> </span> } else { <span class="input-group-btn"> <button type="button" class="btn btn-default avail-btn cart-tooltip btn-small" data-toggle="tooltip" data-placement="top" title="" data-original-title="Beställningsvara"> <i class="fa fa-circle not-available"></i> </button> </span> }*@ } @*<span class="input-group-btn"> <a href="/@i.GetValue("Ecom:Product.AddToFavorites")" class="btn btn-default avail-btn cart-tooltip btn-small" data-toggle="tooltip" data-placement="top" title="" data-original-title="Lägg till favorit"> <i class="fa fa-star"> </i> </a> </span>*@ <input type="number" class="form-control" id='antal_@i.GetValue("Ecom:Product.Number")' value="1"> @*<span class="input-group-btn"> <a class="btn btn-default btn-small btn-kind"> @Translate("Productlist_Piece", "styck") </a> </span>*@ <span class="input-group-btn"> <button id="btnBuy" class="btn btn-default pull-right" onclick="addToBasket(@i.GetValue("Ecom:Product:Page.ID"), '@i.GetValue("Ecom:Product.ID")' , '@i.GetValue("Ecom:Product.Number")', this);" type="button"> <span> <i class="fa fa-shopping-cart"></i> </span> </button> </span> </div> </div> </div> </div> } <!-- END List products --> </div> @* Fix for when the productpage does not contain a GroupID *@ @{ string nextpage_link = GetString("Ecom:ProductList.NextPage.Clean"); int PageNum = GetInteger("Ecom:ProductList.CurrentPage") + 1; if (nextpage_link.Contains("GroupID=&")) { nextpage_link = "/Default.aspx?ID=2&PageNum=" + PageNum; } } @if (GetString("Ecom:ProductList.NextPage.Clean") != "") { <div class="text-center"> <a href="@nextpage_link" class="nextpage-link"></a> <a class="btn btn-default btn-lg btn-loadmore"> <i class="fa fa-refresh fa-spin"></i> @Translate("Load more", "Ladda fler...") </a> </div> } </div> </div> </div>

Meny