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_83aabf2a24b54507b0862db1d1d83840.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

New newest product
New newest product

New newest product

£13.68 InStock
3535 Many in stock. 2-3 days delivery.
New newest product 2
New newest product 2

New newest product 2

£27.36 InStock
354 Many in stock. 2-3 days delivery.
Product with discount
Product with discount

Product with discount

001
£100.00 InStock
22 Many in stock. 2-3 days delivery.
Product with discount (buy 2)
Product with discount (buy 2)

Product with discount (buy 2)

002
£1,000.00 InStock
65735 Many in stock. 2-3 days delivery.
Newest product
Newest product

Newest product

1111111
£151.96 InStock
2344 Many in stock. 2-3 days delivery.
F-Si Carbon 3 Cross Country Bike MAINs
F-Si Carbon 3 Cross Country Bike MAINs

F-Si Carbon 3 Cross Country Bike MAINs

can001
F-Si Carbon 3 Cross Country Bike MAINs, Black

Variant Name

F-Si Carbon 3 Cross Country Bike MAINs, Black

Variant Price

£1,000.00

F-Si Carbon 3 Cross Country Bike MAINs, Green

Variant Name

F-Si Carbon 3 Cross Country Bike MAINs, Green

Variant Price

£1,000.00

F-Si Carbon 3 Cross Country Bike MAINs, Red

Variant Name

F-Si Carbon 3 Cross Country Bike MAINs, Red

Variant Price

£1,000.00

+1
£1,000.00 InStock
79525 Many in stock. 2-3 days delivery.
F-Si Carbon 4 Cross Country Bike MainUK
F-Si Carbon 4 Cross Country Bike MainUK

F-Si Carbon 4 Cross Country Bike MainUK

can002m
F-Si Carbon 4 Cross Country Bike MainUK, Black

Variant Name

F-Si Carbon 4 Cross Country Bike MainUK, Black

Variant Price

£382.85

F-Si Carbon 4 Cross Country Bike MainUK, Orange

Variant Name

F-Si Carbon 4 Cross Country Bike MainUK, Orange

Variant Price

£382.85

£382.85 InStock
2 Hurry! Limited stock! 2 weeks delivery.
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.
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.
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.
F-Si Carbon 3 Cross Country Bike Red
F-Si Carbon 3 Cross Country Bike Red

F-Si Carbon 3 Cross Country Bike Red

can001
F-Si Carbon 3 Cross Country Bike Red, Black

Variant Name

F-Si Carbon 3 Cross Country Bike Red, Black

Variant Price

£1,000.00

F-Si Carbon 3 Cross Country Bike Red, Green

Variant Name

F-Si Carbon 3 Cross Country Bike Red, Green

Variant Price

£1,000.00

F-Si Carbon 3 Cross Country Bike Red, Red

Variant Name

F-Si Carbon 3 Cross Country Bike Red, Red

Variant Price

£1,000.00

+1
£1,000.00 InStock
79525 Many in stock. 2-3 days delivery.
F-Si Carbon 3 Cross Country Bike black
F-Si Carbon 3 Cross Country Bike black

F-Si Carbon 3 Cross Country Bike black

can001
F-Si Carbon 3 Cross Country Bike black, Black

Variant Name

F-Si Carbon 3 Cross Country Bike black, Black

Variant Price

£1,000.00

F-Si Carbon 3 Cross Country Bike black, Green

Variant Name

F-Si Carbon 3 Cross Country Bike black, Green

Variant Price

£1,000.00

F-Si Carbon 3 Cross Country Bike black, Red

Variant Name

F-Si Carbon 3 Cross Country Bike black, Red

Variant Price

£1,000.00

+1
£1,000.00 InStock
79525 Many in stock. 2-3 days delivery.
F-Si Carbon 4 Cross Country Bike BlackUK
F-Si Carbon 4 Cross Country Bike BlackUK

F-Si Carbon 4 Cross Country Bike BlackUK

can002b
F-Si Carbon 4 Cross Country Bike BlackUK, Black

Variant Name

F-Si Carbon 4 Cross Country Bike BlackUK, Black

Variant Price

£382.85

F-Si Carbon 4 Cross Country Bike BlackUK, Orange

Variant Name

F-Si Carbon 4 Cross Country Bike BlackUK, Orange

Variant Price

£382.85

£382.85 InStock
1 Hurry! Limited stock! 2 weeks delivery.
F-Si Carbon 4 Cross Country Bike OrangeUK
F-Si Carbon 4 Cross Country Bike OrangeUK

F-Si Carbon 4 Cross Country Bike OrangeUK

can002
F-Si Carbon 4 Cross Country Bike OrangeUK, Black

Variant Name

F-Si Carbon 4 Cross Country Bike OrangeUK, Black

Variant Price

£382.85

F-Si Carbon 4 Cross Country Bike OrangeUK, Orange

Variant Name

F-Si Carbon 4 Cross Country Bike OrangeUK, Orange

Variant Price

£382.85

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

Habit 4 Trail Bike

can
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
996 Many in stock. 2-3 days delivery.
Habit 4 Trail Bike
Habit 4 Trail Bike

Habit 4 Trail Bike

