Subversion Repositories SmartDukaan

Rev

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

Rev Author Line No. Line
410 rajveer 1
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2
<html xmlns="http://www.w3.org/1999/xhtml">
4050 anupam.sin 3
#set($ab_testing_variable = $action.getVariationId())
410 rajveer 4
<head>
4050 anupam.sin 5
#if($ab_testing_variable == 0)
4051 anupam.sin 6
	<!-- Google Website Optimizer Control Script -->
7
<script>
8
function utmx_section(){}function utmx(){}
9
(function(){var k='1425815630',d=document,l=d.location,c=d.cookie;function f(n){
10
if(c){var i=c.indexOf(n+'=');if(i>-1){var j=c.indexOf(';',i);return escape(c.substring(i+n.
11
length+1,j<0?c.length:j))}}}var x=f('__utmx'),xx=f('__utmxx'),h=l.hash;
12
d.write('<sc'+'ript src="'+
13
'http'+(l.protocol=='https:'?'s://ssl':'://www')+'.google-analytics.com'
14
+'/siteopt.js?v=1&utmxkey='+k+'&utmx='+(x?x:'')+'&utmxx='+(xx?xx:'')+'&utmxtime='
15
+new Date().valueOf()+(h?'&utmxhash='+escape(h.substr(1)):'')+
16
'" type="text/javascript" charset="utf-8"></sc'+'ript>')})();
17
</script><script>utmx("url",'A/B');</script>
18
<!-- End of Google Website Optimizer Control Script -->
19
<!-- Google Website Optimizer Tracking Script -->
20
<script type="text/javascript">
21
  var _gaq = _gaq || [];
22
  _gaq.push(['gwo._setAccount', 'UA-26682619-1']);
23
  _gaq.push(['gwo._trackPageview', '/1425815630/test']);
24
  (function() {
25
    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
26
    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
27
    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
28
  })();
29
</script>
30
<!-- End of Google Website Optimizer Tracking Script -->
4050 anupam.sin 31
#else
4051 anupam.sin 32
	<!-- Google Website Optimizer Tracking Script -->
33
<script type="text/javascript">
34
  var _gaq = _gaq || [];
35
  _gaq.push(['gwo._setAccount', 'UA-26682619-1']);
36
  _gaq.push(['gwo._trackPageview', '/1425815630/test']);
37
  (function() {
38
    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
39
    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
40
    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
41
  })();
42
</script>
43
<!-- End of Google Website Optimizer Tracking Script -->
44
 
4050 anupam.sin 45
#end
3830 chandransh 46
	<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
47
	<!-- Prevent MS Office toolbar from changing layout -->
48
	<meta http-equiv="imagetoolbar" content="false" />
49
	<meta name="MSSmartTagsPreventParsing" content="true" />
50
	<title>Saholic</title>
51
#include ( "templates/commoncssfiles.vm" )
507 rajveer 52
</head>
53
<body>
54
	<noscript>
55
		<p id="noScript">Please allow <em>Javascript</em> in order to function this website correctly!</p>
56
	</noscript>
413 rajveer 57
 
3830 chandransh 58
	$action.getHeaderSnippet()
59
 
60
<div id="main">
61
	<div class="main-content">
62
		<div id="cartFlowHeader">
63
			<div class="left cartflow-header-tab lefttab-active active-tab-font">
64
				<span class="counter-active">1</span>
65
				<span class="label">Cart Details</span>
1981 varun.gupt 66
			</div>
3830 chandransh 67
			<div class="left cartflow-header-tab midtab-inactive left-overlap inactive-tab-font">
68
				<span class="counter-inactive">2</span>
69
				<span class="label">Shipping Info.</span>
70
			</div>
71
			<div class="left cartflow-header-tab midtab-inactive left-overlap inactive-tab-font">
72
				<span class="counter-inactive">3</span>
73
				<span class="label">Make Payment</span>
74
			</div>
75
			<div class="left cartflow-header-tab righttab-inactive left-overlap inactive-tab-font">
76
				<span class="counter-inactive">4</span>
77
				<span class="label">Order Status</span>
78
			</div>
410 rajveer 79
		</div>
413 rajveer 80
 
1981 varun.gupt 81
		<!-- Cart Details -->
3830 chandransh 82
	#set($items = $action.getCartItems())
83
 
84
	#if($items)
85
		#set($totalamount = $action.getTotalAmount())
86
		#set($pincode = $action.getPinCode())
87
		#set($couponcode = $action.getCouponCode())
88
		#set($discountedAmount = $action.getDiscountedAmount())
89
		#set($errorMsg  = $action.getErrorMsg())
90
 
91
		<div id="cart" class="blue-border">
92
			<div id="shippingEstimateCalculator" class="left">
93
				<span class="label left">Enter your Area PIN:&nbsp;</span>
94
				<input type="text" id="zipcode" class="searchbox" value="$pincode" maxlength="6" />
95
				<button id="computeEstimate" class="new-button">
96
					<img src="/images/Icon_DeliveryTime.png" />
97
					<span>Update Delivery Time</span>
98
                </button>
99
            </div>
4046 varun.gupt 100
		#if($ab_testing_variable == 0)
3903 varun.gupt 101
			<div id="checkout" class="cartflow-main-action-button right">ENTER SHIPPING INFO &gt;</div>
3970 varun.gupt 102
		#end
3830 chandransh 103
			<table id="cartDetail" cellpadding="0" cellspacing="0" class="left">
104
				<thead>
105
					<tr>
106
						<th width="242" class="first">Item &amp; Color</th>
