Subversion Repositories SmartDukaan

Rev

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