Subversion Repositories SmartDukaan

Rev

Rev 7899 | Go to most recent revision | 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>
3827 rajveer 36
						<div class="price">
6241 amit.gupta 37
							\#if ($SHOW_PRICE=="FALSE")
7853 amit.gupta 38
								<span id="mrp" class="red bold">Coming Soon!</span>
6207 amit.gupta 39
							\#else	
5162 phani.kuma 40
							<div class="left rupeeimage"></div>
7853 amit.gupta 41
								\#if($item.SHOWMRP.equals("true"))
42
									<span id="mrp" class="mrp bold">$item.MRP</span>
43
								\#end
44
									<span id="sp" class="list-price red bold">$item.SP</span>
45
								\#if($item.SHOWMRP.equals("true"))
46
									<span class="price-diff">(<span id="saving" style="color:grey">$item.SAVING</span>% off)</span>
47
								\#end
48
								\#if($EMI)
7899 amit.gupta 49
									<span class="mk_emi" style="font-size: 14px;"> | EMIs from <span class="red">Rs.$EMI</span> per month
7853 amit.gupta 50
									<a style="padding-left:2px" href="javascript:void(0)" id="emi_more"><img style="vertical-align: middle;" src="/unversioned/images/quesmark.png"></a>
51
									</span>
52
								\#end
53
							\#end
3827 rajveer 54
						</div>
9939 amit.gupta 55
						\#if($OFFER_TEXT)
56
						<div class="red" style="font-weight:bold;padding-bottom:6px">$OFFER_TEXT
57
						\#if($OFFER_DETAIL_TEXT && $IS_STORE=="FALSE")
58
							<script type="text/javascript">
59
							var OFFER_HELP_TEXT = "$OFFER_DETAIL_TEXT";
60
							var OFFER_HELP_LINK = "$OFFER_DETAIL_LINK";
61
							</script>
62
						 <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>
63
						\#end
64
						</div>
65
					\#end
3827 rajveer 66
					</div>
7853 amit.gupta 67
 
3827 rajveer 68
					<div class="container-color-selector left">
69
						\#if(!(($itemDetails.size() == 1) && (!($itemDetails.get(0).COLOR)) || ($itemDetails.get(0).COLOR=="NA") || ($itemDetails.get(0).COLOR=="")))
70
							<div class="label">Choose Color ($itemDetails.size())</div>
71
							<select id="colorSelector">
4933 amit.gupta 72
                                <option>Getting Colors....</option>
4129 mandeep.dh 73
							\#foreach($itemLocal in $itemDetails)
4981 rajveer 74
								<option value="$itemLocal.ITEM_ID" >$itemLocal.COLOR</option>
3827 rajveer 75
							\#end
76
							</select>
77
						\#end
78
					</div>
9939 amit.gupta 79
 
3827 rajveer 80
					<div class="shipping left">
81
						<div class="label">Check Delivery Time for Area PIN Code:</div>
82
						<div id="shippingEstimate" class="left">
83
							<input type="text" id="zipcode" class="searchbox left bold" value="110001" />
84
							<button id="computeShippingEstimate" class="button left">GO</button>
85
							<label for="zipcode" class="left">Area PIN Code</label>
86
						</div>
87
						<div class="estimate left">
7896 rajveer 88
							<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 89
							<div id="shipping_time_1" style="display:none">This Location is not serviceable</div>
7899 amit.gupta 90
							<div id="cod" \#if ($minPriceItem.getSellingPrice() > 26000) style="display:none" \#end>You can pay by <span class="red">Cash on Delivery</span></div>
91
							<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 92
						</div>
93
					</div>
6021 amit.gupta 94
					\#if ($AFTER_ARRIVAL)  
95
					<a id="addToCart" class="left" style="height: 39px; padding: 9px 0px 6px;">Tell me when available</a>
96
					\#else
7853 amit.gupta 97
					<a id="addToCart" class="left">BUY NOW</a>
6021 amit.gupta 98
					\#end
3827 rajveer 99
				</div>
4129 mandeep.dh 100
				<input id="item_id" name="item_id" value="$item.ITEM_ID" type="hidden" />
101
				<input id="catalog_id" name="catalog_id" value="$item.CATALOG_ID" type="hidden" />
3827 rajveer 102
				<input type="hidden" value="$params.CATALOG_ID" id="product_id" name="">
103
				<!-- /Product Detail -->