Professional Documents
Culture Documents
Wire Rope Slings
Wire Rope Slings
Wire Rope Slings
Object Moved
@using System.Text.RegularExpressions
@using System.Web
@using System
@using System.Data.SqlClient
@using System.Collections.Generic
@using System.Linq
@functions{
public NoblesProduct()
{
this.Cats = new List<dynamic>();
this.OrderContex = new List<LoopItem>();
}
}
}
public class WrapMethods
{
public static ChildGroupList getChildgroups(string parent){
ChildGroupList result = new ChildGroupList();
var gplist=Dynamicweb.Ecommerce.Products.Group.GetGroupById(parent).Subgroups;
map_data.Add(row);
}
conn.Close();
}
catch (Exception ex)
{
}
}
return map_data;
}
return value;
}
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;
}
<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>
<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)
{
</td> *@
</tr>
}
</tbody>
</table>
</div>
}
<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>
}
<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>
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");
}
</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");
@*<div>@globalgroupName <p>@globalgroupID</p></div>*@
<div>@globalgroupDesc</div>
</div>
</div>
<div >
</div>
}
}
}
else{
</figure>
</div>
}
}
}</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>
@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.