Nike, Inc. All rights reserved

--------------

Header 4 (H4)

Header 5 (H5)
Header 6 (H6)

Paragraph

Paragraph0

Paragraph1

50 years ago, we started building bikes. Now we're building a better world.

Error executing template "Designs/Swift-v2/Paragraph/Swift-v2_ProductListGroupPoster.cshtml"
System.NullReferenceException: Object reference not set to an instance of an object.
   at CompiledRazorTemplates.Dynamic.RazorEngine_d8175b2671b0422bb5d1f74b732bfc88.ExecuteAsync()
   at RazorEngine.Templating.TemplateBase.Run(ExecuteContext context, TextWriter reader)
   at RazorEngine.Templating.RazorEngineCore.RunTemplate(ICompiledTemplate template, TextWriter writer, Object model, DynamicViewBag viewBag)
   at RazorEngine.Templating.RazorEngineService.Run(ITemplateKey key, TextWriter writer, Type modelType, Object model, DynamicViewBag viewBag)
   at RazorEngine.Templating.DynamicWrapperService.Run(ITemplateKey key, TextWriter writer, Type modelType, Object model, DynamicViewBag viewBag)
   at RazorEngine.Templating.RazorEngineServiceExtensions.Run(IRazorEngineService service, String name, TextWriter writer, Type modelType, Object model, DynamicViewBag viewBag)
   at RazorEngine.Templating.RazorEngineServiceExtensions.<>c__DisplayClass23_0.<Run>b__0(TextWriter writer)
   at RazorEngine.Templating.RazorEngineServiceExtensions.WithWriter(Action`1 withWriter)
   at RazorEngine.Templating.RazorEngineServiceExtensions.Run(IRazorEngineService service, String name, Type modelType, Object model, DynamicViewBag viewBag)
   at Dynamicweb.Rendering.RazorTemplateRenderingProvider.Render(Template template) in /_/src/Application/Providers/Dynamicweb.Rendering.Providers.NetCore/Razor/RazorTemplateRenderingProvider.cs:line 68
   at Dynamicweb.Rendering.TemplateRenderingService.Render(Template template) in E:\agents\build02-dw10-1\_work\3\s\src\Core\Dynamicweb.Core\Rendering\TemplateRenderingService.cs:line 14
   at Dynamicweb.Rendering.Template.RenderRazorTemplate() in E:\agents\build02-dw10-1\_work\3\s\src\Core\Dynamicweb.Core\Rendering\Template.cs:line 866

1 @inherits Dynamicweb.Rendering.ViewModelTemplate<Dynamicweb.Frontend.ParagraphViewModel> 2 @using Dynamicweb.Frontend.Navigation 3 @using Dynamicweb.Ecommerce.ProductCatalog 4 @using Dynamicweb.Environment 5 @using Dynamicweb.Frontend 6 @using Dynamicweb.Core.Encoders 7 8 @{ 9 ProductListViewModel productList = null; 10 if (Dynamicweb.Context.Current.Items.Contains("ProductList")) 11 { 12 productList = (ProductListViewModel)Dynamicweb.Context.Current.Items["ProductList"]; 13 } 14 } 15 16 @if (productList is object) 17 { 18 string layout = Model.Item.GetRawValueString("Layout", "align-middle-center-text-center"); 19 string alignment = ""; 20 21 string searchParameter = Dynamicweb.Context.Current.Request.GetString("q"); 22 23 bool hideTitle = Model.Item.GetBoolean("HideGroupTitle"); 24 string titleFontSize = Model.Item.GetRawValueString("TitleFontSize", "display-4"); 25 26 string groupName = productList?.Group?.Name != null ? productList.Group.Name : ""; 27 string headerName = searchParameter != "" ? Translate("Search results for") + ": " + HtmlEncoder.HtmlEncode(searchParameter) : HtmlEncoder.HtmlEncode(groupName); 28 29 bool hideDescription = Model.Item.GetBoolean("HideGroupDescription"); 30 string groupDescription = productList?.Group?.Description != null ? productList.Group.Description : ""; 31 string descriptionFontSize = Model.Item.GetRawValueString("DescriptionFontSize", "fs-6"); 32 33 string groupImage = productList?.Group?.Assets != null ? productList.Group.Assets.FirstOrDefault(x => x.Name == "LargeImage").Value : ""; 34 if (groupImage.StartsWith("/") && !groupImage.StartsWith("/Files", StringComparison.OrdinalIgnoreCase)) 35 { 36 groupImage = $"/Files{groupImage}"; 37 } 38 39 string posterHeight = Model.Item.GetRawValueString("PosterHeight", ""); 40 posterHeight = posterHeight == "small" ? "min-vh-25" : posterHeight; 41 posterHeight = posterHeight == "medium" ? "min-vh-50" : posterHeight; 42 posterHeight = posterHeight == "large" ? "min-vh-75" : posterHeight; 43 44 string maxWidth = Model.Item.GetRawValueString("TextReadability", "max-width-on"); 45 maxWidth = maxWidth == "max-width-on" ? " mw-75ch" : maxWidth; 46 maxWidth = maxWidth == "max-width-off" ? "" : maxWidth; 47 48 if (!string.IsNullOrEmpty(groupImage)) 49 { 50 var parms = new Dictionary<string, object>(); 51 parms.Add("cssClass", "h-100 w-100"); 52 parms.Add("columns", Model.GridRowColumnCount); 53 54 switch (layout) 55 { 56 case "align-top-left-text-left": 57 alignment = "text-start justify-content-start align-items-start"; 58 break; 59 case "align-top-center-text-center": 60 alignment = "text-center justify-content-center align-items-start"; 61 break; 62 case "align-top-right-text-right": 63 alignment = "text-end justify-content-end align-items-start"; 64 break; 65 case "align-middle-left-text-left": 66 alignment = "text-start justify-content-start align-items-center"; 67 break; 68 case "align-middle-center-text-center": 69 alignment = "text-center justify-content-center align-items-center"; 70 break; 71 case "align-middle-right-text-right": 72 alignment = "text-end justify-content-end align-items-center"; 73 break; 74 case "align-bottom-left-text-left": 75 alignment = "text-start justify-content-start align-items-end"; 76 break; 77 case "align-bottom-center-text-center": 78 alignment = "text-center justify-content-center align-items-end"; 79 break; 80 case "align-bottom-right-text-right": 81 alignment = "text-end justify-content-end align-items-end"; 82 break; 83 } 84 85 <div class="position-relative h-100 @(posterHeight) item_@Model.Item.SystemName.ToLower()" data-dw-colorscheme="@Model.ColorScheme?.Id"> 86 @if (!string.IsNullOrEmpty(groupImage)) 87 { 88 string imageFilter = Model.Item.GetRawValueString("ImageFilter", ""); 89 imageFilter = imageFilter == "no-filter" ? "" : imageFilter; 90 imageFilter = imageFilter == "filter" ? " image-filter" : imageFilter; 91 92 <div class="position-absolute top-0 bottom-0 end-0 start-0@(imageFilter)"> 93 @RenderPartial("Components/Image.cshtml", new FileViewModel { Path = groupImage }, parms) 94 </div> 95 } 96 97 @if (!hideTitle || !hideDescription) 98 { 99 <div data-swift-container class="h-100"> 100 <div class="h-100 w-100 position-relative d-flex @(alignment)"> 101 <div class="@(maxWidth)"> 102 @if (!hideTitle) 103 { 104 <h1 class="@titleFontSize">@headerName</h1> 105 } 106 107 @if (!hideDescription && !string.IsNullOrEmpty(groupDescription)) 108 { 109 <div class="@descriptionFontSize mb-0-last-child"> 110 @groupDescription 111 </div> 112 } 113 </div> 114 </div> 115 </div> 116 } 117 118 </div> 119 } 120 else if (Pageview.IsVisualEditorMode) 121 { 122 <div class="alert alert-dark m-0" role="alert"> 123 <span>@Translate("Product group poster: The poster paragraph will be shown here, if any")</span> 124 </div> 125 } 126 } 127 else if (Pageview.IsVisualEditorMode) 128 { 129 <div class="alert alert-dark m-0" role="alert"> 130 <span>@Translate("Product group poster: The poster paragraph will be shown here, if any")</span> 131 </div> 132 } 133
Sort by
Brand
Gender
Composition
Cannondale Featherweight Jersey
Cannondale Featherweight Jersey

Cannondale Featherweight Jersey

$58.13 Out of stock
Out of stock
Type a number, or use the decrease or increase button to change the quantity
Performance Body-Secure Jersey
Performance Body-Secure Jersey
Full protection

Variant Name

Performance Body-Secure Jersey, Full protection

Variant Price

$98.84

Back protection

Variant Name

Performance Body-Secure Jersey, Back protection

Variant Price

$98.84

Regular fit

Variant Name

Performance Body-Secure Jersey, Regular fit

Variant Price

$98.84

Modern fit

Variant Name

Performance Body-Secure Jersey, Modern fit

Variant Price

$98.84

Slim fit

Variant Name

Performance Body-Secure Jersey, Slim fit

Variant Price

$98.84

Variant Name

Performance Body-Secure Jersey, Red

Variant Price

$98.84

Variant Name

Performance Body-Secure Jersey, Black

Variant Price

$98.84

Variant Name

Performance Body-Secure Jersey, Blue

Variant Price

$98.84

XS

Variant Name

Performance Body-Secure Jersey, XS

Variant Price

$98.84

S

Variant Name

Performance Body-Secure Jersey, S

Variant Price

$98.84

M

Variant Name

Performance Body-Secure Jersey, M

Variant Price

$98.84

L

Variant Name

Performance Body-Secure Jersey, L

Variant Price

$98.84

XL

Variant Name

Performance Body-Secure Jersey, XL

Variant Price

$98.84

+1

Performance Body-Secure Jersey

$98.84 Out of stock
Out of stock
Schwinn Evolution IC Sleeveless Jersey
Schwinn Evolution IC Sleeveless Jersey

Schwinn Evolution IC Sleeveless Jersey

$29.06 In stock
3557 In stock 2-3 days
Type a number, or use the decrease or increase button to change the quantity
Performance Classic Sleeveless Jersey US
Performance Classic Sleeveless Jersey US

Performance Classic Sleeveless Jersey US

$141.86 In stock
68 In stock
Type a number, or use the decrease or increase button to change the quantity
Terry Velocity Short Sleeve Jersey (MASTER)
Terry Velocity Short Sleeve Jersey (MASTER)

Variant Name

Terry Velocity Short Sleeve Jersey (MASTER), Red

Variant Price

$72.09

Variant Name

Terry Velocity Short Sleeve Jersey (MASTER), Green

Variant Price

$72.09

Variant Name

Terry Velocity Short Sleeve Jersey (MASTER), Blue

Variant Price

$72.09

XS

Variant Name

Terry Velocity Short Sleeve Jersey (MASTER), XS

Variant Price

$72.09

S

Variant Name

Terry Velocity Short Sleeve Jersey (MASTER), S

Variant Price

$72.09

M

Variant Name

Terry Velocity Short Sleeve Jersey (MASTER), M

Variant Price

$72.09

L

Variant Name

Terry Velocity Short Sleeve Jersey (MASTER), L

Variant Price

$72.09

XL

Variant Name

Terry Velocity Short Sleeve Jersey (MASTER), XL

Variant Price

$72.09

+1

Terry Velocity Short Sleeve Jersey (MASTER)

$60.00 - $72.09 In stock
30089 In stock
5 out of 5 products