Fittings Adapters 6000PSI

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_c341dc77cb3e4aff9fe90a58a254f8a3.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)
   at Dynamicweb.Rendering.TemplateRenderingService.Render(Template template)
   at Dynamicweb.Rendering.Template.RenderRazorTemplate()

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
BSP Male/Male 6K

Series 5500

BSP Male/Male 6K

BSP Male/Male 6K

WP 6000PSI

ISO1179 / BS5200

BSP Male Tee 6K

Series 5530

BSP Male Tee 6K

BSP Male Tee 6K

WP 6000PSI

ISO1179 / BS5200

BSP Male/Male Elbow 90° 6K

Series 5590

BSP Male/Male Elbow 90°  6K

BSP Male/Male Elbow 90° 6K

WP 6000PSI

ISO1179 / BS5200

BSP Male/Male Bulkhead Union 6K

Series 5600

BSP Male/Male Bulkhead Union 6K

BSP Male/Male Bulkhead Union 6K

WP 6000PSI

ISO1179 / BS5200

BSP Male/Female Fixed 6K

Series 6100

BSP Male/Female Fixed 6K

BSP Male/Female Fixed 6K

WP 6000PSI

ISO1179 / BS5200

BSP Male/Female Swivel 6K

Series 6200

BSP Male/Female Swivel 6K

BSP Male/Female Swivel 6K

WP 6000PSI

ISO1179 / BS5200

BSP Male/Female Swivel 90° 6K

Series 6290

BSP Male/Female Swivel 90°  6K

BSP Male/Female Swivel 90° 6K

WP 6000PSI

ISO1179 / BS5200

BSP Female/Female Fixed 6K

Series 6300

BSP Female/Female Fixed 6K

BSP Female/Female Fixed 6K

WP 6000PSI

ISO1179

BSP Female Fixed Tee 6K

Series 6330

BSP Female Fixed Tee 6K

BSP Female Fixed Tee 6K

WP 6000PSI

ISO1179

BSP Female/Female Fixed Elbow 90° 6K

Series 6390

BSP Female/Female Fixed Elbow 90°  6K

BSP Female/Female Fixed Elbow 90° 6K

WP 6000PSI

ISO1179

BSP Female/Female Fixed Weld Collar 6K

Series 63W

BSP Female/Female Fixed Weld Collar 6K

BSP Female/Female Fixed Weld Collar 6K

WP 6000PSI

ISO1179

BSP Female/Female Swivel 6K

Series 6400

BSP Female/Female Swivel 6K

BSP Female/Female Swivel 6K

WP 6000PSI

ISO1179 / BS5200

BSP Female Swivel Tee 6K

Series 6430

BSP Female Swivel Tee 6K

BSP Female Swivel Tee 6K

WP 10000PSI

ISO1179 / BS5200

BSP Female/Female Swivel Elbow 90° 6K

Series 6490

BSP Female/Female Swivel Elbow 90°  6K

BSP Female/Female Swivel Elbow 90° 6K

WP 6000PSI

ISO1179 / BS5200

BSP Male/JIC Male 6K

Series 7100

BSP Male/JIC Male 6K

BSP Male/JIC Male 6K

WP 6000PSI

ISO1179 / BS5200 and ISO8434-2

BSP Male/JIC Female Swivel 6K

Series 7200

BSP Male/JIC Female Swivel 6K

BSP Male/JIC Female Swivel 6K

WP 6000PSI

ISO1179 / BS5200 and ISO8434-2

JIC Male/BSP Female Swivel 6K

Series 7300

JIC Male/BSP Female Swivel 6K

JIC Male/BSP Female Swivel 6K

WP 6000PSI

ISO 8434-2 and ISO1179 / BS5200

BSP Male/UN (SAE) Male 6K

Series 7500

BSP Male/UN (SAE) Male 6K

BSP Male/UN (SAE) Male 6K

WP 6000PSI

ISO1179 / BS5200 and ISO11926-2

BSP Male/NPT Male 6K

Series 7800

BSP Male/NPT Male 6K

BSP Male/NPT Male 6K

WP 6000PSI

ISO1179 / BS5200 and ANSI/ASME B1.20.1

BSP Male/NPT Female 6K

Series 7900

BSP Male/NPT Female 6K

BSP Male/NPT Female 6K

WP 6000PSI

ISO1179 / BS5200 and ANSI/ASME B1.20.1

NPT Male/BSP Female Fixed 6K

Series 8000

NPT Male/BSP Female Fixed 6K

NPT Male/BSP Female Fixed 6K

WP 6000PSI

ANSI/ASME B1.20.1 and ISO1179 / BS5200

JIC Male/JIC Male 6K

Series 8300

JIC Male/JIC Male 6K

JIC Male/JIC Male 6K

WP 6000PSI

ISO8434-2

JIC Male/JIC Male Bulkhead 6K

Series 8310

JIC Male/JIC Male Bulkhead 6K

JIC Male/JIC Male Bulkhead 6K

WP 6000PSI

ISO8434-2

JIC Male Tee 6K

Series 8330

JIC Male Tee 6K

JIC Male Tee 6K

WP 6000PSI

ISO8434-2

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