All bikes

Error executing template "Designs/Swift/Paragraph/Swift_ProductListGroupImage.cshtml"
System.NullReferenceException: Object reference not set to an instance of an object.
   at CompiledRazorTemplates.Dynamic.RazorEngine_394f2154d62c467cb0be46b29e2171ac.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 99
   at Dynamicweb.Rendering.TemplateRenderingService.Render(Template template) in E:\A10\_w\2\s\src\Core\Dynamicweb.Core\Rendering\TemplateRenderingService.cs:line 21
   at Dynamicweb.Rendering.Template.RenderRazorTemplate() in E:\A10\_w\2\s\src\Core\Dynamicweb.Core\Rendering\Template.cs:line 749

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 7 @{ 8 ProductListViewModel productList = null; 9 if (Dynamicweb.Context.Current.Items.Contains("ProductList")) 10 { 11 productList = (ProductListViewModel)Dynamicweb.Context.Current.Items["ProductList"]; 12 } 13 else if (Pageview.Page.Item["DummyProductGroup"] != null && Pageview.IsVisualEditorMode) 14 { 15 var pageViewModel = Dynamicweb.Frontend.ContentViewModelFactory.CreatePageInfoViewModel(Pageview.Page); 16 ProductListViewModel groupList = pageViewModel.Item.GetValue("DummyProduct") != null ? pageViewModel.Item.GetValue("DummyProduct") as ProductListViewModel : new ProductListViewModel(); 17 18 if (groupList?.Products is object) 19 { 20 productList = groupList; 21 } 22 } 23 } 24 25 @if (productList is object) { 26 string groupImage = productList?.Group?.Assets != null ? productList.Group.Assets.FirstOrDefault(x => x.Name == "LargeImage").Value : string.Empty; 27 if (groupImage.StartsWith("/") && !groupImage.StartsWith("/Files", StringComparison.OrdinalIgnoreCase)) 28 { 29 groupImage = $"/Files{groupImage}"; 30 } 31 32 string groupName = productList?.Group?.Name != null ? productList.Group.Name : string.Empty; 33 34 string ratio = Model.Item.GetRawValueString("ImageAspectRatio", string.Empty); 35 ratio = ratio != "0" ? ratio : string.Empty; 36 string ratioCssClass = ratio != string.Empty && ratio != "fill" ? " ratio" : string.Empty; 37 string ratioVariable = ratio != string.Empty ? "style=\"--bs-aspect-ratio: " + ratio + "\"" : string.Empty; 38 string fillClass = ratio == "fill" ? " h-100" : ""; 39 40 var parms = new Dictionary<string, object>(); 41 parms.Add("loading", "lazy"); 42 parms.Add("columns", Model.GridRowColumnCount); 43 44 if (ratio == "fill") { 45 parms.Add("cssClass", "w-100 h-100"); 46 } 47 else 48 { 49 parms.Add("cssClass", "mw-100 mh-100"); 50 } 51 52 parms.Add("style", string.Empty); 53 parms.Add("alt", groupName); 54 55 if (!string.IsNullOrEmpty(groupImage)) { 56 <div class="item_@Model.Item.SystemName.ToLower()"> 57 <figure class="m-0@(ratioCssClass)@(fillClass)" @ratioVariable> 58 @RenderPartial("Components/Image.cshtml", new FileViewModel { Path = groupImage }, parms) 59 </figure> 60 </div> 61 } else if (Pageview.IsVisualEditorMode) { 62 <div class="alert alert-dark m-0" role="alert"> 63 <span>@Translate("Product list group image: The image will be shown here, if any")</span> 64 </div> 65 } 66 } else if (Pageview.IsVisualEditorMode) 67 { 68 <div class="alert alert-dark m-0" role="alert"> 69 <span>@Translate("Product list group image: The image will be shown here, if any")</span> 70 </div> 71 } 72 73

Gender

Color

Gear

Populære produkter

