Subversion Repositories SmartDukaan

Rev

Rev 9939 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
3827 rajveer 1
<!-- Product Detail -->
2
				<div id="productDetail">
3
					<script type="text/javascript">
2433 rajveer 4
var PARAMETERS = {
5
    \#foreach($item in $itemDetails)
6
      \#if($velocityCount == 1)
7
        $item.ITEM_ID : { "ITEM_ID" : "$item.ITEM_ID", "SP" : "$item.SP", "MRP" : "$item.MRP", "SAVING" : "$item.SAVING", "COLOR" : "$item.COLOR" }
8
      \#else
9
      ,$item.ITEM_ID : { "ITEM_ID" : "$item.ITEM_ID", "SP" : "$item.SP", "MRP" : "$item.MRP", "SAVING" : "$item.SAVING", "COLOR" : "$item.COLOR" }
10
    \#end
11
 
12
  \#end  
3827 rajveer 13
};
6792 vikram.rag 14
 
3827 rajveer 15
					</script>
4025 rajveer 16
 
17
					<div class="product-main-title">
7853 amit.gupta 18
						<div class="name">
19
							<span class="brand">$params.BRAND_NAME</span>
20
							<span class="product-name">$params.PRODUCT_NAME</span>
21
						</div>
22
						<div class="desc">
23
						$params.TAGLINE
24
						</div>
3827 rajveer 25
					</div>
26
					<div class="price-n-warranty left">
27
						\#set($item = $itemDetails.get(0))
7853 amit.gupta 28
						<div class="warranty">
29
							<label class="bold">
30
						#if($params.WARRANTY && $params.WARRANTY != "")
31
							$params.WARRANTY |
32
                        #end
33
                        With proper bill
34
                        	</label>
35
						</div>
12052 amit.gupta 36
						<div class="mk_nodeal">
3827 rajveer 37
						<div class="price">
6241 amit.gupta 38
							\#if ($SHOW_PRICE=="FALSE")
7853 amit.gupta 39
								<span id="mrp" class="red bold">Coming Soon!</span>
6207 amit.gupta 40
							\#else	
5162 phani.kuma 41
							<div class="left rupeeimage"></div>
7853 amit.gupta 42
								\#if($item.SHOWMRP.equals("true"))
43
									<span id="mrp" class="mrp bold">$item.MRP</span>
44
								\#end
45
									<span id="sp" class="list-price red bold">$item.SP</span>
46
								\#if($item.SHOWMRP.equals("true"))
47
									<span class="price-diff">(<span id="saving" style="color:grey">$item.SAVING</span>% off)</span>
48
								\#end
49
								\#if($EMI)
7899 amit.gupta 50
									<span class="mk_emi" style="font-size: 14px;"> | EMIs from <span class="red">Rs.$EMI</span> per month
7853 amit.gupta 51
									<a style="padding-left:2px" href="javascript:void(0)" id="emi_more"><img style="vertical-align: middle;" src="/unversioned/images/quesmark.png"></a>
52
									</span>
53
								\#end
54
							\#end
3827 rajveer 55
						</div>
9939 amit.gupta 56
						\#if($OFFER_TEXT)
57
						<div class="red" style="font-weight:bold;padding-bottom:6px">$OFFER_TEXT
58
						\#if($OFFER_DETAIL_TEXT && $IS_STORE=="FALSE")
59
							<script type="text/javascript">
60
							var OFFER_HELP_TEXT = "$OFFER_DETAIL_TEXT";
61
							var OFFER_HELP_LINK = "$OFFER_DETAIL_LINK";
62
							</script>
63
						 <a class="mk_best_deal_detail" href="javascript:void(0)"  style="padding-left:2px"><img src="/unversioned/images/quesmark.png" style="vertical-align: middle;"></a>
64
						\#end
65
						</div>
66
					\#end
3827 rajveer 67
					</div>
12052 amit.gupta 68
					<div class="mk_deal left" style="background-color:yellow;display:none;padding:4px"></div></div>
7853 amit.gupta 69
 
3827 rajveer 70
					<div class="container-color-selector left">
71
						\#if(!(($itemDetails.size() == 1) && (!($itemDetails.get(0).COLOR)) || ($itemDetails.get(0).COLOR=="NA") || ($itemDetails.get(0).COLOR=="")))
72
							<div class="label">Choose Color ($itemDetails.size())</div>
73
							<select id="colorSelector">
4933 amit.gupta 74
                                <option>Getting Colors....</option>
4129 mandeep.dh 75
							\#foreach($itemLocal in $itemDetails)
4981 rajveer 76
								<option value="$itemLocal.ITEM_ID" >$itemLocal.COLOR</option>
3827 rajveer 77
							\#end
78
							</select>
79
						\#end
80
					</div>
9939 amit.gupta 81
 
3827 rajveer 82
					<div class="shipping left">
83
						<div class="label">Check Delivery Time for Area PIN Code:</div>
84
						<div id="shippingEstimate" class="left">
85
							<input type="text" id="zipcode" class="searchbox left bold" value="110001" />
86
							<button id="computeShippingEstimate" class="button left">GO</button>
87
							<label for="zipcode" class="left">Area PIN Code</label>
88
						</div>
89
						<div class="estimate left">
7896 rajveer 90
							<div id="shipping_time">Free Delivery \#if ($AFTER_ARRIVAL) in \#else by \#end <label class="cod" style="display:none"></label><label class="red"><img src='/unversioned/images/loader_l.gif'></label> \#if ($AFTER_ARRIVAL) $AFTER_ARRIVAL \#end <span><a id="cod_know_more" style="display:none" href="javascript:void(0)" style="padding-left:2px"><img src="/unversioned/images/quesmark.png" style="vertical-align: middle;"></a></span></div>
5232 amit.gupta 91
							<div id="shipping_time_1" style="display:none">This Location is not serviceable</div>
7899 amit.gupta 92
							<div id="cod" \#if ($minPriceItem.getSellingPrice() > 26000) style="display:none" \#end>You can pay by <span class="red">Cash on Delivery</span></div>
93
							<div  \#if ($minPriceItem.getSellingPrice() < 2000) style="display:none" \#end id="otg">On Time Guarantee <span class="red">We Pay if we Delay</span><a id="otg_know_more" href="javascript:void(0)" style="padding-left:2px"><img src="/unversioned/images/quesmark.png" style="vertical-align: middle;"></a></div>
3827 rajveer 94
						</div>
95
					</div>
6021 amit.gupta 96
					\#if ($AFTER_ARRIVAL)  
97
					<a id="addToCart" class="left" style="height: 39px; padding: 9px 0px 6px;">Tell me when available</a>
98
					\#else
7853 amit.gupta 99
					<a id="addToCart" class="left">BUY NOW</a>
6021 amit.gupta 100
					\#end
3827 rajveer 101
				</div>
4129 mandeep.dh 102
				<input id="item_id" name="item_id" value="$item.ITEM_ID" type="hidden" />
103
				<input id="catalog_id" name="catalog_id" value="$item.CATALOG_ID" type="hidden" />
3827 rajveer 104
				<input type="hidden" value="$params.CATALOG_ID" id="product_id" name="">
105
				<!-- /Product Detail -->