Subversion Repositories SmartDukaan

Rev

Rev 2433 | Rev 2716 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
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
    &nbsp;
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>&nbsp;&gt; 
33
            <a href="/$params.CATEGORY_URL">$params.CATEGORY_NAME</a>&nbsp;&gt; 
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">&nbsp;</div>
61
 
62
          #if($params.WARRANTY && $params.WARRANTY != "")
63
          <span> $params.WARRANTY manufacturer warranty</span> <br />
64
          <div class="lineHeight_10px">&nbsp;</div>
65
          #else
66
          <span> </span> <br />
67
          <div class="lineHeight_10px">&nbsp;</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>
2671 varun.gupt 91
            <!--
92
            <div id="btn-view-mynotes" class="bigImgButton yellow-image">
93
                <input type="button" alt="Buy This Item" value="View My Notes" class="button" id="view-mynotes"  />
94
            </div>
95
            -->
2433 rajveer 96
          <!-- add to cart -->
97
 
98
        </div>
99
      <div class="clearBoth"></div>
100
    </div>
101
  </div>
102
 
103
  <div class="bottom">
2671 varun.gupt 104
	<div class="left">
105
		<div class="right">&nbsp;</div>
106
	</div>
2433 rajveer 107
  </div>
108
</div>
109
<!-- /Product detail -->
110
 
111
<!-- Start Social Bar -->
112
<div id="actionBar">
113
<div class="left">
114
<div class="right">
115
<div class="center">
116
 
117
	<div class="blockLeft">
118
 
119
		<div class="smallImgButton btnWidth2_IE7 yellow-image">
120
				<input type="button" id="util_addnewresearch" class="button" value="Add to Research" onclick="javascript:addResearch('', 'single')" title="Add to Reasearch" name="">
121
		</div>
122
 
123
		#if($params.IS_MOBILE=="TRUE")
124
		<div class="smallImgButton btnWidth1_IE7 yellow-image"   style="margin-left:8px" >
125
				 <input type="button" title="Compare" class="button" value="Compare with" id="util_compare">
126
		</div>
127
		#end
128
 
129
		<input type="hidden" value="$params.CATALOG_ID" id="product_id" name="">
130
		<div class="clearBoth"></div>
131
	</div>
132
 
133
	<div class="blockRight">
134
		<div class="fblikeDiv"><div id="fb-root"></div>
135
			<iframe src="http://www.facebook.com/plugins/like.php?href=$params.PRODUCT_URL&amp;layout=button_count&amp;show_faces=true&amp;width=120&amp;action=like&amp;font&amp;colorscheme=light&amp;height=23" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:120px; height:23px;" allowTransparency="true"></iframe>
136
        </div>
137
		<span id="plusone">
138
			<g:plusone size="medium"></g:plusone>
139
        </span>
140
		<div class="tweetDiv">
141
			<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>
142
		</div>
143
	</div>
144
	<div class="clearBoth"></div>
145
 
146
</div>
147
</div>
148
</div>
149
</div>