Subversion Repositories SmartDukaan

Rev

Rev 6588 | Rev 6621 | 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
};
14
					</script>
4025 rajveer 15
 
16
					<div class="product-main-title">
17
					\#if($OFFER_TEXT)
5162 phani.kuma 18
					<div class="left offer-image"></div>
4025 rajveer 19
					\#end
3827 rajveer 20
					<div class="name">
21
						<span class="brand">$params.BRAND_NAME</span>
22
						<span class="product-name">$params.PRODUCT_NAME</span>
23
					</div>
4025 rajveer 24
					<div class="desc">
25
						\#if($OFFER_TEXT)
26
							$OFFER_TEXT
27
						\#else
28
							$params.TAGLINE
29
						\#end
30
					</div>
31
					</div>
3827 rajveer 32
					<div class="price-n-warranty left">
33
						\#set($item = $itemDetails.get(0))
34
						<div class="price">
5162 phani.kuma 35
							<span class="left label">All Inclusive Price:</span>
6241 amit.gupta 36
							\#if ($SHOW_PRICE=="FALSE")
6207 amit.gupta 37
								<span id="mrp" class="red bold">&nbsp;&nbsp;Coming Soon!</span>
38
							\#else	
5162 phani.kuma 39
							<div class="left rupeeimage"></div>
3827 rajveer 40
						\#if($item.SHOWMRP.equals("true"))
41
							<span id="mrp" class="mrp bold">$item.MRP</span>
42
						\#end
43
							<span id="sp" class="list-price red bold">$item.SP</span>
44
						\#if($item.SHOWMRP.equals("true"))
45
							<span class="price-diff">(<span id="saving">$item.SAVING</span>% off)</span>
46
						\#end
6207 amit.gupta 47
						\#end
3827 rajveer 48
						</div>
3887 mandeep.dh 49
						<div class="warranty">
3827 rajveer 50
						#if($params.WARRANTY && $params.WARRANTY != "")
3887 mandeep.dh 51
							<label class="bold">$params.WARRANTY</label><br />
3870 mandeep.dh 52
                        #end
3887 mandeep.dh 53
                        With proper bill
3827 rajveer 54
						</div>
55
					</div>
56
					<div class="container-color-selector left">
57
						\#if(!(($itemDetails.size() == 1) && (!($itemDetails.get(0).COLOR)) || ($itemDetails.get(0).COLOR=="NA") || ($itemDetails.get(0).COLOR=="")))
58
							<div class="label">Choose Color ($itemDetails.size())</div>
59
							<select id="colorSelector">
4933 amit.gupta 60
                                <option>Getting Colors....</option>
4129 mandeep.dh 61
							\#foreach($itemLocal in $itemDetails)
4981 rajveer 62
								<option value="$itemLocal.ITEM_ID" >$itemLocal.COLOR</option>
3827 rajveer 63
							\#end
64
							</select>
65
						\#end
66
					</div>
67
					<div class="shipping left">
68
						<div class="label">Check Delivery Time for Area PIN Code:</div>
69
						<div id="shippingEstimate" class="left">
70
							<input type="text" id="zipcode" class="searchbox left bold" value="110001" />
71
							<button id="computeShippingEstimate" class="button left">GO</button>
72
							<label for="zipcode" class="left">Area PIN Code</label>
73
						</div>
74
						<div class="estimate left">
6587 amit.gupta 75
							<div id="shipping_time">Free Shipping in <label class="red">3 Business Days</label> \#if ($AFTER_ARRIVAL) $AFTER_ARRIVAL \#end</div>
5232 amit.gupta 76
							<div id="shipping_time_1" style="display:none">This Location is not serviceable</div>
3827 rajveer 77
							<div id="cod">You can pay by <span class="red">Cash on Delivery</span></div>
6599 amit.gupta 78
							<div style="display:none;" id="otg"><span class="red">On Time Guarantee</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 79
						</div>
80
					</div>
6021 amit.gupta 81
					\#if ($AFTER_ARRIVAL)  
82
					<a id="addToCart" class="left" style="height: 39px; padding: 9px 0px 6px;">Tell me when available</a>
83
					\#else
3827 rajveer 84
					<a id="addToCart" class="left">ADD TO CART</a>
6021 amit.gupta 85
					\#end
3827 rajveer 86
				</div>
4129 mandeep.dh 87
				<input id="item_id" name="item_id" value="$item.ITEM_ID" type="hidden" />
88
				<input id="catalog_id" name="catalog_id" value="$item.CATALOG_ID" type="hidden" />
3827 rajveer 89
				<input type="hidden" value="$params.CATALOG_ID" id="product_id" name="">
90
				<!-- /Product Detail -->