Subversion Repositories SmartDukaan

Rev

Rev 6021 | Rev 6207 | 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>
36
							<div class="left rupeeimage"></div>
3827 rajveer 37
						\#if($item.SHOWMRP.equals("true"))
38
							<span id="mrp" class="mrp bold">$item.MRP</span>
39
						\#end
40
							<span id="sp" class="list-price red bold">$item.SP</span>
41
						\#if($item.SHOWMRP.equals("true"))
42
							<span class="price-diff">(<span id="saving">$item.SAVING</span>% off)</span>
43
						\#end
44
						</div>
3887 mandeep.dh 45
						<div class="warranty">
3827 rajveer 46
						#if($params.WARRANTY && $params.WARRANTY != "")
3887 mandeep.dh 47
							<label class="bold">$params.WARRANTY</label><br />
3870 mandeep.dh 48
                        #end
3887 mandeep.dh 49
                        With proper bill
3827 rajveer 50
						</div>
51
					</div>
52
					<div class="container-color-selector left">
53
						\#if(!(($itemDetails.size() == 1) && (!($itemDetails.get(0).COLOR)) || ($itemDetails.get(0).COLOR=="NA") || ($itemDetails.get(0).COLOR=="")))
54
							<div class="label">Choose Color ($itemDetails.size())</div>
55
							<select id="colorSelector">
4933 amit.gupta 56
                                <option>Getting Colors....</option>
4129 mandeep.dh 57
							\#foreach($itemLocal in $itemDetails)
4981 rajveer 58
								<option value="$itemLocal.ITEM_ID" >$itemLocal.COLOR</option>
3827 rajveer 59
							\#end
60
							</select>
61
						\#end
62
					</div>
63
					<div class="shipping left">
64
						<div class="label">Check Delivery Time for Area PIN Code:</div>
65
						<div id="shippingEstimate" class="left">
66
							<input type="text" id="zipcode" class="searchbox left bold" value="110001" />
67
							<button id="computeShippingEstimate" class="button left">GO</button>
68
							<label for="zipcode" class="left">Area PIN Code</label>
69
						</div>
70
						<div class="estimate left">
5232 amit.gupta 71
							<div id="shipping_time">Receive in <label class="red">3 Business Days</label> \#if ($AFTER_ARRIVAL) $AFTER_ARRIVAL \#end</div>
72
							<div id="shipping_time_1" style="display:none">This Location is not serviceable</div>
3827 rajveer 73
							<div>This item has <label class="red">Free Shipping</label>.</div>
74
							<div id="cod">You can pay by <span class="red">Cash on Delivery</span></div>
75
						</div>
76
					</div>
6021 amit.gupta 77
					\#if ($AFTER_ARRIVAL)  
78
					<a id="addToCart" class="left" style="height: 39px; padding: 9px 0px 6px;">Tell me when available</a>
79
					\#else
3827 rajveer 80
					<a id="addToCart" class="left">ADD TO CART</a>
6021 amit.gupta 81
					\#end
3827 rajveer 82
				</div>
4129 mandeep.dh 83
				<input id="item_id" name="item_id" value="$item.ITEM_ID" type="hidden" />
84
				<input id="catalog_id" name="catalog_id" value="$item.CATALOG_ID" type="hidden" />
3827 rajveer 85
				<input type="hidden" value="$params.CATALOG_ID" id="product_id" name="">
86
				<!-- /Product Detail -->