HAGS Connect

A brief block of introductory copy about HAGS Connect.

HAGS Connect Login
My Product Collection

To add a product simply click on Add to my collection on any product page. Once you have added products to a collection you will be able to print a product catalogue, download installation guides, images and DWG files or request a quote.

Autumn Campaign 2024

The leaves are changing, the air is getting crisp, and our autumn campaign is in full swing! 

It's more important than ever to create healthy outdoor environments where everyone can play, meet, exercise, and socialize. Our brand promise, "Inspiring All Generations" reflects our deep care and commitment to sustainability. In our mission to create active and sustainable outdoor spaces, we aim to manufacture and deliver products in the most gentle and responsible way possible, benefiting both people and the environment throughout the entire process. Our planet demands that we take strong action—together.

The campaign is valid until December 20, 2024, with delivery no later than March 31, 2025. Campaign prices cannot be combined with other discounts. Prices shown are only valid in your country. 

Playground Equipment

UniMini

Error executing template "/Designs/Hags2024/Paragraph/h24-manual-product-list-campaigns-2.cshtml"
System.Xml.XmlException: There are multiple root elements. Line 1, position 43.
   at System.Xml.XmlTextReaderImpl.Throw(Exception e)
   at System.Xml.XmlTextReaderImpl.Throw(String res, String arg)
   at System.Xml.XmlTextReaderImpl.ParseDocumentContent()
   at System.Xml.XmlTextReaderImpl.Read()
   at System.Xml.XmlLoader.LoadDocSequence(XmlDocument parentDoc)
   at System.Xml.XmlLoader.Load(XmlDocument doc, XmlReader reader, Boolean preserveWhitespace)
   at System.Xml.XmlDocument.Load(XmlReader reader)
   at System.Xml.XmlDocument.LoadXml(String xml)
   at Dynamicweb.Modules.Properties.LoadProperty(String xml, Boolean merge)
   at Dynamicweb.Modules.Properties.GetParagraphModuleSettings(Int32 pageId, String paragraphModuleSystemName)
   at HagsWeb.Library.Utilities.DWUtilities.GetProductUrl(Product product, Int32 areaId)
   at CompiledRazorTemplates.Dynamic.RazorEngine_897a9c1fa115483cb4a3d232bc530f70.Execute() in B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\Paragraph\h24-manual-product-list-campaigns-2.cshtml:line 45
   at RazorEngine.Templating.TemplateBase.RazorEngine.Templating.ITemplate.Run(ExecuteContext context, TextWriter reader)
   at RazorEngine.Templating.RazorEngineCore.RunTemplate(ICompiledTemplate template, TextWriter writer, Object model, DynamicViewBag viewBag)
   at RazorEngine.Templating.RazorEngineService.RunCompile(ITemplateKey key, TextWriter writer, Type modelType, Object model, DynamicViewBag viewBag)
   at RazorEngine.Templating.DynamicWrapperService.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 RazorEngine.Templating.RazorEngineServiceExtensions.RunCompile(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 2 @using Dynamicweb.Ecommerce.Products; 3 4 @{ 5 Dynamicweb.Content.Area area = new Dynamicweb.Content.AreaService().GetArea(Dynamicweb.Frontend.PageView.Current().AreaID); 6 string itemHeading = @GetString("Item.Heading"); 7 string itemContent = @GetString("Item.Content"); 8 string mainImage = @GetString("Item.Main_Image"); 9 string designBaseUrl = GetString("Template:DesignBaseUrl"); 10 11 string ipCountryCode = HagsWeb.Library.Services.IPService.IPCheck.CountryCode().ToLower(); 12 } 13 14 <section class="products-listing"> 15 <div class="wrapper flow"> 16 17 @if (itemHeading != "") 18 { 19 <div class="center-copy flow"> 20 <h3>@itemHeading</h3> 21 22 @itemContent 23 24 </div> 25 } 26 27 <div class="products-listing__grid"> 28 29 @foreach (var product in GetLoop("Item.Product_List")) 30 { 31 string imageUrl = string.Empty; 32 string productUrl = string.Empty; 33 string itemProductId = product.GetString("Ecom:Product.ID"); 34 string itemProductNumber = product.GetString("Ecom:Product.Number"); 35 string itemProductLink = product.GetString("Ecom:Product.Link.Clean"); 36 string itemProductGroupId = product.GetString("Ecom:Product.LinkGroup.Clean"); 37 string itemShopContext = product.GetString("Ecom:Product.LinkGroupShopContext.Clean"); 38 string itemCanonical = product.GetString("Ecom:Product.Canonical"); 39 40 41 Product prod = new ProductService().GetProductById(product.GetString("Ecom:Product.ID"), product.GetString("Ecom:Product.VariantID"), area.EcomLanguageId); 42 43 if (prod != null) 44 { 45 productUrl = HagsWeb.Library.Utilities.DWUtilities.GetProductUrl(prod, area.ID); 46 imageUrl = HagsWeb.Library.Utilities.DWUtilities.GetSingleProductImageUrl(prod); 47 } 48 49 50 <div class="product-card"> 51 52 <div class="product-card__img-silo"> 53 @if (!string.IsNullOrEmpty(imageUrl)) 54 { 55 <a href="@productUrl"><img src="@imageUrl" class="product-card__img"></a> 56 57 } 58 else 59 { 60 <a href="@productUrl" class="product-card__missing"> 61 <img src="@(designBaseUrl)assets/img/h24-see-saw.svg"> 62 <span>No Image Available</span> 63 </a> 64 } 65 </div> 66 67 <div class="product-card__copy"> 68 <p class="product-card__heading"><a href="@productUrl">@product.GetString("Ecom:Product.Name")</a></p> 69 <p class="product-card__code">@product.GetString("Ecom:Product.Number")</p> 70 <p class="product-card__listprice">List Price: <span>Autumn-2024-List-@itemProductNumber</span></p> 71 <p class="product-card__offerprice @itemProductNumber">Autumn Offer Price: <span>Autumn-2024-Offer-@itemProductNumber</span></p> 72 <p class="product-card__exactpricing">For exact pricing and offers in your region, please contact your local HAGS sales representative.</p> 73 </div> 74 </div> 75 76 } 77 78 </div> 79 </div> 80 </section> 81 82

UniPlay

Error executing template "/Designs/Hags2024/Paragraph/h24-manual-product-list-campaigns-2.cshtml"
System.Xml.XmlException: There are multiple root elements. Line 1, position 43.
   at System.Xml.XmlTextReaderImpl.Throw(Exception e)
   at System.Xml.XmlTextReaderImpl.Throw(String res, String arg)
   at System.Xml.XmlTextReaderImpl.ParseDocumentContent()
   at System.Xml.XmlTextReaderImpl.Read()
   at System.Xml.XmlLoader.LoadDocSequence(XmlDocument parentDoc)
   at System.Xml.XmlLoader.Load(XmlDocument doc, XmlReader reader, Boolean preserveWhitespace)
   at System.Xml.XmlDocument.Load(XmlReader reader)
   at System.Xml.XmlDocument.LoadXml(String xml)
   at Dynamicweb.Modules.Properties.LoadProperty(String xml, Boolean merge)
   at Dynamicweb.Modules.Properties.GetParagraphModuleSettings(Int32 pageId, String paragraphModuleSystemName)
   at HagsWeb.Library.Utilities.DWUtilities.GetProductUrl(Product product, Int32 areaId)
   at CompiledRazorTemplates.Dynamic.RazorEngine_897a9c1fa115483cb4a3d232bc530f70.Execute() in B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\Paragraph\h24-manual-product-list-campaigns-2.cshtml:line 45
   at RazorEngine.Templating.TemplateBase.RazorEngine.Templating.ITemplate.Run(ExecuteContext context, TextWriter reader)
   at RazorEngine.Templating.RazorEngineCore.RunTemplate(ICompiledTemplate template, TextWriter writer, Object model, DynamicViewBag viewBag)
   at RazorEngine.Templating.RazorEngineService.RunCompile(ITemplateKey key, TextWriter writer, Type modelType, Object model, DynamicViewBag viewBag)
   at RazorEngine.Templating.DynamicWrapperService.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 RazorEngine.Templating.RazorEngineServiceExtensions.RunCompile(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 2 @using Dynamicweb.Ecommerce.Products; 3 4 @{ 5 Dynamicweb.Content.Area area = new Dynamicweb.Content.AreaService().GetArea(Dynamicweb.Frontend.PageView.Current().AreaID); 6 string itemHeading = @GetString("Item.Heading"); 7 string itemContent = @GetString("Item.Content"); 8 string mainImage = @GetString("Item.Main_Image"); 9 string designBaseUrl = GetString("Template:DesignBaseUrl"); 10 11 string ipCountryCode = HagsWeb.Library.Services.IPService.IPCheck.CountryCode().ToLower(); 12 } 13 14 <section class="products-listing"> 15 <div class="wrapper flow"> 16 17 @if (itemHeading != "") 18 { 19 <div class="center-copy flow"> 20 <h3>@itemHeading</h3> 21 22 @itemContent 23 24 </div> 25 } 26 27 <div class="products-listing__grid"> 28 29 @foreach (var product in GetLoop("Item.Product_List")) 30 { 31 string imageUrl = string.Empty; 32 string productUrl = string.Empty; 33 string itemProductId = product.GetString("Ecom:Product.ID"); 34 string itemProductNumber = product.GetString("Ecom:Product.Number"); 35 string itemProductLink = product.GetString("Ecom:Product.Link.Clean"); 36 string itemProductGroupId = product.GetString("Ecom:Product.LinkGroup.Clean"); 37 string itemShopContext = product.GetString("Ecom:Product.LinkGroupShopContext.Clean"); 38 string itemCanonical = product.GetString("Ecom:Product.Canonical"); 39 40 41 Product prod = new ProductService().GetProductById(product.GetString("Ecom:Product.ID"), product.GetString("Ecom:Product.VariantID"), area.EcomLanguageId); 42 43 if (prod != null) 44 { 45 productUrl = HagsWeb.Library.Utilities.DWUtilities.GetProductUrl(prod, area.ID); 46 imageUrl = HagsWeb.Library.Utilities.DWUtilities.GetSingleProductImageUrl(prod); 47 } 48 49 50 <div class="product-card"> 51 52 <div class="product-card__img-silo"> 53 @if (!string.IsNullOrEmpty(imageUrl)) 54 { 55 <a href="@productUrl"><img src="@imageUrl" class="product-card__img"></a> 56 57 } 58 else 59 { 60 <a href="@productUrl" class="product-card__missing"> 61 <img src="@(designBaseUrl)assets/img/h24-see-saw.svg"> 62 <span>No Image Available</span> 63 </a> 64 } 65 </div> 66 67 <div class="product-card__copy"> 68 <p class="product-card__heading"><a href="@productUrl">@product.GetString("Ecom:Product.Name")</a></p> 69 <p class="product-card__code">@product.GetString("Ecom:Product.Number")</p> 70 <p class="product-card__listprice">List Price: <span>Autumn-2024-List-@itemProductNumber</span></p> 71 <p class="product-card__offerprice @itemProductNumber">Autumn Offer Price: <span>Autumn-2024-Offer-@itemProductNumber</span></p> 72 <p class="product-card__exactpricing">For exact pricing and offers in your region, please contact your local HAGS sales representative.</p> 73 </div> 74 </div> 75 76 } 77 78 </div> 79 </div> 80 </section> 81 82

NRG

NRG Atlas

8079853

List Price: Autumn-2024-List-8079853

Autumn Offer Price: Autumn-2024-Offer-8079853

For exact pricing and offers in your region, please contact your local HAGS sales representative.

NRG Uluru

8079864

List Price: Autumn-2024-List-8079864

Autumn Offer Price: Autumn-2024-Offer-8079864

For exact pricing and offers in your region, please contact your local HAGS sales representative.

NRG Jacobs Ladder

8079890

List Price: Autumn-2024-List-8079890

Autumn Offer Price: Autumn-2024-Offer-8079890

For exact pricing and offers in your region, please contact your local HAGS sales representative.

NRG Gaping Ghyll

8079887

List Price: Autumn-2024-List-8079887

Autumn Offer Price: Autumn-2024-Offer-8079887

For exact pricing and offers in your region, please contact your local HAGS sales representative.

NRG Everglades

8079885

List Price: Autumn-2024-List-8079885

Autumn Offer Price: Autumn-2024-Offer-8079885

For exact pricing and offers in your region, please contact your local HAGS sales representative.

NRG Cairngorms

8079913

List Price: Autumn-2024-List-8079913

Autumn Offer Price: Autumn-2024-Offer-8079913

For exact pricing and offers in your region, please contact your local HAGS sales representative.

Swings

Error executing template "/Designs/Hags2024/Paragraph/h24-manual-product-list-campaigns-2.cshtml"
System.Xml.XmlException: There are multiple root elements. Line 1, position 43.
   at System.Xml.XmlTextReaderImpl.Throw(Exception e)
   at System.Xml.XmlTextReaderImpl.Throw(String res, String arg)
   at System.Xml.XmlTextReaderImpl.ParseDocumentContent()
   at System.Xml.XmlTextReaderImpl.Read()
   at System.Xml.XmlLoader.LoadDocSequence(XmlDocument parentDoc)
   at System.Xml.XmlLoader.Load(XmlDocument doc, XmlReader reader, Boolean preserveWhitespace)
   at System.Xml.XmlDocument.Load(XmlReader reader)
   at System.Xml.XmlDocument.LoadXml(String xml)
   at Dynamicweb.Modules.Properties.LoadProperty(String xml, Boolean merge)
   at Dynamicweb.Modules.Properties.GetParagraphModuleSettings(Int32 pageId, String paragraphModuleSystemName)
   at HagsWeb.Library.Utilities.DWUtilities.GetProductUrl(Product product, Int32 areaId)
   at CompiledRazorTemplates.Dynamic.RazorEngine_897a9c1fa115483cb4a3d232bc530f70.Execute() in B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\Paragraph\h24-manual-product-list-campaigns-2.cshtml:line 45
   at RazorEngine.Templating.TemplateBase.RazorEngine.Templating.ITemplate.Run(ExecuteContext context, TextWriter reader)
   at RazorEngine.Templating.RazorEngineCore.RunTemplate(ICompiledTemplate template, TextWriter writer, Object model, DynamicViewBag viewBag)
   at RazorEngine.Templating.RazorEngineService.RunCompile(ITemplateKey key, TextWriter writer, Type modelType, Object model, DynamicViewBag viewBag)
   at RazorEngine.Templating.DynamicWrapperService.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 RazorEngine.Templating.RazorEngineServiceExtensions.RunCompile(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 2 @using Dynamicweb.Ecommerce.Products; 3 4 @{ 5 Dynamicweb.Content.Area area = new Dynamicweb.Content.AreaService().GetArea(Dynamicweb.Frontend.PageView.Current().AreaID); 6 string itemHeading = @GetString("Item.Heading"); 7 string itemContent = @GetString("Item.Content"); 8 string mainImage = @GetString("Item.Main_Image"); 9 string designBaseUrl = GetString("Template:DesignBaseUrl"); 10 11 string ipCountryCode = HagsWeb.Library.Services.IPService.IPCheck.CountryCode().ToLower(); 12 } 13 14 <section class="products-listing"> 15 <div class="wrapper flow"> 16 17 @if (itemHeading != "") 18 { 19 <div class="center-copy flow"> 20 <h3>@itemHeading</h3> 21 22 @itemContent 23 24 </div> 25 } 26 27 <div class="products-listing__grid"> 28 29 @foreach (var product in GetLoop("Item.Product_List")) 30 { 31 string imageUrl = string.Empty; 32 string productUrl = string.Empty; 33 string itemProductId = product.GetString("Ecom:Product.ID"); 34 string itemProductNumber = product.GetString("Ecom:Product.Number"); 35 string itemProductLink = product.GetString("Ecom:Product.Link.Clean"); 36 string itemProductGroupId = product.GetString("Ecom:Product.LinkGroup.Clean"); 37 string itemShopContext = product.GetString("Ecom:Product.LinkGroupShopContext.Clean"); 38 string itemCanonical = product.GetString("Ecom:Product.Canonical"); 39 40 41 Product prod = new ProductService().GetProductById(product.GetString("Ecom:Product.ID"), product.GetString("Ecom:Product.VariantID"), area.EcomLanguageId); 42 43 if (prod != null) 44 { 45 productUrl = HagsWeb.Library.Utilities.DWUtilities.GetProductUrl(prod, area.ID); 46 imageUrl = HagsWeb.Library.Utilities.DWUtilities.GetSingleProductImageUrl(prod); 47 } 48 49 50 <div class="product-card"> 51 52 <div class="product-card__img-silo"> 53 @if (!string.IsNullOrEmpty(imageUrl)) 54 { 55 <a href="@productUrl"><img src="@imageUrl" class="product-card__img"></a> 56 57 } 58 else 59 { 60 <a href="@productUrl" class="product-card__missing"> 61 <img src="@(designBaseUrl)assets/img/h24-see-saw.svg"> 62 <span>No Image Available</span> 63 </a> 64 } 65 </div> 66 67 <div class="product-card__copy"> 68 <p class="product-card__heading"><a href="@productUrl">@product.GetString("Ecom:Product.Name")</a></p> 69 <p class="product-card__code">@product.GetString("Ecom:Product.Number")</p> 70 <p class="product-card__listprice">List Price: <span>Autumn-2024-List-@itemProductNumber</span></p> 71 <p class="product-card__offerprice @itemProductNumber">Autumn Offer Price: <span>Autumn-2024-Offer-@itemProductNumber</span></p> 72 <p class="product-card__exactpricing">For exact pricing and offers in your region, please contact your local HAGS sales representative.</p> 73 </div> 74 </div> 75 76 } 77 78 </div> 79 </div> 80 </section> 81 82

Seesaws, Springers & Rockers

Error executing template "/Designs/Hags2024/Paragraph/h24-manual-product-list-campaigns-2.cshtml"
System.Xml.XmlException: There are multiple root elements. Line 1, position 43.
   at System.Xml.XmlTextReaderImpl.Throw(Exception e)
   at System.Xml.XmlTextReaderImpl.Throw(String res, String arg)
   at System.Xml.XmlTextReaderImpl.ParseDocumentContent()
   at System.Xml.XmlTextReaderImpl.Read()
   at System.Xml.XmlLoader.LoadDocSequence(XmlDocument parentDoc)
   at System.Xml.XmlLoader.Load(XmlDocument doc, XmlReader reader, Boolean preserveWhitespace)
   at System.Xml.XmlDocument.Load(XmlReader reader)
   at System.Xml.XmlDocument.LoadXml(String xml)
   at Dynamicweb.Modules.Properties.LoadProperty(String xml, Boolean merge)
   at Dynamicweb.Modules.Properties.GetParagraphModuleSettings(Int32 pageId, String paragraphModuleSystemName)
   at HagsWeb.Library.Utilities.DWUtilities.GetProductUrl(Product product, Int32 areaId)
   at CompiledRazorTemplates.Dynamic.RazorEngine_897a9c1fa115483cb4a3d232bc530f70.Execute() in B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\Paragraph\h24-manual-product-list-campaigns-2.cshtml:line 45
   at RazorEngine.Templating.TemplateBase.RazorEngine.Templating.ITemplate.Run(ExecuteContext context, TextWriter reader)
   at RazorEngine.Templating.RazorEngineCore.RunTemplate(ICompiledTemplate template, TextWriter writer, Object model, DynamicViewBag viewBag)
   at RazorEngine.Templating.RazorEngineService.RunCompile(ITemplateKey key, TextWriter writer, Type modelType, Object model, DynamicViewBag viewBag)
   at RazorEngine.Templating.DynamicWrapperService.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 RazorEngine.Templating.RazorEngineServiceExtensions.RunCompile(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 2 @using Dynamicweb.Ecommerce.Products; 3 4 @{ 5 Dynamicweb.Content.Area area = new Dynamicweb.Content.AreaService().GetArea(Dynamicweb.Frontend.PageView.Current().AreaID); 6 string itemHeading = @GetString("Item.Heading"); 7 string itemContent = @GetString("Item.Content"); 8 string mainImage = @GetString("Item.Main_Image"); 9 string designBaseUrl = GetString("Template:DesignBaseUrl"); 10 11 string ipCountryCode = HagsWeb.Library.Services.IPService.IPCheck.CountryCode().ToLower(); 12 } 13 14 <section class="products-listing"> 15 <div class="wrapper flow"> 16 17 @if (itemHeading != "") 18 { 19 <div class="center-copy flow"> 20 <h3>@itemHeading</h3> 21 22 @itemContent 23 24 </div> 25 } 26 27 <div class="products-listing__grid"> 28 29 @foreach (var product in GetLoop("Item.Product_List")) 30 { 31 string imageUrl = string.Empty; 32 string productUrl = string.Empty; 33 string itemProductId = product.GetString("Ecom:Product.ID"); 34 string itemProductNumber = product.GetString("Ecom:Product.Number"); 35 string itemProductLink = product.GetString("Ecom:Product.Link.Clean"); 36 string itemProductGroupId = product.GetString("Ecom:Product.LinkGroup.Clean"); 37 string itemShopContext = product.GetString("Ecom:Product.LinkGroupShopContext.Clean"); 38 string itemCanonical = product.GetString("Ecom:Product.Canonical"); 39 40 41 Product prod = new ProductService().GetProductById(product.GetString("Ecom:Product.ID"), product.GetString("Ecom:Product.VariantID"), area.EcomLanguageId); 42 43 if (prod != null) 44 { 45 productUrl = HagsWeb.Library.Utilities.DWUtilities.GetProductUrl(prod, area.ID); 46 imageUrl = HagsWeb.Library.Utilities.DWUtilities.GetSingleProductImageUrl(prod); 47 } 48 49 50 <div class="product-card"> 51 52 <div class="product-card__img-silo"> 53 @if (!string.IsNullOrEmpty(imageUrl)) 54 { 55 <a href="@productUrl"><img src="@imageUrl" class="product-card__img"></a> 56 57 } 58 else 59 { 60 <a href="@productUrl" class="product-card__missing"> 61 <img src="@(designBaseUrl)assets/img/h24-see-saw.svg"> 62 <span>No Image Available</span> 63 </a> 64 } 65 </div> 66 67 <div class="product-card__copy"> 68 <p class="product-card__heading"><a href="@productUrl">@product.GetString("Ecom:Product.Name")</a></p> 69 <p class="product-card__code">@product.GetString("Ecom:Product.Number")</p> 70 <p class="product-card__listprice">List Price: <span>Autumn-2024-List-@itemProductNumber</span></p> 71 <p class="product-card__offerprice @itemProductNumber">Autumn Offer Price: <span>Autumn-2024-Offer-@itemProductNumber</span></p> 72 <p class="product-card__exactpricing">For exact pricing and offers in your region, please contact your local HAGS sales representative.</p> 73 </div> 74 </div> 75 76 } 77 78 </div> 79 </div> 80 </section> 81 82

Roundabouts

Error executing template "/Designs/Hags2024/Paragraph/h24-manual-product-list-campaigns-2.cshtml"
System.Xml.XmlException: There are multiple root elements. Line 1, position 43.
   at System.Xml.XmlTextReaderImpl.Throw(Exception e)
   at System.Xml.XmlTextReaderImpl.Throw(String res, String arg)
   at System.Xml.XmlTextReaderImpl.ParseDocumentContent()
   at System.Xml.XmlTextReaderImpl.Read()
   at System.Xml.XmlLoader.LoadDocSequence(XmlDocument parentDoc)
   at System.Xml.XmlLoader.Load(XmlDocument doc, XmlReader reader, Boolean preserveWhitespace)
   at System.Xml.XmlDocument.Load(XmlReader reader)
   at System.Xml.XmlDocument.LoadXml(String xml)
   at Dynamicweb.Modules.Properties.LoadProperty(String xml, Boolean merge)
   at Dynamicweb.Modules.Properties.GetParagraphModuleSettings(Int32 pageId, String paragraphModuleSystemName)
   at HagsWeb.Library.Utilities.DWUtilities.GetProductUrl(Product product, Int32 areaId)
   at CompiledRazorTemplates.Dynamic.RazorEngine_897a9c1fa115483cb4a3d232bc530f70.Execute() in B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\Paragraph\h24-manual-product-list-campaigns-2.cshtml:line 45
   at RazorEngine.Templating.TemplateBase.RazorEngine.Templating.ITemplate.Run(ExecuteContext context, TextWriter reader)
   at RazorEngine.Templating.RazorEngineCore.RunTemplate(ICompiledTemplate template, TextWriter writer, Object model, DynamicViewBag viewBag)
   at RazorEngine.Templating.RazorEngineService.RunCompile(ITemplateKey key, TextWriter writer, Type modelType, Object model, DynamicViewBag viewBag)
   at RazorEngine.Templating.DynamicWrapperService.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 RazorEngine.Templating.RazorEngineServiceExtensions.RunCompile(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 2 @using Dynamicweb.Ecommerce.Products; 3 4 @{ 5 Dynamicweb.Content.Area area = new Dynamicweb.Content.AreaService().GetArea(Dynamicweb.Frontend.PageView.Current().AreaID); 6 string itemHeading = @GetString("Item.Heading"); 7 string itemContent = @GetString("Item.Content"); 8 string mainImage = @GetString("Item.Main_Image"); 9 string designBaseUrl = GetString("Template:DesignBaseUrl"); 10 11 string ipCountryCode = HagsWeb.Library.Services.IPService.IPCheck.CountryCode().ToLower(); 12 } 13 14 <section class="products-listing"> 15 <div class="wrapper flow"> 16 17 @if (itemHeading != "") 18 { 19 <div class="center-copy flow"> 20 <h3>@itemHeading</h3> 21 22 @itemContent 23 24 </div> 25 } 26 27 <div class="products-listing__grid"> 28 29 @foreach (var product in GetLoop("Item.Product_List")) 30 { 31 string imageUrl = string.Empty; 32 string productUrl = string.Empty; 33 string itemProductId = product.GetString("Ecom:Product.ID"); 34 string itemProductNumber = product.GetString("Ecom:Product.Number"); 35 string itemProductLink = product.GetString("Ecom:Product.Link.Clean"); 36 string itemProductGroupId = product.GetString("Ecom:Product.LinkGroup.Clean"); 37 string itemShopContext = product.GetString("Ecom:Product.LinkGroupShopContext.Clean"); 38 string itemCanonical = product.GetString("Ecom:Product.Canonical"); 39 40 41 Product prod = new ProductService().GetProductById(product.GetString("Ecom:Product.ID"), product.GetString("Ecom:Product.VariantID"), area.EcomLanguageId); 42 43 if (prod != null) 44 { 45 productUrl = HagsWeb.Library.Utilities.DWUtilities.GetProductUrl(prod, area.ID); 46 imageUrl = HagsWeb.Library.Utilities.DWUtilities.GetSingleProductImageUrl(prod); 47 } 48 49 50 <div class="product-card"> 51 52 <div class="product-card__img-silo"> 53 @if (!string.IsNullOrEmpty(imageUrl)) 54 { 55 <a href="@productUrl"><img src="@imageUrl" class="product-card__img"></a> 56 57 } 58 else 59 { 60 <a href="@productUrl" class="product-card__missing"> 61 <img src="@(designBaseUrl)assets/img/h24-see-saw.svg"> 62 <span>No Image Available</span> 63 </a> 64 } 65 </div> 66 67 <div class="product-card__copy"> 68 <p class="product-card__heading"><a href="@productUrl">@product.GetString("Ecom:Product.Name")</a></p> 69 <p class="product-card__code">@product.GetString("Ecom:Product.Number")</p> 70 <p class="product-card__listprice">List Price: <span>Autumn-2024-List-@itemProductNumber</span></p> 71 <p class="product-card__offerprice @itemProductNumber">Autumn Offer Price: <span>Autumn-2024-Offer-@itemProductNumber</span></p> 72 <p class="product-card__exactpricing">For exact pricing and offers in your region, please contact your local HAGS sales representative.</p> 73 </div> 74 </div> 75 76 } 77 78 </div> 79 </div> 80 </section> 81 82

Climbing Equipment

Roundabout Cone Climber 2400

8074848

List Price: Autumn-2024-List-8074848

Autumn Offer Price: Autumn-2024-Offer-8074848

For exact pricing and offers in your region, please contact your local HAGS sales representative.

Roundabout Cone Climber 2400

8074847

List Price: Autumn-2024-List-8074847

Autumn Offer Price: Autumn-2024-Offer-8074847

For exact pricing and offers in your region, please contact your local HAGS sales representative.

Climbing Net Active 4000

8074809

List Price: Autumn-2024-List-8074809

Autumn Offer Price: Autumn-2024-Offer-8074809

For exact pricing and offers in your region, please contact your local HAGS sales representative.

Climbing Net Active 4000

8074808

List Price: Autumn-2024-List-8074808

Autumn Offer Price: Autumn-2024-Offer-8074808

For exact pricing and offers in your region, please contact your local HAGS sales representative.

Climbing Net Twin Active 4000

8074822

List Price: Autumn-2024-List-8074822

Autumn Offer Price: Autumn-2024-Offer-8074822

For exact pricing and offers in your region, please contact your local HAGS sales representative.

Climbing Net Twin Active 4000

8074823

List Price: Autumn-2024-List-8074823

Autumn Offer Price: Autumn-2024-Offer-8074823

For exact pricing and offers in your region, please contact your local HAGS sales representative.

Slides

Error executing template "/Designs/Hags2024/Paragraph/h24-manual-product-list-campaigns-2.cshtml"
System.Xml.XmlException: There are multiple root elements. Line 1, position 43.
   at System.Xml.XmlTextReaderImpl.Throw(Exception e)
   at System.Xml.XmlTextReaderImpl.Throw(String res, String arg)
   at System.Xml.XmlTextReaderImpl.ParseDocumentContent()
   at System.Xml.XmlTextReaderImpl.Read()
   at System.Xml.XmlLoader.LoadDocSequence(XmlDocument parentDoc)
   at System.Xml.XmlLoader.Load(XmlDocument doc, XmlReader reader, Boolean preserveWhitespace)
   at System.Xml.XmlDocument.Load(XmlReader reader)
   at System.Xml.XmlDocument.LoadXml(String xml)
   at Dynamicweb.Modules.Properties.LoadProperty(String xml, Boolean merge)
   at Dynamicweb.Modules.Properties.GetParagraphModuleSettings(Int32 pageId, String paragraphModuleSystemName)
   at HagsWeb.Library.Utilities.DWUtilities.GetProductUrl(Product product, Int32 areaId)
   at CompiledRazorTemplates.Dynamic.RazorEngine_897a9c1fa115483cb4a3d232bc530f70.Execute() in B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\Paragraph\h24-manual-product-list-campaigns-2.cshtml:line 45
   at RazorEngine.Templating.TemplateBase.RazorEngine.Templating.ITemplate.Run(ExecuteContext context, TextWriter reader)
   at RazorEngine.Templating.RazorEngineCore.RunTemplate(ICompiledTemplate template, TextWriter writer, Object model, DynamicViewBag viewBag)
   at RazorEngine.Templating.RazorEngineService.RunCompile(ITemplateKey key, TextWriter writer, Type modelType, Object model, DynamicViewBag viewBag)
   at RazorEngine.Templating.DynamicWrapperService.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 RazorEngine.Templating.RazorEngineServiceExtensions.RunCompile(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 2 @using Dynamicweb.Ecommerce.Products; 3 4 @{ 5 Dynamicweb.Content.Area area = new Dynamicweb.Content.AreaService().GetArea(Dynamicweb.Frontend.PageView.Current().AreaID); 6 string itemHeading = @GetString("Item.Heading"); 7 string itemContent = @GetString("Item.Content"); 8 string mainImage = @GetString("Item.Main_Image"); 9 string designBaseUrl = GetString("Template:DesignBaseUrl"); 10 11 string ipCountryCode = HagsWeb.Library.Services.IPService.IPCheck.CountryCode().ToLower(); 12 } 13 14 <section class="products-listing"> 15 <div class="wrapper flow"> 16 17 @if (itemHeading != "") 18 { 19 <div class="center-copy flow"> 20 <h3>@itemHeading</h3> 21 22 @itemContent 23 24 </div> 25 } 26 27 <div class="products-listing__grid"> 28 29 @foreach (var product in GetLoop("Item.Product_List")) 30 { 31 string imageUrl = string.Empty; 32 string productUrl = string.Empty; 33 string itemProductId = product.GetString("Ecom:Product.ID"); 34 string itemProductNumber = product.GetString("Ecom:Product.Number"); 35 string itemProductLink = product.GetString("Ecom:Product.Link.Clean"); 36 string itemProductGroupId = product.GetString("Ecom:Product.LinkGroup.Clean"); 37 string itemShopContext = product.GetString("Ecom:Product.LinkGroupShopContext.Clean"); 38 string itemCanonical = product.GetString("Ecom:Product.Canonical"); 39 40 41 Product prod = new ProductService().GetProductById(product.GetString("Ecom:Product.ID"), product.GetString("Ecom:Product.VariantID"), area.EcomLanguageId); 42 43 if (prod != null) 44 { 45 productUrl = HagsWeb.Library.Utilities.DWUtilities.GetProductUrl(prod, area.ID); 46 imageUrl = HagsWeb.Library.Utilities.DWUtilities.GetSingleProductImageUrl(prod); 47 } 48 49 50 <div class="product-card"> 51 52 <div class="product-card__img-silo"> 53 @if (!string.IsNullOrEmpty(imageUrl)) 54 { 55 <a href="@productUrl"><img src="@imageUrl" class="product-card__img"></a> 56 57 } 58 else 59 { 60 <a href="@productUrl" class="product-card__missing"> 61 <img src="@(designBaseUrl)assets/img/h24-see-saw.svg"> 62 <span>No Image Available</span> 63 </a> 64 } 65 </div> 66 67 <div class="product-card__copy"> 68 <p class="product-card__heading"><a href="@productUrl">@product.GetString("Ecom:Product.Name")</a></p> 69 <p class="product-card__code">@product.GetString("Ecom:Product.Number")</p> 70 <p class="product-card__listprice">List Price: <span>Autumn-2024-List-@itemProductNumber</span></p> 71 <p class="product-card__offerprice @itemProductNumber">Autumn Offer Price: <span>Autumn-2024-Offer-@itemProductNumber</span></p> 72 <p class="product-card__exactpricing">For exact pricing and offers in your region, please contact your local HAGS sales representative.</p> 73 </div> 74 </div> 75 76 } 77 78 </div> 79 </div> 80 </section> 81 82

Playhouses

Error executing template "/Designs/Hags2024/Paragraph/h24-manual-product-list-campaigns-2.cshtml"
System.Xml.XmlException: There are multiple root elements. Line 1, position 43.
   at System.Xml.XmlTextReaderImpl.Throw(Exception e)
   at System.Xml.XmlTextReaderImpl.Throw(String res, String arg)
   at System.Xml.XmlTextReaderImpl.ParseDocumentContent()
   at System.Xml.XmlTextReaderImpl.Read()
   at System.Xml.XmlLoader.LoadDocSequence(XmlDocument parentDoc)
   at System.Xml.XmlLoader.Load(XmlDocument doc, XmlReader reader, Boolean preserveWhitespace)
   at System.Xml.XmlDocument.Load(XmlReader reader)
   at System.Xml.XmlDocument.LoadXml(String xml)
   at Dynamicweb.Modules.Properties.LoadProperty(String xml, Boolean merge)
   at Dynamicweb.Modules.Properties.GetParagraphModuleSettings(Int32 pageId, String paragraphModuleSystemName)
   at HagsWeb.Library.Utilities.DWUtilities.GetProductUrl(Product product, Int32 areaId)
   at CompiledRazorTemplates.Dynamic.RazorEngine_897a9c1fa115483cb4a3d232bc530f70.Execute() in B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\Paragraph\h24-manual-product-list-campaigns-2.cshtml:line 45
   at RazorEngine.Templating.TemplateBase.RazorEngine.Templating.ITemplate.Run(ExecuteContext context, TextWriter reader)
   at RazorEngine.Templating.RazorEngineCore.RunTemplate(ICompiledTemplate template, TextWriter writer, Object model, DynamicViewBag viewBag)
   at RazorEngine.Templating.RazorEngineService.RunCompile(ITemplateKey key, TextWriter writer, Type modelType, Object model, DynamicViewBag viewBag)
   at RazorEngine.Templating.DynamicWrapperService.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 RazorEngine.Templating.RazorEngineServiceExtensions.RunCompile(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 2 @using Dynamicweb.Ecommerce.Products; 3 4 @{ 5 Dynamicweb.Content.Area area = new Dynamicweb.Content.AreaService().GetArea(Dynamicweb.Frontend.PageView.Current().AreaID); 6 string itemHeading = @GetString("Item.Heading"); 7 string itemContent = @GetString("Item.Content"); 8 string mainImage = @GetString("Item.Main_Image"); 9 string designBaseUrl = GetString("Template:DesignBaseUrl"); 10 11 string ipCountryCode = HagsWeb.Library.Services.IPService.IPCheck.CountryCode().ToLower(); 12 } 13 14 <section class="products-listing"> 15 <div class="wrapper flow"> 16 17 @if (itemHeading != "") 18 { 19 <div class="center-copy flow"> 20 <h3>@itemHeading</h3> 21 22 @itemContent 23 24 </div> 25 } 26 27 <div class="products-listing__grid"> 28 29 @foreach (var product in GetLoop("Item.Product_List")) 30 { 31 string imageUrl = string.Empty; 32 string productUrl = string.Empty; 33 string itemProductId = product.GetString("Ecom:Product.ID"); 34 string itemProductNumber = product.GetString("Ecom:Product.Number"); 35 string itemProductLink = product.GetString("Ecom:Product.Link.Clean"); 36 string itemProductGroupId = product.GetString("Ecom:Product.LinkGroup.Clean"); 37 string itemShopContext = product.GetString("Ecom:Product.LinkGroupShopContext.Clean"); 38 string itemCanonical = product.GetString("Ecom:Product.Canonical"); 39 40 41 Product prod = new ProductService().GetProductById(product.GetString("Ecom:Product.ID"), product.GetString("Ecom:Product.VariantID"), area.EcomLanguageId); 42 43 if (prod != null) 44 { 45 productUrl = HagsWeb.Library.Utilities.DWUtilities.GetProductUrl(prod, area.ID); 46 imageUrl = HagsWeb.Library.Utilities.DWUtilities.GetSingleProductImageUrl(prod); 47 } 48 49 50 <div class="product-card"> 51 52 <div class="product-card__img-silo"> 53 @if (!string.IsNullOrEmpty(imageUrl)) 54 { 55 <a href="@productUrl"><img src="@imageUrl" class="product-card__img"></a> 56 57 } 58 else 59 { 60 <a href="@productUrl" class="product-card__missing"> 61 <img src="@(designBaseUrl)assets/img/h24-see-saw.svg"> 62 <span>No Image Available</span> 63 </a> 64 } 65 </div> 66 67 <div class="product-card__copy"> 68 <p class="product-card__heading"><a href="@productUrl">@product.GetString("Ecom:Product.Name")</a></p> 69 <p class="product-card__code">@product.GetString("Ecom:Product.Number")</p> 70 <p class="product-card__listprice">List Price: <span>Autumn-2024-List-@itemProductNumber</span></p> 71 <p class="product-card__offerprice @itemProductNumber">Autumn Offer Price: <span>Autumn-2024-Offer-@itemProductNumber</span></p> 72 <p class="product-card__exactpricing">For exact pricing and offers in your region, please contact your local HAGS sales representative.</p> 73 </div> 74 </div> 75 76 } 77 78 </div> 79 </div> 80 </section> 81 82

Park & Urban

Furniture

Error executing template "/Designs/Hags2024/Paragraph/h24-manual-product-list-campaigns-2.cshtml"
System.Xml.XmlException: There are multiple root elements. Line 1, position 43.
   at System.Xml.XmlTextReaderImpl.Throw(Exception e)
   at System.Xml.XmlTextReaderImpl.Throw(String res, String arg)
   at System.Xml.XmlTextReaderImpl.ParseDocumentContent()
   at System.Xml.XmlTextReaderImpl.Read()
   at System.Xml.XmlLoader.LoadDocSequence(XmlDocument parentDoc)
   at System.Xml.XmlLoader.Load(XmlDocument doc, XmlReader reader, Boolean preserveWhitespace)
   at System.Xml.XmlDocument.Load(XmlReader reader)
   at System.Xml.XmlDocument.LoadXml(String xml)
   at Dynamicweb.Modules.Properties.LoadProperty(String xml, Boolean merge)
   at Dynamicweb.Modules.Properties.GetParagraphModuleSettings(Int32 pageId, String paragraphModuleSystemName)
   at HagsWeb.Library.Utilities.DWUtilities.GetProductUrl(Product product, Int32 areaId)
   at CompiledRazorTemplates.Dynamic.RazorEngine_897a9c1fa115483cb4a3d232bc530f70.Execute() in B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\Paragraph\h24-manual-product-list-campaigns-2.cshtml:line 45
   at RazorEngine.Templating.TemplateBase.RazorEngine.Templating.ITemplate.Run(ExecuteContext context, TextWriter reader)
   at RazorEngine.Templating.RazorEngineCore.RunTemplate(ICompiledTemplate template, TextWriter writer, Object model, DynamicViewBag viewBag)
   at RazorEngine.Templating.RazorEngineService.RunCompile(ITemplateKey key, TextWriter writer, Type modelType, Object model, DynamicViewBag viewBag)
   at RazorEngine.Templating.DynamicWrapperService.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 RazorEngine.Templating.RazorEngineServiceExtensions.RunCompile(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 2 @using Dynamicweb.Ecommerce.Products; 3 4 @{ 5 Dynamicweb.Content.Area area = new Dynamicweb.Content.AreaService().GetArea(Dynamicweb.Frontend.PageView.Current().AreaID); 6 string itemHeading = @GetString("Item.Heading"); 7 string itemContent = @GetString("Item.Content"); 8 string mainImage = @GetString("Item.Main_Image"); 9 string designBaseUrl = GetString("Template:DesignBaseUrl"); 10 11 string ipCountryCode = HagsWeb.Library.Services.IPService.IPCheck.CountryCode().ToLower(); 12 } 13 14 <section class="products-listing"> 15 <div class="wrapper flow"> 16 17 @if (itemHeading != "") 18 { 19 <div class="center-copy flow"> 20 <h3>@itemHeading</h3> 21 22 @itemContent 23 24 </div> 25 } 26 27 <div class="products-listing__grid"> 28 29 @foreach (var product in GetLoop("Item.Product_List")) 30 { 31 string imageUrl = string.Empty; 32 string productUrl = string.Empty; 33 string itemProductId = product.GetString("Ecom:Product.ID"); 34 string itemProductNumber = product.GetString("Ecom:Product.Number"); 35 string itemProductLink = product.GetString("Ecom:Product.Link.Clean"); 36 string itemProductGroupId = product.GetString("Ecom:Product.LinkGroup.Clean"); 37 string itemShopContext = product.GetString("Ecom:Product.LinkGroupShopContext.Clean"); 38 string itemCanonical = product.GetString("Ecom:Product.Canonical"); 39 40 41 Product prod = new ProductService().GetProductById(product.GetString("Ecom:Product.ID"), product.GetString("Ecom:Product.VariantID"), area.EcomLanguageId); 42 43 if (prod != null) 44 { 45 productUrl = HagsWeb.Library.Utilities.DWUtilities.GetProductUrl(prod, area.ID); 46 imageUrl = HagsWeb.Library.Utilities.DWUtilities.GetSingleProductImageUrl(prod); 47 } 48 49 50 <div class="product-card"> 51 52 <div class="product-card__img-silo"> 53 @if (!string.IsNullOrEmpty(imageUrl)) 54 { 55 <a href="@productUrl"><img src="@imageUrl" class="product-card__img"></a> 56 57 } 58 else 59 { 60 <a href="@productUrl" class="product-card__missing"> 61 <img src="@(designBaseUrl)assets/img/h24-see-saw.svg"> 62 <span>No Image Available</span> 63 </a> 64 } 65 </div> 66 67 <div class="product-card__copy"> 68 <p class="product-card__heading"><a href="@productUrl">@product.GetString("Ecom:Product.Name")</a></p> 69 <p class="product-card__code">@product.GetString("Ecom:Product.Number")</p> 70 <p class="product-card__listprice">List Price: <span>Autumn-2024-List-@itemProductNumber</span></p> 71 <p class="product-card__offerprice @itemProductNumber">Autumn Offer Price: <span>Autumn-2024-Offer-@itemProductNumber</span></p> 72 <p class="product-card__exactpricing">For exact pricing and offers in your region, please contact your local HAGS sales representative.</p> 73 </div> 74 </div> 75 76 } 77 78 </div> 79 </div> 80 </section> 81 82

Bicycle Storage

Error executing template "/Designs/Hags2024/Paragraph/h24-manual-product-list-campaigns-2.cshtml"
System.Xml.XmlException: There are multiple root elements. Line 1, position 43.
   at System.Xml.XmlTextReaderImpl.Throw(Exception e)
   at System.Xml.XmlTextReaderImpl.Throw(String res, String arg)
   at System.Xml.XmlTextReaderImpl.ParseDocumentContent()
   at System.Xml.XmlTextReaderImpl.Read()
   at System.Xml.XmlLoader.LoadDocSequence(XmlDocument parentDoc)
   at System.Xml.XmlLoader.Load(XmlDocument doc, XmlReader reader, Boolean preserveWhitespace)
   at System.Xml.XmlDocument.Load(XmlReader reader)
   at System.Xml.XmlDocument.LoadXml(String xml)
   at Dynamicweb.Modules.Properties.LoadProperty(String xml, Boolean merge)
   at Dynamicweb.Modules.Properties.GetParagraphModuleSettings(Int32 pageId, String paragraphModuleSystemName)
   at HagsWeb.Library.Utilities.DWUtilities.GetProductUrl(Product product, Int32 areaId)
   at CompiledRazorTemplates.Dynamic.RazorEngine_897a9c1fa115483cb4a3d232bc530f70.Execute() in B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\Paragraph\h24-manual-product-list-campaigns-2.cshtml:line 45
   at RazorEngine.Templating.TemplateBase.RazorEngine.Templating.ITemplate.Run(ExecuteContext context, TextWriter reader)
   at RazorEngine.Templating.RazorEngineCore.RunTemplate(ICompiledTemplate template, TextWriter writer, Object model, DynamicViewBag viewBag)
   at RazorEngine.Templating.RazorEngineService.RunCompile(ITemplateKey key, TextWriter writer, Type modelType, Object model, DynamicViewBag viewBag)
   at RazorEngine.Templating.DynamicWrapperService.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 RazorEngine.Templating.RazorEngineServiceExtensions.RunCompile(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 2 @using Dynamicweb.Ecommerce.Products; 3 4 @{ 5 Dynamicweb.Content.Area area = new Dynamicweb.Content.AreaService().GetArea(Dynamicweb.Frontend.PageView.Current().AreaID); 6 string itemHeading = @GetString("Item.Heading"); 7 string itemContent = @GetString("Item.Content"); 8 string mainImage = @GetString("Item.Main_Image"); 9 string designBaseUrl = GetString("Template:DesignBaseUrl"); 10 11 string ipCountryCode = HagsWeb.Library.Services.IPService.IPCheck.CountryCode().ToLower(); 12 } 13 14 <section class="products-listing"> 15 <div class="wrapper flow"> 16 17 @if (itemHeading != "") 18 { 19 <div class="center-copy flow"> 20 <h3>@itemHeading</h3> 21 22 @itemContent 23 24 </div> 25 } 26 27 <div class="products-listing__grid"> 28 29 @foreach (var product in GetLoop("Item.Product_List")) 30 { 31 string imageUrl = string.Empty; 32 string productUrl = string.Empty; 33 string itemProductId = product.GetString("Ecom:Product.ID"); 34 string itemProductNumber = product.GetString("Ecom:Product.Number"); 35 string itemProductLink = product.GetString("Ecom:Product.Link.Clean"); 36 string itemProductGroupId = product.GetString("Ecom:Product.LinkGroup.Clean"); 37 string itemShopContext = product.GetString("Ecom:Product.LinkGroupShopContext.Clean"); 38 string itemCanonical = product.GetString("Ecom:Product.Canonical"); 39 40 41 Product prod = new ProductService().GetProductById(product.GetString("Ecom:Product.ID"), product.GetString("Ecom:Product.VariantID"), area.EcomLanguageId); 42 43 if (prod != null) 44 { 45 productUrl = HagsWeb.Library.Utilities.DWUtilities.GetProductUrl(prod, area.ID); 46 imageUrl = HagsWeb.Library.Utilities.DWUtilities.GetSingleProductImageUrl(prod); 47 } 48 49 50 <div class="product-card"> 51 52 <div class="product-card__img-silo"> 53 @if (!string.IsNullOrEmpty(imageUrl)) 54 { 55 <a href="@productUrl"><img src="@imageUrl" class="product-card__img"></a> 56 57 } 58 else 59 { 60 <a href="@productUrl" class="product-card__missing"> 61 <img src="@(designBaseUrl)assets/img/h24-see-saw.svg"> 62 <span>No Image Available</span> 63 </a> 64 } 65 </div> 66 67 <div class="product-card__copy"> 68 <p class="product-card__heading"><a href="@productUrl">@product.GetString("Ecom:Product.Name")</a></p> 69 <p class="product-card__code">@product.GetString("Ecom:Product.Number")</p> 70 <p class="product-card__listprice">List Price: <span>Autumn-2024-List-@itemProductNumber</span></p> 71 <p class="product-card__offerprice @itemProductNumber">Autumn Offer Price: <span>Autumn-2024-Offer-@itemProductNumber</span></p> 72 <p class="product-card__exactpricing">For exact pricing and offers in your region, please contact your local HAGS sales representative.</p> 73 </div> 74 </div> 75 76 } 77 78 </div> 79 </div> 80 </section> 81 82

Litter Bins

Error executing template "/Designs/Hags2024/Paragraph/h24-manual-product-list-campaigns-2.cshtml"
System.Xml.XmlException: There are multiple root elements. Line 1, position 43.
   at System.Xml.XmlTextReaderImpl.Throw(Exception e)
   at System.Xml.XmlTextReaderImpl.Throw(String res, String arg)
   at System.Xml.XmlTextReaderImpl.ParseDocumentContent()
   at System.Xml.XmlTextReaderImpl.Read()
   at System.Xml.XmlLoader.LoadDocSequence(XmlDocument parentDoc)
   at System.Xml.XmlLoader.Load(XmlDocument doc, XmlReader reader, Boolean preserveWhitespace)
   at System.Xml.XmlDocument.Load(XmlReader reader)
   at System.Xml.XmlDocument.LoadXml(String xml)
   at Dynamicweb.Modules.Properties.LoadProperty(String xml, Boolean merge)
   at Dynamicweb.Modules.Properties.GetParagraphModuleSettings(Int32 pageId, String paragraphModuleSystemName)
   at HagsWeb.Library.Utilities.DWUtilities.GetProductUrl(Product product, Int32 areaId)
   at CompiledRazorTemplates.Dynamic.RazorEngine_897a9c1fa115483cb4a3d232bc530f70.Execute() in B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\Paragraph\h24-manual-product-list-campaigns-2.cshtml:line 45
   at RazorEngine.Templating.TemplateBase.RazorEngine.Templating.ITemplate.Run(ExecuteContext context, TextWriter reader)
   at RazorEngine.Templating.RazorEngineCore.RunTemplate(ICompiledTemplate template, TextWriter writer, Object model, DynamicViewBag viewBag)
   at RazorEngine.Templating.RazorEngineService.RunCompile(ITemplateKey key, TextWriter writer, Type modelType, Object model, DynamicViewBag viewBag)
   at RazorEngine.Templating.DynamicWrapperService.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 RazorEngine.Templating.RazorEngineServiceExtensions.RunCompile(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 2 @using Dynamicweb.Ecommerce.Products; 3 4 @{ 5 Dynamicweb.Content.Area area = new Dynamicweb.Content.AreaService().GetArea(Dynamicweb.Frontend.PageView.Current().AreaID); 6 string itemHeading = @GetString("Item.Heading"); 7 string itemContent = @GetString("Item.Content"); 8 string mainImage = @GetString("Item.Main_Image"); 9 string designBaseUrl = GetString("Template:DesignBaseUrl"); 10 11 string ipCountryCode = HagsWeb.Library.Services.IPService.IPCheck.CountryCode().ToLower(); 12 } 13 14 <section class="products-listing"> 15 <div class="wrapper flow"> 16 17 @if (itemHeading != "") 18 { 19 <div class="center-copy flow"> 20 <h3>@itemHeading</h3> 21 22 @itemContent 23 24 </div> 25 } 26 27 <div class="products-listing__grid"> 28 29 @foreach (var product in GetLoop("Item.Product_List")) 30 { 31 string imageUrl = string.Empty; 32 string productUrl = string.Empty; 33 string itemProductId = product.GetString("Ecom:Product.ID"); 34 string itemProductNumber = product.GetString("Ecom:Product.Number"); 35 string itemProductLink = product.GetString("Ecom:Product.Link.Clean"); 36 string itemProductGroupId = product.GetString("Ecom:Product.LinkGroup.Clean"); 37 string itemShopContext = product.GetString("Ecom:Product.LinkGroupShopContext.Clean"); 38 string itemCanonical = product.GetString("Ecom:Product.Canonical"); 39 40 41 Product prod = new ProductService().GetProductById(product.GetString("Ecom:Product.ID"), product.GetString("Ecom:Product.VariantID"), area.EcomLanguageId); 42 43 if (prod != null) 44 { 45 productUrl = HagsWeb.Library.Utilities.DWUtilities.GetProductUrl(prod, area.ID); 46 imageUrl = HagsWeb.Library.Utilities.DWUtilities.GetSingleProductImageUrl(prod); 47 } 48 49 50 <div class="product-card"> 51 52 <div class="product-card__img-silo"> 53 @if (!string.IsNullOrEmpty(imageUrl)) 54 { 55 <a href="@productUrl"><img src="@imageUrl" class="product-card__img"></a> 56 57 } 58 else 59 { 60 <a href="@productUrl" class="product-card__missing"> 61 <img src="@(designBaseUrl)assets/img/h24-see-saw.svg"> 62 <span>No Image Available</span> 63 </a> 64 } 65 </div> 66 67 <div class="product-card__copy"> 68 <p class="product-card__heading"><a href="@productUrl">@product.GetString("Ecom:Product.Name")</a></p> 69 <p class="product-card__code">@product.GetString("Ecom:Product.Number")</p> 70 <p class="product-card__listprice">List Price: <span>Autumn-2024-List-@itemProductNumber</span></p> 71 <p class="product-card__offerprice @itemProductNumber">Autumn Offer Price: <span>Autumn-2024-Offer-@itemProductNumber</span></p> 72 <p class="product-card__exactpricing">For exact pricing and offers in your region, please contact your local HAGS sales representative.</p> 73 </div> 74 </div> 75 76 } 77 78 </div> 79 </div> 80 </section> 81 82

Park Grills

Error executing template "/Designs/Hags2024/Paragraph/h24-manual-product-list-campaigns-2.cshtml"
System.Xml.XmlException: There are multiple root elements. Line 1, position 43.
   at System.Xml.XmlTextReaderImpl.Throw(Exception e)
   at System.Xml.XmlTextReaderImpl.Throw(String res, String arg)
   at System.Xml.XmlTextReaderImpl.ParseDocumentContent()
   at System.Xml.XmlTextReaderImpl.Read()
   at System.Xml.XmlLoader.LoadDocSequence(XmlDocument parentDoc)
   at System.Xml.XmlLoader.Load(XmlDocument doc, XmlReader reader, Boolean preserveWhitespace)
   at System.Xml.XmlDocument.Load(XmlReader reader)
   at System.Xml.XmlDocument.LoadXml(String xml)
   at Dynamicweb.Modules.Properties.LoadProperty(String xml, Boolean merge)
   at Dynamicweb.Modules.Properties.GetParagraphModuleSettings(Int32 pageId, String paragraphModuleSystemName)
   at HagsWeb.Library.Utilities.DWUtilities.GetProductUrl(Product product, Int32 areaId)
   at CompiledRazorTemplates.Dynamic.RazorEngine_897a9c1fa115483cb4a3d232bc530f70.Execute() in B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\Paragraph\h24-manual-product-list-campaigns-2.cshtml:line 45
   at RazorEngine.Templating.TemplateBase.RazorEngine.Templating.ITemplate.Run(ExecuteContext context, TextWriter reader)
   at RazorEngine.Templating.RazorEngineCore.RunTemplate(ICompiledTemplate template, TextWriter writer, Object model, DynamicViewBag viewBag)
   at RazorEngine.Templating.RazorEngineService.RunCompile(ITemplateKey key, TextWriter writer, Type modelType, Object model, DynamicViewBag viewBag)
   at RazorEngine.Templating.DynamicWrapperService.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 RazorEngine.Templating.RazorEngineServiceExtensions.RunCompile(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 2 @using Dynamicweb.Ecommerce.Products; 3 4 @{ 5 Dynamicweb.Content.Area area = new Dynamicweb.Content.AreaService().GetArea(Dynamicweb.Frontend.PageView.Current().AreaID); 6 string itemHeading = @GetString("Item.Heading"); 7 string itemContent = @GetString("Item.Content"); 8 string mainImage = @GetString("Item.Main_Image"); 9 string designBaseUrl = GetString("Template:DesignBaseUrl"); 10 11 string ipCountryCode = HagsWeb.Library.Services.IPService.IPCheck.CountryCode().ToLower(); 12 } 13 14 <section class="products-listing"> 15 <div class="wrapper flow"> 16 17 @if (itemHeading != "") 18 { 19 <div class="center-copy flow"> 20 <h3>@itemHeading</h3> 21 22 @itemContent 23 24 </div> 25 } 26 27 <div class="products-listing__grid"> 28 29 @foreach (var product in GetLoop("Item.Product_List")) 30 { 31 string imageUrl = string.Empty; 32 string productUrl = string.Empty; 33 string itemProductId = product.GetString("Ecom:Product.ID"); 34 string itemProductNumber = product.GetString("Ecom:Product.Number"); 35 string itemProductLink = product.GetString("Ecom:Product.Link.Clean"); 36 string itemProductGroupId = product.GetString("Ecom:Product.LinkGroup.Clean"); 37 string itemShopContext = product.GetString("Ecom:Product.LinkGroupShopContext.Clean"); 38 string itemCanonical = product.GetString("Ecom:Product.Canonical"); 39 40 41 Product prod = new ProductService().GetProductById(product.GetString("Ecom:Product.ID"), product.GetString("Ecom:Product.VariantID"), area.EcomLanguageId); 42 43 if (prod != null) 44 { 45 productUrl = HagsWeb.Library.Utilities.DWUtilities.GetProductUrl(prod, area.ID); 46 imageUrl = HagsWeb.Library.Utilities.DWUtilities.GetSingleProductImageUrl(prod); 47 } 48 49 50 <div class="product-card"> 51 52 <div class="product-card__img-silo"> 53 @if (!string.IsNullOrEmpty(imageUrl)) 54 { 55 <a href="@productUrl"><img src="@imageUrl" class="product-card__img"></a> 56 57 } 58 else 59 { 60 <a href="@productUrl" class="product-card__missing"> 61 <img src="@(designBaseUrl)assets/img/h24-see-saw.svg"> 62 <span>No Image Available</span> 63 </a> 64 } 65 </div> 66 67 <div class="product-card__copy"> 68 <p class="product-card__heading"><a href="@productUrl">@product.GetString("Ecom:Product.Name")</a></p> 69 <p class="product-card__code">@product.GetString("Ecom:Product.Number")</p> 70 <p class="product-card__listprice">List Price: <span>Autumn-2024-List-@itemProductNumber</span></p> 71 <p class="product-card__offerprice @itemProductNumber">Autumn Offer Price: <span>Autumn-2024-Offer-@itemProductNumber</span></p> 72 <p class="product-card__exactpricing">For exact pricing and offers in your region, please contact your local HAGS sales representative.</p> 73 </div> 74 </div> 75 76 } 77 78 </div> 79 </div> 80 </section> 81 82
}