Error executing template "Designs/kebe-e5/ecom/product/partials/kebe-product-header.cshtml"
System.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary.
at System.ThrowHelper.ThrowKeyNotFoundException()
at System.Collections.Generic.Dictionary`2.get_Item(TKey key)
at CompiledRazorTemplates.Dynamic.RazorEngine_fdc254eac8a2462cac891106b227a4ae.Execute() in E:\Dynamicweb.NET\Solutions\kebe.espresso4.dk\Files\Templates\Designs\kebe-e5\ecom\product\partials\kebe-product-header.cshtml:line 59
at 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.<RunCompile>b__0(TextWriter writer)
at RazorEngine.Templating.RazorEngineServiceExtensions.WithWriter(Action`1 withWriter)
at Dynamicweb.Rendering.RazorTemplateRenderingProvider.Render(Template template)
at Dynamicweb.Rendering.TemplateRenderingService.Render(Template template)
at Dynamicweb.Rendering.Template.RenderRazorTemplate()

1 @inherits ViewModelTemplate<Co3.Kebe.Website.Models.Ecommerce.KebeProduct> @using Co3.Espresso.Website.Models.FrontEnd @using Co3.Espresso.Website.Models.FrontEnd.Ecommerce @using Co3.Espresso.Website.Services @using Co3.Kebe.Website.Models.Ecommerce @using Dynamicweb.Core @using Dynamicweb.Frontend @using Dynamicweb.Security.UserManagement @using Dynamicweb.Rendering @using Namotion.Reflection @{ bool isUserAuthenticated = User.IsExtranetUserLoggedIn(); } <div class="col-12 d-flex kebe-form-container"> <h1 class="e-product-name js-e-product-name mb-0 float-left flex-grow-1"> @Model.Name </h1> <a style="opacity: 0.85" class="btn btn-secondary d-flex btn-sm bg-white border align-self-center" data-toggle="modal" href="#productPageEmailModal" role="button"> @ImageService.Instance.GetSvgMarkup("/Files/Images/icons/19-Emails/05-Envelopes/envelope.svg") <span class="ml-1">@Translate("eCom Product - Email customisation - Button", "Email customisation")</span> </a> @if (PageView.Current().Area.Item["EcommerceProductPageEmailForm"] != null) { <div class="modal fade" id="productPageEmailModal" tabindex="-1" role="dialog" aria-labelledby="productPageEmailModalLabel" aria-hidden="true"> <div class="modal-dialog" role="document"> <div class="modal-content"> <div class="modal-header"> <h5 class="modal-title" id="productPageEmailModalLabel">@Translate("eCom Product - Email customisation - Button", "Email customisation")</h5> <button type="button" class="close" data-dismiss="modal" aria-label="Close"> <span aria-hidden="true">&times;</span> </button> </div> <div class="modal-body justify-content-center d-flex py-6 flex-column align-self-center align-items-center"> <h2>@Translate("eCom Product - Email customisation - Text", "We'll send you an e-mail with this product.")</h2> @RenderParagraphContent(int.Parse(PageView.Current().Area.Item["EcommerceProductPageEmailForm"].ToString())) <p class="js-e-msg js-e-msg-success fade collapse text-success mx-auto m-0 mr-1"> @Translate("eCom Product - Form Submit Success - Text", "Du har modtaget en e-mail med dette produkt") </p> </div> </div> </div> </div> } </div> @if (!Model.Name.Contains("cushion")) { string variantDescription = string.Empty; KebeVariantOption kebeVariantOptionCover = (KebeVariantOption) Model.VariantGroups["Cover"].Options[Model.VariantGroups["Cover"].SelectedOptionId]; KebeVariantOption kebeVariantOptionBaseColor = (KebeVariantOption) Model.VariantGroups["StelFarve"].Options[Model.VariantGroups["StelFarve"].SelectedOptionId]; KebeVariantOption kebeVariantOptionBaseType = (KebeVariantOption) Model.VariantGroups["SokkelType"].Options[Model.VariantGroups["SokkelType"].SelectedOptionId]; variantDescription = string.Format("{0} · {1} · {2} · {3}", kebeVariantOptionCover.Kvalitet, kebeVariantOptionCover.Farve, kebeVariantOptionBaseType.Sokkeltype, kebeVariantOptionBaseColor.Stelfarve); <p class="col-12 col-md-auto mb-0 float-left mb-1 mb-lg-0 js-kebe-product-variant-description"> @variantDescription </p> } <p class="col-12 col-md-auto mb-0 ml-lg-auto"> W: <span class="js-kebe-product-width">@Model.Width</span> / D: <span class="js-kebe-product-depth">@Model.Depth</span> / H: <span class="js-kebe-product-height"> @if (Model.HeightStd != "0.0 cm") { @Model.HeightStd } else { @Model.Height } </span> </p> <hr class="border-0 col-12 m-0"/> <p class="col-12 col-md-auto mb-0 ml-lg-auto"> <a class="arrow-down" href="@Dynamicweb.Context.Current.Request.Url.PathAndQuery#specifications">@Translate("eCom Product - View More Specifications - Link", "View more specifications")</a> </p>

Customize product

Polster: 073045 - Club Royal/Braun

Richtpreis

Preis anfragen

Voraussichtliche Lieferzeit

6-8 weeks

Spezifikationen

Beschreibung

Produktname Nackenkissen
Produktnummer 011073045
Beschreibung der Produktgruppe Head pillow
Height 7.0 cm
die Tiefe 16.0 cm
Volumen 0,008
Width 41.0 cm

Stoff

Produktname Nackenkissen
Farbgruppe Braun
Farbe Braun
Stoffname Club Royal
Stoffname Leder
Anilin Semi-aniline
Dicke 1,6 - 1,8 mm
Lichtgeschwindigkeit 4
keyboard_arrow_up