Wire Rope Slings

You might also like

Download as pdf or txt
Download as pdf or txt
You are on page 1of 16

Product Catalogue Synthetic & Wire Rope Slings Wire Rope Slings Wire Rope Slings

Exception in template (Designs\Dwsimple\eCom/Productlist/ProductCategoryPDF.cshtml): System.Net.WebExceptio


n: The request failed with the error message:
--

Object Moved

This document may be found here


--.
at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebRespo
nse response, Stream responseStream, Boolean asyncCall)
at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)
at NoblesCategoryTable.dataService.Service.GetCategoryFields(String groupID, String languageId, String s
ortField, String sortDir)
at NoblesCategoryTable.TableHelpers.GetTableContent(String groupId, String languageId, String sortColumn
, String sortDirection)
at CompiledRazorTemplates.Dynamic.abbcbdbafafadcdd.b__6(TextWriter __razor_helper_writer)
at RazorEngine.Templating.TemplateWriter.WriteTo(TextWriter writer)
at RazorEngine.Templating.TemplateBase.Write(TemplateWriter helper)
at CompiledRazorTemplates.Dynamic.abbcbdbafafadcdd.Execute()
at RazorEngine.Templating.TemplateBase.RazorEngine.Templating.ITemplate.Run(ExecuteContext context)
at RazorEngine.Templating.TemplateService.Run(ITemplate template, DynamicViewBag viewBag)
at RazorEngine.Templating.TemplateService.Parse(String razorTemplate, Object model, DynamicViewBag viewB
ag, String cacheName)
at RazorEngine.Razor.Parse[T](String razorTemplate, T model, String cacheName)
at Dynamicweb.Rendering.Template.RenderRazorTemplate()

@using System.Text.RegularExpressions
@using System.Web
@using System
@using System.Data.SqlClient
@using System.Collections.Generic
@using System.Linq