Émonda SL 5 Disc Bike
Émonda SL 5 Disc Bike

Émonda SL 5 Disc Bike

trek013
Émonda SL 5 Disc Bike, Blue

Variant Name

Émonda SL 5 Disc Bike, Blue

Variant Price

£0.00

Émonda SL 5 Disc Bike, Grey

Variant Name

Émonda SL 5 Disc Bike, Grey

Variant Price

£0.00

£0.00 InStock
2000 Many in stock. 2-3 days delivery.
Top Fuel Women's 9.9 XX1 AXS MAIN
Top Fuel Women's 9.9 XX1 AXS MAIN

Top Fuel Women's 9.9 XX1 AXS MAIN

trek008
Top Fuel Women's 9.9 XX1 AXS MAIN, Black

Variant Name

Top Fuel Women's 9.9 XX1 AXS MAIN, Black

Variant Price

£0.00

Top Fuel Women's 9.9 XX1 AXS MAIN, Red

Variant Name

Top Fuel Women's 9.9 XX1 AXS MAIN, Red

Variant Price

£0.00

£0.00 InStock
1998 Many in stock. 2-3 days delivery.
Habit Neo 2 Bike x
Habit Neo 2 Bike x

Habit Neo 2 Bike x

can006
Habit Neo 2 Bike x, Grey

Variant Name

Habit Neo 2 Bike x, Grey

Variant Price

£861.59

Habit Neo 2 Bike x, Red

Variant Name

Habit Neo 2 Bike x, Red

Variant Price

£861.59

£861.59 InStock
1973 Many in stock. 2-3 days delivery.
Domane Women's SL 6 MAIN
Domane Women's SL 6 MAIN

Domane Women's SL 6 MAIN

trek0077
Domane Women's SL 6 MAIN, Black

Variant Name

Domane Women's SL 6 MAIN, Black

Variant Price

£578.72

Domane Women's SL 6 MAIN, Purple

Variant Name

Domane Women's SL 6 MAIN, Purple

Variant Price

£578.72

Domane Women's SL 6 MAIN, Red

Variant Name

Domane Women's SL 6 MAIN, Red

Variant Price

£578.72

£578.72 InStock
3000 Many in stock. 2-3 days delivery.
Hi-MOD Women's Ultegra Di2 Bike
Hi-MOD Women's Ultegra Di2 Bike

Hi-MOD Women's Ultegra Di2 Bike

can011
Hi-MOD Women's Ultegra Di2 Bike, Pink

Variant Name

Hi-MOD Women's Ultegra Di2 Bike, Pink

Variant Price

£0.00

£0.00 OutOfStock
Out of stock. 6 months delivery.
You will be contacted when the product is back in stock.
Wahoo 24 Girl Bike MAIN
Wahoo 24 Girl Bike MAIN

Wahoo 24 Girl Bike MAIN

trek006
Wahoo 24 Girl Bike MAIN, Grey

Variant Name

Wahoo 24 Girl Bike MAIN, Grey

Variant Price

£76.87

Wahoo 24 Girl Bike MAIN, Purple

Variant Name

Wahoo 24 Girl Bike MAIN, Purple

Variant Price

£76.87

Wahoo 24 Girl Bike MAIN, Red

Variant Name

Wahoo 24 Girl Bike MAIN, Red

Variant Price

£76.87

£76.87 InStock
3000 Many in stock. 2-3 days delivery.
Wahoo 24 Boy Bike
Wahoo 24 Boy Bike

Wahoo 24 Boy Bike

trek016
Wahoo 24 Boy Bike, Blue

Variant Name

Wahoo 24 Boy Bike, Blue

Variant Price

£76.87

£76.87 InStock
1000 Many in stock. 2-3 days delivery.
Specialized Parts List road bike variant
Specialized Parts List road bike variant

Specialized Parts List road bike variant

spe002
Specialized Parts List road bike variant, Black

Variant Name

Specialized Parts List road bike variant, Black

Variant Price