107
						<th width="239"><img src="/images/Icon_DeliveryTime.png" />&nbsp;&nbsp;Delivery Time for PIN <span class="dev-pincode">$pincode</span></th>
108
						<th width="140">Unit Price</th>
109
						<th width="110">Quantity</th>
110
						<th width="140">Total Price</th>
111
						<th width="50">&nbsp;</th>
112
                    </tr>
113
                </thead>
114
				<tbody>
115
				#foreach($item in $items)
3885 varun.gupt 116
					#if($item.get("SHIPPING_TIME") == -1)
117
						#set($messageShippingTime = "Location not serviceable")
118
					#else
119
						#set($messageShippingTime = "FREE Delivery in <span id=days_" + $item.get("ITEM_ID") + ">" + $item.get("SHIPPING_TIME") + "</span> Bus. Days")
120
					#end
3830 chandransh 121
					<tr id="$item.get("ITEM_ID")">
122
						<td>
123
							<div class="left">
3944 mandeep.dh 124
								<img alt="phone" src='/images/website/$item.get("CATALOG_ID")/thumbnail.jpg'>
3830 chandransh 125
							</div>
126
							<div class="cart-item-name-div">
3885 varun.gupt 127
                                <div class="cart-item-name">$item.get("ITEM_NAME")</div><br/>
3830 chandransh 128
								<span class="cart-item-color">$item.get("ITEM_COLOR")</span>
129
                            </div>
130
                        </td>
3885 varun.gupt 131
						<td id="shipping_time_$item.get("ITEM_ID")">$messageShippingTime</td>
3830 chandransh 132
						<td><img src="/images/rupee-symbol.png" alt="Rs." /> $item.get("SELLING_PRICE")</td>
133
						<td style="line-height: 28px;">
134
							<input id="quantity_$item.get("ITEM_ID")" type="text" class="cart-item-quantity searchbox" value=$item.get("ITEM_QUANTITY") />
135
							&nbsp;&nbsp;pcs.
136
						</td>
137
						<td><img src="/images/rupee-symbol.png" alt="Rs." /> $item.get("TOTAL_PRICE")</td>
3885 varun.gupt 138
						<td align="center">
139
							<img id="remove_$item.get("ITEM_ID")" class="remove-quantitybttn" src="/images/Cross_DeleteRow_DEF.png" title="Remove item from the cart" />
3830 chandransh 140
                        </td>
141
                    </tr>
142
				#end
143
                </tbody>
144
            </table>
4052 varun.gupt 145
            <div id="cartFooter">
146
				<form id="frmCouponCode" class="left" action="/promotion" method="post">
147
					<span class="left">Have a Coupon Code? Enter here:</span>&nbsp;
148
					<input id="couponCode" class="searchbox" type="text" name="coupon_code" maxlength="20" value="$couponcode" />&nbsp;
149
					<input type="hidden" name="action" id="couponAction" /> &nbsp;
150
    				<button id="applyCoupon" class="new-button">Apply</button>&nbsp;
151
    			#if($couponcode != "")
152
    				<button id="removeCoupon" class="new-button">Remove</button>
153
    			#end
1981 varun.gupt 154
 
4052 varun.gupt 155
    			#set($messages = $action.getActionErrors())
156
 
157
    			#if($messages && $messages.size() != 0)
158
    				<p id="messageError">
159
    				#foreach($message in $messages)
160
    					$message <br>
161
    				#end
162
    				</p>
163
    			#end
164
    			</form>
165
    			<table class="net-amount right" cellspacing="0">
166
    				<tr>
167
    					<td class="label">SHIPPING:</td>
168
    					<td class="orange">FREE</td>
169
                    </tr>
170
    				#if($couponcode != "")
171
    					#set($cssClass = "")
172
    				#else
173
    					#set($cssClass = "payable")
174
    				#end
175
    				<tr class="total-amount $cssClass">
176
    					<td class="label">Total Amount:</td>
177
    					<td><img src="/images/rupee-symbol.png" alt="Rs." /> $totalamount</td>
178
                    </tr>
179
    				#if($couponcode != "")
180
    				<tr class="discounted-amount payable">
181
                        <td class="label">Amount Payable:<br />(After Discount)</td>
182
                        <td><img src="/images/rupee-symbol.png" alt="Rs." /> $discountedAmount</td>
183
                    </tr>
184
    				#end
185
                </table>
186
    		#if($ab_testing_variable == 1)
187
    			<div id="checkout" class="cartflow-main-action-button right checkout-button-below">ENTER SHIPPING INFO &gt;</div>
188
    		#end
189
			</div>
1981 varun.gupt 190
        </div>
3830 chandransh 191
#else
192
	<div id="registration" class="blue-border">
193
		<div class="middle">
194
			<div class="mid-inner">
195
				<div id="emptyCart">
196
					<!-- empty cart -->
197
					<div id="emptyCart">
4050 anupam.sin 198
						<img src="/images/empty-cart.jpg" width="183" height="179" alt="" /><br />
3941 varun.gupt 199
						<p><strong>Your cart is currently empty!</strong> <span>Please add items to cart.</span></p>
3830 chandransh 200
						<a href="/home">Back to Home</a>
201
					</div>
202
					<!-- /empty cart -->
203
				</div>
204
			</div>
2013 varun.gupt 205
		</div>
3830 chandransh 206
	</div>
1981 varun.gupt 207
#end	
208
		<!-- /Cart Details -->
3830 chandransh 209
	</div>
210
</div>
943 vikas 211
 
3830 chandransh 212
#include("templates/footer.vm")
213
 
943 vikas 214
#include ( "templates/commonjsfiles.vm" )
410 rajveer 215
</body>
3830 chandransh 216
</html>