@functions{

public class PostCode


{

public int PostCodeId { get;set; }


public string PCode { get;set; }
public string State { get;set; }
public string City { get;set; }
public string StateDesc { get;set; }

public class ChildGroupList


{
public List<ChildGroup> ChildGroups { get; set; }
public ChildGroupList()
{
this.ChildGroups = new List<ChildGroup>();
}
}

public class NoblesProduct


{
public string Image { get;set; }
public string GroupLink { get;set; }
public string Name { get;set; }
public string Description { get;set; }
public string Discount { get;set; }
public string Price { get;set; }
public bool web { get;set; }
public string ID { get;set; }
public double Axstock { get;set; }
public dynamic sortfield { get;set; }

public List<dynamic> Cats { get; set; }


public List<LoopItem> OrderContex { get; set; }

public NoblesProduct()
{
this.Cats = new List<dynamic>();
this.OrderContex = new List<LoopItem>();
}
}

public class ChildGroup


{

public string GroupId { get;set; }


public string GroupName { get;set; }

}
public class WrapMethods
{
public static ChildGroupList getChildgroups(string parent){
ChildGroupList result = new ChildGroupList();
var gplist=Dynamicweb.Ecommerce.Products.Group.GetGroupById(parent).Subgroups;

foreach(var group in gplist){


ChildGroup childGroup = new ChildGroup();
childGroup.GroupId = group.Id;
childGroup.GroupName = group.Name;
result.ChildGroups.Add(childGroup);
}
return result;
}

public static List<string[]> getstockstates(){

//string stockstatequery="SELECT StockStatusLinesRate,StockStatusLinesDefinition,StockStatusLa


nguageValueText,StockStatusLanguageValueDeliveryText,StockStatusLanguageValueDeliveryValue FROM EcomStockSt
atusLine as sl INNER JOIN EcomStockStatusLanguageValue as slv ON sl.StockStatusLinesId=slv.StockStatusLangu
ageValueLinesId";
List<string[]> map_data = new List<string[]>();

using (SqlConnection conn = new SqlConnection(Dynamicweb.Data.Database.ConnectionString))


{
SqlCommand cmd = new SqlCommand("SELECT StockStatusLinesRate,StockStatusLinesDefinition,StockSt
atusLanguageValueText,StockStatusLanguageValueDeliveryText,StockStatusLanguageValueDeliveryValue FROM EcomS
tockStatusLine as sl INNER JOIN EcomStockStatusLanguageValue as slv ON sl.StockStatusLinesId=slv.StockStatu
sLanguageValueLinesId", conn);
try
{
conn.Open();
SqlDataReader reader;
reader = cmd.ExecuteReader();
while (reader.Read())
{
string[] row = new string[5];
row[0]=reader["StockStatusLinesRate"].ToString();
row[1]=reader["StockStatusLinesDefinition"].ToString();
row[2]=reader["StockStatusLanguageValueText"].ToString();
string numb=reader["StockStatusLanguageValueDeliveryText"].
ToString();
string unit=reader["StockStatusLanguageValueDeliveryValue"]
.ToString();
row[3]=numb+" "+unit;
row[4]=numb;

map_data.Add(row);
}

conn.Close();
}
catch (Exception ex)
{

}
}
return map_data;
}

//Gets the contrasting color


public static string getContrastYIQ(string hexcolor)
{
if (hexcolor != "")
{
hexcolor = Regex.Replace(hexcolor, "[^0-9a-zA-Z]+", "");

int r = Convert.ToByte(hexcolor.Substring(0, 2), 16);


int g = Convert.ToByte(hexcolor.Substring(2, 2), 16);
int b = Convert.ToByte(hexcolor.Substring(4, 2), 16);
int yiq = ((r * 299) + (g * 587) + (b * 114)) / 1000;

if (yiq >= 128)


{
return "black";
}
else
{
return "white";
}
}
else
{
return "black";
}
}
//Truncate text
public static string Truncate (string value, int count, bool strip=true)
{
if (strip == true){
value = StripHtmlTagByCharArray(value);
}

if (value.Length > count)


{
value = value.Substring(0, count - 1) + "...";
}

return value;
}

//Strip text from HTML


public static string StripHtmlTagByCharArray(string htmlString)
{
char[] array = new char[htmlString.Length];
int arrayIndex = 0;
bool inside = false;

for (int i = 0; i < htmlString.Length; i++)


{
char let = htmlString[i];
if (let == '<')
{
inside = true;
continue;
}
if (let == '>')
{
inside = false;
continue;
}
if (!inside)
{
array[arrayIndex] = let;
arrayIndex++;
}
}
return new string(array, 0, arrayIndex);
}

//Make the correct count of columns


public static string ColumnMaker(int Col, string ScreenSize)
{
string Columns = "";

switch (Col)
{
case 1:
Columns = "col-"+ScreenSize+"-12";
break;

case 2:
Columns = "col-"+ScreenSize+"-6";
break;
case 3:
Columns = "col-"+ScreenSize+"-4";
break;

case 4:
Columns = "col-"+ScreenSize+"-3";
break;

case 6:
Columns = "col-"+ScreenSize+"-2";
break;

default:
Columns = "col-"+ScreenSize+"-3";
break;
}

return Columns;
}

private string Custom(string firstoption, string secondoption)


{
if (firstoption == "custom")
{
return secondoption;
}
else
{
return firstoption;
}
}
}
}
@helper GetProductLists(dynamic Loop, int ColMD=3, int ColSM=3, int ColXS=1)
{

string groupId = GetString("Ecom:Group.ID");


string sortfieldname= String.IsNullOrEmpty(GetString("Ecom:Group:Field.SortField.Value")) ? "ProductName" :
GetString("Ecom:Group:Field.SortField.Value");
string sortOrder= String.IsNullOrEmpty(GetString("Ecom:Group:Field.SortOrder.Value")) ? "ASC" : GetString("
Ecom:Group:Field.SortOrder.Value");

string result = "{data:" + (string)NoblesCategoryTable.TableHelpers.GetTableContent(groupId, "LANG1", sortf


ieldname, sortOrder) + "}";
var data = Newtonsoft.Json.Linq.JObject.Parse(result);

<style>
.desc{
min-width:200px
}
.productTable.table,.productTable td {
border: 1px solid gray;
border-collapse: collapse;
}
.productTable th{
/*border-bottom: 3px solid #00539F!important;*/
border-collapse: collapse;
vertical-align:middle;
/*text-transform:uppercase;*/
font-weight:700;
}
.productTable th,.productTable td {

line-height:47px;
height:65px;
padding: 30px;
width: 700px;
text-align:center;
border-left: 0px;
border-right: 0px;
vertical-align:middle!important;

.no-border-column td {
border-style:none;
}
.productRow .btn{
display: inline-block;
position: relative;
font-size: 12px;
text-decoration: none;
color: #002395;
border:none;
height:20px;
font-family: Helveica, Arial, sans-serif;
background: transparent;
padding-left: 3px;
margin-right: 9px;
margin-top: -10px;
}
.productRow .btn:hover{
text-decoration: underline;
}
.productTable.table-striped tbody tr:nth-child(odd) {background: #F8FAFF!important;}
.productTable.table-striped tbody tr:nth-child(even) {background: #FFF;}
</style>
<div class="container">
<table class="productTable table table-striped">
<thead>
<tr style="color:#002395;">
<th>Name</th>
<th>ITEM #</th>
@foreach (LoopItem cat in GetLoop("GroupCategoryFields")){
<th>@cat.GetString("Ecom:Group.CategoryField.Label")</th>
}
<th> </th>
</tr>
</thead>
<tbody>

@foreach (LoopItem product in Loop){


string Image = product.GetString("Ecom:Product.ImageSmall.Default.Clean");
string GroupLink = product.GetString("Ecom:Product.LinkGroup.Clean");
string Name = product.GetString("Ecom:Product.Name");
string Description = product.GetString("Ecom:Product.ShortDescription");
string Discount = product.GetString("Ecom:Product.Discount.Price");
string Price = product.GetString("Ecom:Product.Price");
string ID = product.GetString("Ecom:Product.Number");
var livePrice=product.GetDouble("Ecom:Product.Price");
<tr class="productRow" id="@ID">

<td class="desc">@Name</td>
<td>@ID</td>
@foreach (LoopItem cat in GetLoop("GroupCategoryFields")){
var GroupCatId=GetString("Ecom:Group.Category.ID");
var CatFieldID=cat.GetString("Ecom:Group.CategoryField.ID");
var ProdCatFieldValueTag="Ecom:Product.CategoryField."+GroupCatId+"."+CatFieldID+".Value";

<td>@product.GetString(ProdCatFieldValueTag)</td>
}
@* <td>
@if(product.GetBoolean("Ecom:Product:Field.WebStore")){
if(product.GetDouble("Ecom:Product:Field.AXStock") > 0 && livePrice != 0.0)
{

<a class="btn btn-underline pull-left" href='/default.aspx?@GetValue("DwAreaCartPageID")&pr


oductid=@ID&cartcmd=add&quantity=1'><i class="fa fa-shopping-cart"></i> Add to cart</a>*@
}
@*foreach(LoopItem context in product.GetLoop("OrderContexts"))
{
<form method="post" role="form">
<input type="hidden" name="ProductID" value="@ID" />
<input type="hidden" name="OrderContext" value="@context.GetValue("OrderContext.ID")
"/>
<button type="submit" class="btn btn-underline pull-left" name="CartCmd" value="add"><i class
="fa fa-shopping-cart"></i> @Translate("Add to cart") (@context.GetValue("OrderContext.Name")) </button>
</form>
}

</td> *@
</tr>

}
</tbody>
</table>

</div>
}

@helper GetProductList(dynamic Loop, int ColMD=3, int ColSM=3, int ColXS=1)


{

string groupId = GetString("Ecom:Group.ID");


string sortfieldname= String.IsNullOrEmpty(GetString("Ecom:Group:Field.SortField.Value")) ? "ProductName" :
GetString("Ecom:Group:Field.SortField.Value");
string sortOrder= String.IsNullOrEmpty(GetString("Ecom:Group:Field.SortOrder.Value")) ? "ASC" : GetString("
Ecom:Group:Field.SortOrder.Value");
sortOrder= (sortOrder=="DESC") ? "ASC" : "DESC";
string result = (string)NoblesCategoryTable.TableHelpers.GetTableContent(groupId, "LANG1", sortfieldname, s
ortOrder);
var catData = Newtonsoft.Json.Linq.JArray.Parse(result);

<link rel="stylesheet" type ="text/css" href="files/templates/designs/dwsimple/css/footable.bootstrap.min.c


ss" />
<script type="text/javascript" src="files/templates/designs/dwsimple/js/footable.min.js"></script>

<style>
.desc{
min-width:200px
}
.productTable.table,.productTable td {
border: 1px solid gray;
border-collapse: collapse;
}
.productTable th{
/*border-bottom: 3px solid #00539F!important;*/
border-collapse: collapse;
vertical-align:middle;
/*text-transform:uppercase;*/
font-weight:700;
}
.productTable th,.productTable td {

line-height:47px;
height:65px;
padding: 30px;
width: 700px;
text-align:center;
border-left: 0px;
border-right: 0px;
vertical-align:middle!important;

.no-border-column td {
border-style:none;
}
.productRow .btn{
display: inline-block;
position: relative;
font-size: 12px;
text-decoration: none;
color: #002395;
border:none;
height:20px;
font-family: Helveica, Arial, sans-serif;
background: transparent;
padding-left: 3px;
margin-right: 9px;
margin-top: -10px;
}
.productRow .btn:hover{
text-decoration: underline;
}
.productTable.table-striped tbody tr:nth-child(odd) {background: #F8FAFF!important;}
.productTable.table-striped tbody tr:nth-child(even) {background: #FFF;}
</style>

if(catData.Count() > 0){


<br>
<h2 class="title" id="hSpec"> @Translate("Product Specs","Product Specifications")
</h2>
<div class="row">
<div id="divProduct" class="container">
<table class="productTable table table-striped">
<tr style="color:#002395;">
@{
Newtonsoft.Json.Linq.JObject thCcontent = catData.Children<Newtonsoft.Json.Linq.JObject>()
.First<Newtonsoft.Json.Linq.JObject>();
{
foreach (Newtonsoft.Json.Linq.JProperty thProp in thCcontent.Properties())
{
if(thProp.Name!="Name" && thProp.Name !="ITEM #"){
<th data-breakpoints="xs">@thProp.Name</th>
}else
{
<th>@thProp.Name</th>
}
}
}
}
</tr>
@foreach (Newtonsoft.Json.Linq.JObject tdContent in catData.Children<Newtonsoft.Json.Linq.JObjec
t>())
{
int i=0;
var desc="";
<tr>
@foreach (Newtonsoft.Json.Linq.JProperty tdProp in tdContent.Properties())
{
if(i==0) {
desc="desc";
i++;
}else {
desc="";
}
<td class="@desc">@tdProp.Value </td>
}
</tr>
}
</table>
</div>
</div>
}

}
<style>

h2.title{text-align:left;font-size:30px;color:#002395;}
h2.check-title{text-align:left;font-size:30px;color:#002395; margin-top:33px;}
/*h2.title::after,container::after,h2.check-title::after{content: "";display: table;clear: both;height: 3
0px;}*/
figcaption {
color: white;
display: block;
text-align: center;
margin-top: 50px;
margin-bottom: 50px;
width: 100%;
position: absolute;
top: 100px;
bottom:100px;
}
.ProductBox figcaption {
text-align: center;
border-top: none;
position:relative;
width:100%;height:100%;
bottom:0px;

}
}
.ProductBox figcaption:hover{
background:#feeeb2;
height:100%!important;
}
.ProductBox figure{
-webkit-margin-before: 1em;
-webkit-margin-after: 1em;
-webkit-margin-start: 0px;
-webkit-margin-end: 0px;

}
.ProductBox Figure img{
-webkit-padding-start: 5px;
-webkit-padding-end: 5px;
}
.ProductBox figure{
overflow:hidden;
/*height:200px;
border:1px solid #bbb;*/
text-align:center;
color:#002395;
margin-bottom:20px;
min-height:230px;
}
.ProductBox a{color:#002395;font-weight:400;}
.ProductBox a:hover{text-decoration:underline;}
.figurecaption:hover{background:#feeeb2;}
.text-left {
text-align: left!important;
}
.pimg-responsive{width:auto;height:200px;display:block;}
.product-details{overflow:hidden;}/*margin:10px;padding-left:50px;*/
.product-details ul,.product-details p{ }
.product-details ul li{ padding: 0;margin: 0 0 0.25em 0;}

.title{
font-size: 4em;
color: #FDC600;

font-weight: 300;
letter-spacing: 0;
text-align: center;

.subtitle{
font-size: 33px;
color: #FFFFFF;
line-height: 1;
text-transform: none;
font-weight: 300;
letter-spacing: 0;
width: 100%;
max-width: 680px;
margin: 0 auto;
text-indent: -30px !important;
}

</style>

<!--////////////////////////////////Product Main Page with all subcategories///////////////////////////////


/////////////-->
@if (string.IsNullOrWhiteSpace(GetString("Ecom:ProductList:Page.GroupID")))
{<div >
@foreach(LoopItem group in GetLoop("ProductGroups")){

if(group.GetLoop("Childgroups").Count()==0)
{
string groupID =
group.GetString("Ecom:Group.ID");
string groupName =
group.GetString("Ecom:ProductList:Page.GroupName");
string groupImage =
group.GetString("Ecom:Group.SmallImage");
string groupLink =
group.GetString("Ecom:Group.Link.Clean");
string groupLink2 =
group.GetString("Ecom:Group.Link");
string groupDesc =
group.GetString("Ecom:Group.Description");
string groupMissImage = g
roup.GetString("Ecom:Group.LargeImage");

if(groupID != "GROUP454" && group.G


etBoolean("Ecom:Group.ShowInMenu")==true){
<div class="col-md-2 ProductBox">
<figure>
<a href="@groupLink">
@if(!string.IsNullOrWhiteSpace(groupImage)){
<img src="@groupImage" width="100%" alt="groupimage">
}
else{<img src="@groupMissImage" width="100%" >}
</a>

<a href="@groupLink"> @groupLink2 </a>


</figure>
</div>
}
}

}
</div>

else{

if(GetLoop("Childgroups").Count()!=0)
{
string globalgroupID = GetString("Ecom:Group.ID");
string globalgroupName = GetString("Ecom:ProductList:Page.GroupName");
string globalgroupImage = GetString("Ecom:Group:Field.GroupImage");

string globalgrouppdf = GetString("Ecom:Group.Field.Grouppdf");


string globalgroupdownloadpdf = GetString("Ecom:Group.Field.GroupDownloadPdf");
string globalgroupLink = GetString("Ecom:Group.Link.Clean");@*+"&SortBy="+Ge
tString("Ecom:Group:Field.SortField.Value")+"&SortOrder="+GetString("Ecom:Group:Field.SortOrder.Value"); *@

string globalgroupDesc = GetString("Ecom:Group.Description");


string globalMetaDesc = GetString("Ecom:Group.MetaDescription");

<!-- header banner for subcategory -->


if(!string.IsNullOrWhiteSpace(globalgroupImage)){
<div style="padding-top:30px;" id="groupImg">
<figure><img src="/Admin/Public/Getimage.ashx?width=1920&amp;compression=75&amp;Crop=5&amp;image=@g
lobalgroupImage" alt="groupimage" style="width:100%;height:300px;border:1px solid #ccc">
<figcaption>
<div class="text-center">
<div>
<div style="text-align:center">
<span class="title dw-carousel-caption">@globalgroupName</span>
</div>
<div "text-align:center">
<span class="subtitle dw-carousel-caption" >@globalMetaDesc </span>
</div>
<span class="clearfix"><p>&nbsp;</p></span>
</div>
</div>
</figcaption>
</figure>
</div>
}
else{
<div class="row" style="min-height:300px">
<figure>
<img src="" alt="groupimage" style="width:100%;height:300px;border:1px solid #ccc">
<figcaption>
<div class="text-center">
<div>
<div>
<span class="title dw-carousel-caption">@globalgroupName</span>
</div>
<div>
<span class="subtitle dw-carousel-caption">@globalMetaDesc</span>
</div>
<span class="clearfix"><p>&nbsp;</p></span>
</div>
</div>
</figcaption>
</figure>
</div>
}

@*<div class="container learn" style="text-align:center">


<a>Learn More</a>
</div>*@

<div class=""> <!--learn-more-container -->

<div class="col-md-12" style="padding-left:1px;">


<br/>

@*<div>@globalgroupName <p>@globalgroupID</p></div>*@
<div>@globalgroupDesc</div>

</div>
</div>

<!-- header banner for subcategory end -->

<div >

@foreach(LoopItem group in GetLoop("Childgroups"))


{
if(group.GetLoop("Childgroups").Count()!=0)
{
foreach(LoopItem childgroup in group.GetLoop("Childgroups"))
{
string groupID = childgroup.GetString("Ecom:Group.ID");
string groupName = childgroup.GetString("Ecom:ProductList:Page
.GroupName");
string groupImage = childgroup.GetString("Ecom:Group.SmallImage");

string groupLink = childgroup.GetString("Ecom:Group.Link.Clean


");@*+"&SortBy="+childgroup.GetString("Ecom:Group:Field.SortField.Value")+"&SortOrder="+childgroup.GetStrin
g("Ecom:Group:Field.SortOrder.Value");*@
string groupLink2 = childgroup.GetString("Ecom:Group.Link");
string groupDesc = childgroup.GetString("Ecom:Group.Descriptio
n");
string groupPdf = childgroup.GetString("Ecom:Group:Field.Grouppdf
");
string groupDownloadpdf = childgroup.GetString("Ecom:
Group:Field.Groupdownloadpdf");
string groupMissImage = childgroup.GetString("E
com:Group.LargeImage");

if(groupID != "GROUP454" && childgroup.GetBoolean("Ecom:G


roup.ShowInMenu")==true){
<div class="col-md-2 ProductBox">
<figure>
<a href="@groupLink">
@if(!string.IsNullOrWhiteSpace(groupImage)){
<img src="@groupImage" width="100%" alt="groupimage">
}
else{<img src="@groupMissImage" width="100%" >}
</a>

<a href="@groupLink"> @childgroup.GetString("Ecom:Group.Name") </a>


</figure>

</div>
}
}
}
else{

string groupID = group.GetString("Ecom:Group.ID");


string groupName = group.GetString("Ecom:ProductList:Page.GroupName");
string groupImage = group.GetString("Ecom:Group.SmallImage");
string groupNextImage = group.GetString("Ecom:Group:Field.GroupImag
e");
string groupLink = group.GetString("Ecom:Group.Link.Clean");@*+"&SortB
y="+group.GetString("Ecom:Group:Field.SortField.Value")+"&SortOrder="+group.GetString("Ecom:Group:Field.Sor
tOrder.Value");*@
string groupLink2 = group.GetString("Ecom:Group.Link");
string groupDesc = group.GetString("Ecom:Group.Description");
string groupPdf = group.GetString("Ecom:Group:Field.GroupPdf"
);
string groupDownloadpdf = group.GetString("Ecom:Group:Field.GroupDown
loadPdf");
string groupMissImage = group.GetString("Ecom:Group.LargeImage"
);

if(groupID != "GROUP454" && group.GetBoolean("Ecom:Group.ShowInMenu")==true


){
<div class="col-md-2 ProductBox">
<figure>
<a href="@groupLink">
@if(!string.IsNullOrWhiteSpace(groupImage)){
<img src="@groupImage" width="100%" alt="groupimage">
}
else{<img src="@groupMissImage" width="100%" >}
</a>

<a href="@groupLink"> @group.GetString("Ecom:Group.Name") </a>

</figure>

</div>
}
}

}</div>
}

else{ <!-----------------------------------------------product family page -------------------------------


--------------->
string globalgroupID = GetString("Ecom:Group.ID");

string globalgroupName = GetString("Ecom:ProductList:Page.GroupName"


);
string globalgroupImage = GetString("Ecom:Group.SmallImage");
string globalgroupLImage = GetString("Ecom:Group.Large
Image");
string globalgroupNextImage = GetString("Ecom:Group:Field.GroupIm
age");
string globalgroupLink = GetString("Ecom:Group.Link.Clean");@*+"&Sor
tBy="+GetString("Ecom:Group:Field.SortField.Value")+"&SortOrder="+GetString("Ecom:Group:Field.SortOrder.Val
ue"); *@
string globalgroupDesc = GetString("Ecom:Group.Description");
string globalgroupPdf1 = GetString("Ecom:Group:Field.Grouppdf");
string DownloadPdf1Label = GetString("Ecom:Group:Field.GroupDownloadPdf");
string globalgroupPdf2 = GetString("Ecom:Group:Field.Grouppdf2")
;
string DownloadPdf2Label = GetString("Ecom:Group:Field.GroupDownloadPdf2");
string globalgroupPdf3 = GetString("Ecom:Group:Field.Grouppdf3")
;
string DownloadPdf3Label = GetString("Ecom:Group:Field.GroupDownloadPdf3");
string VendorLogo = GetString("Ecom:Gro
up:Field.VendorLogo");
<!-- header banner for family -->
<div class="product-details" style="min-height:950px;">
<div class="col-md-12 col-sm-12 col-xs-12" style="padding-left:0px;">
<h2 class="check-title">@globalgroupName</h2>
<div class="">
<div>@globalgroupDesc</div>

</div>
<div class="container" style="overflow:hidden;">
<div class="col-md-9 col-sm-12 col-xs-12">
<img src="@globalgroupLImage" class="col-md-6 col-sm-6 col-xs-6 pimg-respon
sive">
@if(!string.IsNullOrWhiteSpace(globalgroupNextImage)){
<img src="@globalgroupNextImage" class="col-md-6 col-sm-6 col-xs-6 pimg-re
sponsive">
}
</div>
<div class="col-md-3 col-sm-12 col-xs-12">
@if(!string.IsNullOrWhiteSpace(VendorLogo)){
<img src='@VendorLogo' style='margin-top:20px;width:150px;'>
}
</div>
</div>
</div>
</div>

<!-- header banner for family end -->

@GetProductList(GetLoop("Products"),3)

}
}
<script>
$(".learn-more-container").hide();
$(".learn").click(function(){
var temp=$(this).next();
if ( $(temp).is( ":hidden" ) )
$(temp).slideDown();
else
$(temp).slideUp();
});

$(".slide").slick({
slidesToShow: 1,
slidesToScroll: 1,
arrows: false,
dots: true,
infinite: true,
fade: true
});

$( document ).ready(function(){

$("img").each(function(){
$(this).attr("src",$(this).attr("src").replace("//","/"));
});
});

</script>

Uncontrolled version printed 14-Dec-2017 .See www.nobles.com.au for latest up-to-date product information.

You might also like