£136.78

Specialized Parts List road bike variant, Red

Variant Name

Specialized Parts List road bike variant, Red

Variant Price

£136.78

£136.78 OutOfStock
Habit 3 Trail Bike MAIN
Habit 3 Trail Bike MAIN

Habit 3 Trail Bike MAIN

can003
Habit 3 Trail Bike MAIN, Red

Variant Name

Habit 3 Trail Bike MAIN, Red

Variant Price

£451.24

£451.24 InStock
1 Hurry! Limited stock! 2 weeks delivery.
Habit 4 Trail Bike
Habit 4 Trail Bike

Habit 4 Trail Bike

can004
Habit 4 Trail Bike, Blue

Variant Name

Habit 4 Trail Bike, Blue

Variant Price

£355.50

Habit 4 Trail Bike, Green

Variant Name

Habit 4 Trail Bike, Green

Variant Price

£355.50

£355.50 InStock
1993 Many in stock. 2-3 days delivery.
Trail Neo S Mountain Bike
Trail Neo S Mountain Bike

Trail Neo S Mountain Bike

can008
Trail Neo S Mountain Bike , Green

Variant Name

Trail Neo S Mountain Bike , Green

Variant Price

£519.63

£519.63 InStock
996 Many in stock. 2-3 days delivery.
Townie Path Go! 10D EQ Step-Thru
Townie Path Go! 10D EQ Step-Thru

Townie Path Go! 10D EQ Step-Thru

Townie Path Go! 10D EQ Step-Thru, Green

Variant Name

Townie Path Go! 10D EQ Step-Thru, Green

Variant Price

£136.78

Townie Path Go! 10D EQ Step-Thru, Grey

Variant Name

Townie Path Go! 10D EQ Step-Thru, Grey

Variant Price

£136.78

£136.78 InStock
567655 Many in stock. 2-3 days delivery.
Habit 5 Full Suspension Mountain Bike
Habit 5 Full Suspension Mountain Bike

Habit 5 Full Suspension Mountain Bike

can005
Habit 5 Full Suspension Mountain Bike, Black

Variant Name

Habit 5 Full Suspension Mountain Bike, Black

Variant Price

£300.78

£300.78 InStock
997 Many in stock. 2-3 days delivery.
Supercaliber 9.7 Bike
Supercaliber 9.7 Bike

Supercaliber 9.7 Bike

trek003
Supercaliber 9.7 Bike, Black

Variant Name

Supercaliber 9.7 Bike, Black

Variant Price

£547.13

Supercaliber 9.7 Bike, Green

Variant Name

Supercaliber 9.7 Bike, Green

Variant Price

£547.13

Supercaliber 9.7 Bike, Red

Variant Name

Supercaliber 9.7 Bike, Red

Variant Price

£547.13

£547.13 InStock
2995 Many in stock. 2-3 days delivery.
Specialized Parts List road bike custom (not in stock anymore)
Specialized Parts List road bike custom (not in stock anymore)

Specialized Parts List road bike custom (not in stock anymore)

spe003
£136.78 OutOfStock
Precaliber 20 7-speed Bike
Precaliber 20 7-speed Bike

Precaliber 20 7-speed Bike

trek005
Precaliber 20 7-speed Bike, Black

Variant Name

Precaliber 20 7-speed Bike, Black

Variant Price

£52.66

Precaliber 20 7-speed Bike, Blue

Variant Name

Precaliber 20 7-speed Bike, Blue

Variant Price

£52.66

£52.66 InStock
1999 Many in stock. 2-3 days delivery.
16 out of 36 products
Load more products
Émonda SL 5 Disc Bike

Émonda SL 5 Disc Bike

trek013

2000 Many in stock.

  • Bike type: Road bike
  • Gender: Unisex
  • Wheel size: 28"
£0.00

2000 Many in stock.

£0.00
Top Fuel Women's 9.9 XX1 AXS MAIN