can
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
997 Many in stock. 2-3 days delivery.
Habit 3 Trail Bike red
Habit 3 Trail Bike red

Habit 3 Trail Bike red

can
Habit 3 Trail Bike red, Red

Variant Name

Habit 3 Trail Bike red, Red

Variant Price

£451.24

£451.24 OutOfStock
Out of stock. 6 months delivery.
You will be contacted when the product is back in stock.
18 out of 89 products
Load more products
New newest product

New newest product

3535 Many in stock.

£13.68

3535 Many in stock.

£13.68
New newest product 2

New newest product 2

354 Many in stock.

£27.36

354 Many in stock.

£27.36
Product with discount

Product with discount

001

22 Many in stock.

£100.00

22 Many in stock.

£100.00
Product with discount (buy 2)

Product with discount (buy 2)

002

65735 Many in stock.

£1,000.00

65735 Many in stock.

£1,000.00
Newest product

Newest product

1111111

2344 Many in stock.

£151.96

2344 Many in stock.

£151.96
F-Si Carbon 3 Cross Country Bike MAINs

F-Si Carbon 3 Cross Country Bike MAINs

can001

79525 Many in stock.

  • Bike type: Mountain bike
£1,000.00

79525 Many in stock.

£1,000.00
F-Si Carbon 4 Cross Country Bike MainUK

F-Si Carbon 4 Cross Country Bike MainUK

can002m

2 Hurry! Limited stock!

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

2 Hurry! Limited stock!

£382.85
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
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
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
F-Si Carbon 3 Cross Country Bike Red

F-Si Carbon 3 Cross Country Bike Red (Red)

can001

79525 Many in stock.

  • Bike type: Mountain bike
£1,000.00

79525 Many in stock.

£1,000.00
F-Si Carbon 3 Cross Country Bike black

F-Si Carbon 3 Cross Country Bike black (Black)

can001

79525 Many in stock.

  • Bike type: Mountain bike
£1,000.00

79525 Many in stock.

£1,000.00
F-Si Carbon 4 Cross Country Bike BlackUK

F-Si Carbon 4 Cross Country Bike BlackUK (Black)

can002b

1 Hurry! Limited stock!

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

1 Hurry! Limited stock!

£382.85
F-Si Carbon 4 Cross Country Bike OrangeUK

F-Si Carbon 4 Cross Country Bike OrangeUK (Orange)

can002

1 Hurry! Limited stock!

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

1 Hurry! Limited stock!

£382.85
Habit 4 Trail Bike

Habit 4 Trail Bike (Blue)

can

996 Many in stock.

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

996 Many in stock.

£355.50
Habit 4 Trail Bike

Habit 4 Trail Bike (Green)

can

997 Many in stock.

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

997 Many in stock.

£355.50
Habit 3 Trail Bike red

Habit 3 Trail Bike red (Red)

can

Out of stock.

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

Out of stock.

£451.24
18 out of 89 products
Load more products
New newest product

New newest product

3535 Many in stock.

3535 Many in stock.

£13.68
New newest product 2

New newest product 2

354 Many in stock.

354 Many in stock.

£27.36
Product with discount

Product with discount

001

22 Many in stock.

22 Many in stock.

£100.00
Product with discount (buy 2)

Product with discount (buy 2)

002

65735 Many in stock.

65735 Many in stock.

£1,000.00
Newest product

Newest product

1111111

2344 Many in stock.

2344 Many in stock.

£151.96
F-Si Carbon 3 Cross Country Bike MAINs

F-Si Carbon 3 Cross Country Bike MAINs

can001

79525 Many in stock.

  • Bike type: mountain

79525 Many in stock.

£1,000.00
F-Si Carbon 4 Cross Country Bike MainUK

F-Si Carbon 4 Cross Country Bike MainUK

can002m

2 Hurry! Limited stock!

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

2 Hurry! Limited stock!

£382.85
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
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
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
F-Si Carbon 3 Cross Country Bike Red

F-Si Carbon 3 Cross Country Bike Red (Red)

can001

79525 Many in stock.

  • Bike type: mountain

79525 Many in stock.

£1,000.00
F-Si Carbon 3 Cross Country Bike black

F-Si Carbon 3 Cross Country Bike black (Black)

can001

79525 Many in stock.

  • Bike type: mountain

79525 Many in stock.

£1,000.00
F-Si Carbon 4 Cross Country Bike BlackUK

F-Si Carbon 4 Cross Country Bike BlackUK (Black)

can002b

1 Hurry! Limited stock!

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

1 Hurry! Limited stock!

£382.85
F-Si Carbon 4 Cross Country Bike OrangeUK

F-Si Carbon 4 Cross Country Bike OrangeUK (Orange)

can002

1 Hurry! Limited stock!

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

1 Hurry! Limited stock!

£382.85
Habit 4 Trail Bike

Habit 4 Trail Bike (Blue)

can

996 Many in stock.

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

996 Many in stock.

£355.50
Habit 4 Trail Bike

Habit 4 Trail Bike (Green)

can

997 Many in stock.

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

997 Many in stock.

£355.50
Habit 3 Trail Bike red

Habit 3 Trail Bike red (Red)

can

Out of stock.

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

Out of stock.

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