Subversion Repositories SmartDukaan

Rev

Rev 2796 | Rev 3018 | 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">
2796 varun.gupt 19
      <div class="right">&nbsp;</div>
2433 rajveer 20
    </div>
21
  </div>
22
 
23
  <div class="middle">
24
    <div class="content">
25
        <div class="blockLeft">
26
          <!-- breadcrumb -->
27
          <div id="breadcrumb">
28
            <a href="/home">Home</a>&nbsp;&gt; 
29
            <a href="/$params.CATEGORY_URL">$params.CATEGORY_NAME</a>&nbsp;&gt; 
30
            <a #if($params.IS_MOBILE=="TRUE") href="/$params.BRAND_NAME.toLowerCase().replace(' ', '-')" #end class="deselect">$params.BRAND_NAME</a>
31
            <a class="deselect">$params.PRODUCT_NAME</a>
32
          </div>
33
          <!-- /breadcrumb -->
34
 
35
          <h1 id="productHeading">$params.TITLE
36
		   ## if there is only one item and that has color as empty, NA or null it will not 
37
		  \#if(!(($itemDetails.size() == 1) && (!($itemDetails.get(0).COLOR)) || ($itemDetails.get(0).COLOR=="NA") || ($itemDetails.get(0).COLOR=="")))
38
			<select class="colorselector" id="colorselector" name="colorselector">
39
          \#foreach($item in $itemDetails)
40
				<option value="$item.ITEM_ID" $item.IS_SELECTED >$item.COLOR</option>
41
          \#end
42
            </select>
43
          \#end
44
          </h1>
45
          <h2 id="productSubHeading">$params.TAGLINE</h2>
46
          \#set($item = $itemDetails.get(0))
47
          All Inclusive Price: <span class="finalPrice">Rs</span>
48
          \#if($item.SHOWMRP.equals("true"))
49
              <span id="mrp" class="mrpPrice">$item.MRP</span>
50
          \#end
51
              <span id="sp" class="finalPrice">$item.SP </span>
52
          \#if($item.SHOWMRP.equals("true"))
53
              (<span id="saving">$item.SAVING</span>% saving)
54
          \#end
55
 
56
          <div class="lineHeight_10px">&nbsp;</div>
57
 
58
          #if($params.WARRANTY && $params.WARRANTY != "")
59
          <span> $params.WARRANTY manufacturer warranty</span> <br />
60
          <div class="lineHeight_10px">&nbsp;</div>
61
          #else
62
          <span> </span> <br />
63
          <div class="lineHeight_10px">&nbsp;</div>
64
          #end
65
 
66
          <div class="floatLeft"><label for="zipcode">Ships to: </label></div>
67
          <div class="imgTextBox textbox-image">
68
              <input type="text" id="zipcode" name="zipcode" value="110001" class="textbox" maxlength="6" onSubmit="updateEstimate()" onblur="updateEstimate()" />
69
          </div>
70
 
71
          <div id="shipTime">
72
            <span id="shipping_time"> within <span id="days"></span> business days</span>
73
          </div>
74
 
75
          <div class="img"><a href="#"><img src="/images/buttons/free-shipping.jpg" width="111" height="13" alt="Free Shipping" title="Free Shipping" /></a></div>
76
 
77
          <div class="clearBoth"></div>
78
        </div>
79
 
80
        <div class="blockRight">
81
          <!-- add to cart -->
82
            <input id="item_id" name="item_id" value=$item.ITEM_ID type="hidden" />
2826 rajveer 83
            <input id="catalog_id" name="catalog_id" value=$item.CATALOG_ID type="hidden" />
2433 rajveer 84
            <div class="bigImgButton yellow-image">
85
                <input type="button" alt="Buy This Item" value="  Add to Cart >>  " class="button" id="addcart"  />
86
            </div>
87
          <!-- add to cart -->
88
 
89
        </div>
90
      <div class="clearBoth"></div>
91
    </div>
92
  </div>
93
 
94
  <div class="bottom">
2671 varun.gupt 95
	<div class="left">
96
		<div class="right">&nbsp;</div>
97
	</div>
2433 rajveer 98
  </div>
99
</div>
100
<!-- /Product detail -->
101
 
102
<!-- Start Social Bar -->
103
<div id="actionBar">
104
<div class="left">
105
<div class="right">
106
<div class="center">
107
 
108
	<div class="blockLeft">
109
 
110
		<div class="smallImgButton btnWidth2_IE7 yellow-image">
2716 varun.gupt 111
			<input type="button" id="util_addnewresearch" class="button" value="Add to Research" onclick="javascript:addResearch('', 'single')" title="Add to Reasearch" name="">
2433 rajveer 112
		</div>
113
 
2716 varun.gupt 114
		<div class="smallImgButton yellow-image" style="margin-left:6px">
115
			<input type="button" alt="My Notes" value="Notes" class="button" id="view-mynotes" />
116
		</div>
117
 
2433 rajveer 118
		#if($params.IS_MOBILE=="TRUE")
2716 varun.gupt 119
		<div class="smallImgButton btnWidth1_IE7 yellow-image" style="margin-left:6px">
120
			<input type="button" title="Compare" class="button" value="Compare with" id="util_compare">
2433 rajveer 121
		</div>
122
		#end
123
 
124
		<input type="hidden" value="$params.CATALOG_ID" id="product_id" name="">
125
		<div class="clearBoth"></div>
126
	</div>
127
 
128
	<div class="blockRight">
129
		<div class="fblikeDiv"><div id="fb-root"></div>
130
			<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>
131
        </div>
132
		<span id="plusone">
133
			<g:plusone size="medium"></g:plusone>
134
        </span>
135
		<div class="tweetDiv">
2796 varun.gupt 136
			<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>
2433 rajveer 137
		</div>
138
	</div>
139
	<div class="clearBoth"></div>
140
 
141
</div>
142
</div>
143
</div>
144
</div>