Top Fuel Women's 9.9 XX1 AXS MAIN

trek008

1998 Many in stock.

  • Bike type: Mountain bike
  • Gender: Women
  • Wheel size: 29"
£0.00

1998 Many in stock.

£0.00
Habit Neo 2 Bike x

Habit Neo 2 Bike x

can006

1973 Many in stock.

  • Bike type: Mountain bike, Electric bike
  • Gender: Unisex
  • Wheel size: 29"
£861.59

1973 Many in stock.

£861.59
Domane Women's SL 6 MAIN

Domane Women's SL 6 MAIN

trek0077

3000 Many in stock.

  • Bike type: Road bike
  • Gender: Women
  • Wheel size: 28"
£578.72

3000 Many in stock.

£578.72
Hi-MOD Women's Ultegra Di2 Bike

Hi-MOD Women's Ultegra Di2 Bike

can011

Out of stock.

  • Bike type: Road bike
  • Gender: Women
  • Wheel size: 700c
£0.00

Out of stock.

£0.00
Wahoo 24 Girl Bike MAIN

Wahoo 24 Girl Bike MAIN

trek006

3000 Many in stock.

  • Bike type: Mountain bike
  • Gender: Girls
  • Wheel size: 24"
£76.87

3000 Many in stock.

£76.87
Wahoo 24 Boy Bike

Wahoo 24 Boy Bike

trek016

1000 Many in stock.

  • Bike type: Mountain bike
  • Gender: Boys
  • Wheel size: 24"
£76.87

1000 Many in stock.

£76.87
Specialized Parts List road bike variant

Specialized Parts List road bike variant

spe002

Out of stock.

  • Bike type: Mountain bike
  • Gender: Women
  • Wheel size: 29"
£136.78

Out of stock.

£136.78
Habit 3 Trail Bike MAIN

Habit 3 Trail Bike MAIN

can003

1 Hurry! Limited stock!

  • Bike type: Mountain bike
  • Gender: Men
  • Wheel size: 29"
£451.24

1 Hurry! Limited stock!

£451.24
Habit 4 Trail Bike

Habit 4 Trail Bike

can004

1993 Many in stock.

  • Bike type: Mountain bike
  • Gender: Men
  • Wheel size: 29"
£355.50

1993 Many in stock.

£355.50
Trail Neo S Mountain Bike

Trail Neo S Mountain Bike

can008

996 Many in stock.

  • Bike type: Mountain bike
  • Gender: Men
  • Wheel size: 29"
£519.63

996 Many in stock.

£519.63
Townie Path Go! 10D EQ Step-Thru

Townie Path Go! 10D EQ Step-Thru

567655 Many in stock.

  • Bike type: Electric bike
  • Gender: Unisex
  • Wheel size: 27,5"
£136.78

567655 Many in stock.

£136.78
Habit 5 Full Suspension Mountain Bike

Habit 5 Full Suspension Mountain Bike

can005

997 Many in stock.

  • Bike type: Mountain bike
  • Gender: Unisex
  • Wheel size: 29"
£300.78

997 Many in stock.

£300.78
Supercaliber 9.7 Bike

Supercaliber 9.7 Bike

trek003

2995 Many in stock.

  • Bike type: Mountain bike
  • Gender: Unisex
  • Wheel size: 29"
£547.13

2995 Many in stock.

£547.13
Specialized Parts List road bike custom (not in stock anymore)

Specialized Parts List road bike custom (not in stock anymore)

spe003

Out of stock.

  • Bike type: Mountain bike
  • Gender: Unisex
  • Wheel size: 29"
£136.78

Out of stock.

£136.78
Precaliber 20 7-speed Bike

Precaliber 20 7-speed Bike

trek005

1999 Many in stock.

  • Bike type: Mountain bike
  • Gender: Boys
  • Wheel size: 20"
£52.66

1999 Many in stock.

£52.66
16 out of 36 products
Load more products
Émonda SL 5 Disc Bike

