| 2433 |
rajveer |
1 |
<script>
|
|
|
2 |
var PARAMETERS = {
|
|
|
3 |
\#foreach($item in $itemDetails)
|
|
|
4 |
\#if($velocityCount == 1)
|
|
|
5 |
$item.ITEM_ID : { "ITEM_ID" : "$item.ITEM_ID", "SP" : "$item.SP", "MRP" : "$item.MRP", "SAVING" : "$item.SAVING", "COLOR" : "$item.COLOR" }
|
|
|
6 |
\#else
|
|
|
7 |
,$item.ITEM_ID : { "ITEM_ID" : "$item.ITEM_ID", "SP" : "$item.SP", "MRP" : "$item.MRP", "SAVING" : "$item.SAVING", "COLOR" : "$item.COLOR" }
|
|
|
8 |
\#end
|
|
|
9 |
|
|
|
10 |
\#end
|
|
|
11 |
} ;
|
|
|
12 |
|
|
|
13 |
</script>
|
|
|
14 |
|
|
|
15 |
<!-- Product detail -->
|
|
|
16 |
<div id="productDetail">
|
|
|
17 |
<div class="top">
|
|
|
18 |
<div class="left">
|
|
|
19 |
<div class="right">
|
|
|
20 |
|
|
|
21 |
</div>
|
|
|
22 |
</div>
|
|
|
23 |
</div>
|
|
|
24 |
|
|
|
25 |
<div class="middle">
|
|
|
26 |
|
|
|
27 |
<div class="content">
|
|
|
28 |
|
|
|
29 |
<div class="blockLeft">
|
|
|
30 |
<!-- breadcrumb -->
|
|
|
31 |
<div id="breadcrumb">
|
|
|
32 |
<a href="/home">Home</a> >
|
|
|
33 |
<a href="/$params.CATEGORY_URL">$params.CATEGORY_NAME</a> >
|
|
|
34 |
<a #if($params.IS_MOBILE=="TRUE") href="/$params.BRAND_NAME.toLowerCase().replace(' ', '-')" #end class="deselect">$params.BRAND_NAME</a>
|
|
|
35 |
<a class="deselect">$params.PRODUCT_NAME</a>
|
|
|
36 |
</div>
|
|
|
37 |
<!-- /breadcrumb -->
|
|
|
38 |
|
|
|
39 |
<h1 id="productHeading">$params.TITLE
|
|
|
40 |
## if there is only one item and that has color as empty, NA or null it will not
|
|
|
41 |
\#if(!(($itemDetails.size() == 1) && (!($itemDetails.get(0).COLOR)) || ($itemDetails.get(0).COLOR=="NA") || ($itemDetails.get(0).COLOR=="")))
|
|
|
42 |
<select class="colorselector" id="colorselector" name="colorselector">
|
|
|
43 |
\#foreach($item in $itemDetails)
|
|
|
44 |
<option value="$item.ITEM_ID" $item.IS_SELECTED >$item.COLOR</option>
|
|
|
45 |
\#end
|
|
|
46 |
</select>
|
|
|
47 |
\#end
|
|
|
48 |
</h1>
|
|
|
49 |
<h2 id="productSubHeading">$params.TAGLINE</h2>
|
|
|
50 |
\#set($item = $itemDetails.get(0))
|
|
|
51 |
All Inclusive Price: <span class="finalPrice">Rs</span>
|
|
|
52 |
\#if($item.SHOWMRP.equals("true"))
|
|
|
53 |
<span id="mrp" class="mrpPrice">$item.MRP</span>
|
|
|
54 |
\#end
|
|
|
55 |
<span id="sp" class="finalPrice">$item.SP </span>
|
|
|
56 |
\#if($item.SHOWMRP.equals("true"))
|
|
|
57 |
(<span id="saving">$item.SAVING</span>% saving)
|
|
|
58 |
\#end
|
|
|
59 |
|
|
|
60 |
<div class="lineHeight_10px"> </div>
|
|
|
61 |
|
|
|
62 |
#if($params.WARRANTY && $params.WARRANTY != "")
|
|
|
63 |
<span> $params.WARRANTY manufacturer warranty</span> <br />
|
|
|
64 |
<div class="lineHeight_10px"> </div>
|
|
|
65 |
#else
|
|
|
66 |
<span> </span> <br />
|
|
|
67 |
<div class="lineHeight_10px"> </div>
|
|
|
68 |
#end
|
|
|
69 |
|
|
|
70 |
<div class="floatLeft"><label for="zipcode">Ships to: </label></div>
|
|
|
71 |
<div class="imgTextBox textbox-image">
|
|
|
72 |
<input type="text" id="zipcode" name="zipcode" value="110001" class="textbox" maxlength="6" onSubmit="updateEstimate()" onblur="updateEstimate()" />
|
|
|
73 |
</div>
|
|
|
74 |
|
|
|
75 |
<div id="shipTime">
|
|
|
76 |
<span id="shipping_time"> within <span id="days"></span> business days</span>
|
|
|
77 |
</div>
|
|
|
78 |
|
|
|
79 |
<div class="img"><a href="#"><img src="/images/buttons/free-shipping.jpg" width="111" height="13" alt="Free Shipping" title="Free Shipping" /></a></div>
|
|
|
80 |
|
|
|
81 |
<div class="clearBoth"></div>
|
|
|
82 |
</div>
|
|
|
83 |
|
|
|
84 |
<div class="blockRight">
|
|
|
85 |
<!-- add to cart -->
|
|
|
86 |
<input id="item_id" name="item_id" value=$item.ITEM_ID type="hidden" />
|
|
|
87 |
<input id="catelog_id" name="catalog_id" value=$item.CATALOG_ID type="hidden" />
|
|
|
88 |
<div class="bigImgButton yellow-image">
|
|
|
89 |
<input type="button" alt="Buy This Item" value=" Add to Cart >> " class="button" id="addcart" />
|
|
|
90 |
</div>
|
|
|
91 |
<!-- add to cart -->
|
|
|
92 |
|
|
|
93 |
</div>
|
|
|
94 |
<div class="clearBoth"></div>
|
|
|
95 |
</div>
|
|
|
96 |
</div>
|
|
|
97 |
|
|
|
98 |
<div class="bottom">
|
|
|
99 |
<div class="left">
|
|
|
100 |
<div class="right">
|
|
|
101 |
|
|
|
102 |
</div>
|
|
|
103 |
</div>
|
|
|
104 |
</div>
|
|
|
105 |
</div>
|
|
|
106 |
<!-- /Product detail -->
|
|
|
107 |
|
|
|
108 |
<!-- Start Social Bar -->
|
|
|
109 |
<div id="actionBar">
|
|
|
110 |
<div class="left">
|
|
|
111 |
<div class="right">
|
|
|
112 |
<div class="center">
|
|
|
113 |
|
|
|
114 |
<div class="blockLeft">
|
|
|
115 |
|
|
|
116 |
<div class="smallImgButton btnWidth2_IE7 yellow-image">
|
|
|
117 |
<input type="button" id="util_addnewresearch" class="button" value="Add to Research" onclick="javascript:addResearch('', 'single')" title="Add to Reasearch" name="">
|
|
|
118 |
</div>
|
|
|
119 |
|
|
|
120 |
#if($params.IS_MOBILE=="TRUE")
|
|
|
121 |
<div class="smallImgButton btnWidth1_IE7 yellow-image" style="margin-left:8px" >
|
|
|
122 |
<input type="button" title="Compare" class="button" value="Compare with" id="util_compare">
|
|
|
123 |
</div>
|
|
|
124 |
#end
|
|
|
125 |
|
|
|
126 |
<input type="hidden" value="$params.CATALOG_ID" id="product_id" name="">
|
|
|
127 |
<div class="clearBoth"></div>
|
|
|
128 |
</div>
|
|
|
129 |
|
|
|
130 |
<div class="blockRight">
|
|
|
131 |
<div class="fblikeDiv"><div id="fb-root"></div>
|
|
|
132 |
<iframe src="http://www.facebook.com/plugins/like.php?href=$params.PRODUCT_URL&layout=button_count&show_faces=true&width=120&action=like&font&colorscheme=light&height=23" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:120px; height:23px;" allowTransparency="true"></iframe>
|
|
|
133 |
</div>
|
|
|
134 |
<span id="plusone">
|
|
|
135 |
<g:plusone size="medium"></g:plusone>
|
|
|
136 |
</span>
|
|
|
137 |
<div class="tweetDiv">
|
|
|
138 |
<a href="http://twitter.com/share" class="twitter-share-button" data-text="I chkd out $params.TITLE at" data-count="horizontal" data-via="saholic_" style="margin-top:3">Tweet</a><script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script>
|
|
|
139 |
</div>
|
|
|
140 |
</div>
|
|
|
141 |
<div class="clearBoth"></div>
|
|
|
142 |
|
|
|
143 |
</div>
|
|
|
144 |
</div>
|
|
|
145 |
</div>
|
|
|
146 |
</div>
|