Émonda SL 5 Disc Bike

trek013

2000 Many in stock.

  • Bike type: roadbike
  • Gender: unisex
  • Wheel size: 28

2000 Many in stock.

£0.00
Top Fuel Women's 9.9 XX1 AXS MAIN

Top Fuel Women's 9.9 XX1 AXS MAIN

trek008

1998 Many in stock.

  • Bike type: mountain
  • Gender: women
  • Wheel size: 29

1998 Many in stock.

£0.00
Habit Neo 2 Bike x

Habit Neo 2 Bike x

can006

1973 Many in stock.

  • Bike type: mountain, electric
  • Gender: unisex
  • Wheel size: 29

1973 Many in stock.

£861.59
Domane Women's SL 6 MAIN

Domane Women's SL 6 MAIN

trek0077

3000 Many in stock.

  • Bike type: roadbike
  • Gender: women
  • Wheel size: 28

3000 Many in stock.

£578.72
Hi-MOD Women's Ultegra Di2 Bike

Hi-MOD Women's Ultegra Di2 Bike

can011

Out of stock.

  • Bike type: roadbike
  • Gender: women
  • Wheel size: 700

Out of stock.

£0.00
Wahoo 24 Girl Bike MAIN

Wahoo 24 Girl Bike MAIN

trek006

3000 Many in stock.

  • Bike type: mountain
  • Gender: girls
  • Wheel size: 24

3000 Many in stock.

£76.87
Wahoo 24 Boy Bike

Wahoo 24 Boy Bike

trek016

1000 Many in stock.

  • Bike type: mountain
  • Gender: boys
  • Wheel size: 24

1000 Many in stock.

£76.87
Specialized Parts List road bike variant

Specialized Parts List road bike variant

spe002

Out of stock.

  • Bike type: mountain
  • Gender: women
  • Wheel size: 29

Out of stock.

£136.78
Habit 3 Trail Bike MAIN

Habit 3 Trail Bike MAIN

can003

1 Hurry! Limited stock!

  • Bike type: mountain
  • Gender: men
  • Wheel size: 29

1 Hurry! Limited stock!

£451.24
Habit 4 Trail Bike

Habit 4 Trail Bike

can004

1993 Many in stock.

  • Bike type: mountain
  • Gender: men
  • Wheel size: 29

1993 Many in stock.

£355.50
Trail Neo S Mountain Bike

Trail Neo S Mountain Bike

can008

996 Many in stock.

  • Bike type: mountain
  • Gender: men
  • Wheel size: 29

996 Many in stock.

£519.63
Townie Path Go! 10D EQ Step-Thru

Townie Path Go! 10D EQ Step-Thru

567655 Many in stock.

  • Bike type: electric
  • Gender: unisex
  • Wheel size: 27.5

567655 Many in stock.

£136.78
Habit 5 Full Suspension Mountain Bike

Habit 5 Full Suspension Mountain Bike

can005

997 Many in stock.

  • Bike type: mountain
  • Gender: unisex
  • Wheel size: 29

997 Many in stock.

£300.78
Supercaliber 9.7 Bike

Supercaliber 9.7 Bike

trek003

2995 Many in stock.

  • Bike type: mountain
  • Gender: unisex
  • Wheel size: 29

2995 Many in stock.

£547.13
Specialized Parts List road bike custom (not in stock anymore)

Specialized Parts List road bike custom (not in stock anymore)

spe003

Out of stock.

  • Bike type: mountain
  • Gender: unisex
  • Wheel size: 29

Out of stock.

£136.78
Precaliber 20 7-speed Bike

Precaliber 20 7-speed Bike

trek005

1999 Many in stock.

  • Bike type: mountain
  • Gender: boys
  • Wheel size: 20

1999 Many in stock.

£52.66
16 out of 36 products
Load more products
16 out of 36 products
Load more products
By clicking 'Accept All' you consent that we may collect information about you for various purposes, including: Statistics and Marketing