Subversion Repositories SmartDukaan

Rev

Rev 4046 | Rev 4051 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 4046 Rev 4050
Line 1... Line 1...
1
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
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">
2
<html xmlns="http://www.w3.org/1999/xhtml">
-
 
3
#set($ab_testing_variable = $action.getVariationId())
3
<head>
4
<head>
-
 
5
#if($ab_testing_variable == 0)
-
 
6
	<script type="text/javascript" src="/js/cart_AB.js"></script>
-
 
7
#else
-
 
8
	<script type="text/javascript" src="/js/cartVariation_AB.js"></script>
-
 
9
#end
4
	<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
10
	<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
5
	<!-- Prevent MS Office toolbar from changing layout -->
11
	<!-- Prevent MS Office toolbar from changing layout -->
6
	<meta http-equiv="imagetoolbar" content="false" />
12
	<meta http-equiv="imagetoolbar" content="false" />
7
	<meta name="MSSmartTagsPreventParsing" content="true" />
13
	<meta name="MSSmartTagsPreventParsing" content="true" />
8
	<title>Saholic</title>
14
	<title>Saholic</title>
Line 53... Line 59...
53
				<button id="computeEstimate" class="new-button">
59
				<button id="computeEstimate" class="new-button">
54
					<img src="/images/Icon_DeliveryTime.png" />
60
					<img src="/images/Icon_DeliveryTime.png" />
55
					<span>Update Delivery Time</span>
61
					<span>Update Delivery Time</span>
56
                </button>
62
                </button>
57
            </div>
63
            </div>
58
		#set($ab_testing_variable = $action.getVariationId())
-
 
59
		#if($ab_testing_variable == 0)
64
		#if($ab_testing_variable == 0)
60
			<div id="checkout" class="cartflow-main-action-button right">ENTER SHIPPING INFO &gt;</div>
65
			<div id="checkout" class="cartflow-main-action-button right">ENTER SHIPPING INFO &gt;</div>
61
		#end
66
		#end
62
			<table id="cartDetail" cellpadding="0" cellspacing="0" class="left">
67
			<table id="cartDetail" cellpadding="0" cellspacing="0" class="left">
63
				<thead>
68
				<thead>
Line 99... Line 104...
99
                        </td>
104
                        </td>
100
                    </tr>
105
                    </tr>
101
				#end
106
				#end
102
                </tbody>
107
                </tbody>
103
            </table>
108
            </table>
104
            <div id="cartFooter">
-
 
105
			<form id="frmCouponCode" class="left" action="/promotion" method="post">
109
			<form id="frmCouponCode" class="left" action="/promotion" method="post">
106
				<span class="left">Have a Coupon Code? Enter here:</span>&nbsp;
110
				<span class="left">Have a Coupon Code? Enter here:</span>&nbsp;
107
				<input id="couponCode" class="searchbox" type="text" name="coupon_code" maxlength="20" value="$couponcode" />&nbsp;
111
				<input id="couponCode" class="searchbox" type="text" name="coupon_code" maxlength="20" value="$couponcode" />&nbsp;
108
				<input type="hidden" name="action" id="couponAction" /> &nbsp;
112
				<input type="hidden" name="action" id="couponAction" /> &nbsp;
109
				<button id="applyCoupon" class="new-button">Apply</button>&nbsp;
113
				<button id="applyCoupon" class="new-button">Apply</button>&nbsp;
Line 140... Line 144...
140
                    <td class="label">Amount Payable:<br />(After Discount)</td>
144
                    <td class="label">Amount Payable:<br />(After Discount)</td>
141
                    <td><img src="/images/rupee-symbol.png" alt="Rs." /> $discountedAmount</td>
145
                    <td><img src="/images/rupee-symbol.png" alt="Rs." /> $discountedAmount</td>
142
                </tr>
146
                </tr>
143
				#end
147
				#end
144
            </table>
148
            </table>
145
			#if($ab_testing_variable == 1)
149
		#if($ab_testing_variable == 1)
146
				<div id="checkout" class="cartflow-main-action-button right checkout-button-below">ENTER SHIPPING INFO &gt;</div>
150
			<div id="checkout" class="cartflow-main-action-button right margin-up">ENTER SHIPPING INFO &gt;</div>
147
			#end
151
		#end
148
			</div>
-
 
149
        </div>
152
        </div>
150
#else
153
#else
151
	<div id="registration" class="blue-border">
154
	<div id="registration" class="blue-border">
152
		<div class="middle">
155
		<div class="middle">
153
			<div class="mid-inner">
156
			<div class="mid-inner">
154
				<div id="emptyCart">
157
				<div id="emptyCart">
155
					<!-- empty cart -->
158
					<!-- empty cart -->
156
					<div id="emptyCart">
159
					<div id="emptyCart">
157
						<img src="images/empty-cart.jpg" width="183" height="179" alt="" /><br />
160
						<img src="/images/empty-cart.jpg" width="183" height="179" alt="" /><br />
158
						<p><strong>Your cart is currently empty!</strong> <span>Please add items to cart.</span></p>
161
						<p><strong>Your cart is currently empty!</strong> <span>Please add items to cart.</span></p>
159
						<a href="/home">Back to Home</a>
162
						<a href="/home">Back to Home</a>
160
					</div>
163
					</div>
161
					<!-- /empty cart -->
164
					<!-- /empty cart -->
162
				</div>
165
				</div>
Line 169... Line 172...
169
</div>
172
</div>
170
 
173
 
171
#include("templates/footer.vm")
174
#include("templates/footer.vm")
172
 
175
 
173
#include ( "templates/commonjsfiles.vm" )
176
#include ( "templates/commonjsfiles.vm" )
174
	#if($ab_testing_variable == "0")
-
 
175
<!-- Google Website Optimizer Control Script -->
-
 
176
<script>
-
 
177
function utmx_section(){}function utmx(){}
-
 
178
(function(){var k='1425815630',d=document,l=d.location,c=d.cookie;function f(n){
-
 
179
if(c){var i=c.indexOf(n+'=');if(i>-1){var j=c.indexOf(';',i);return escape(c.substring(i+n.
-
 
180
length+1,j<0?c.length:j))}}}var x=f('__utmx'),xx=f('__utmxx'),h=l.hash;
-
 
181
d.write('<sc'+'ript src="'+
-
 
182
'http'+(l.protocol=='https:'?'s://ssl':'://www')+'.google-analytics.com'
-
 
183
+'/siteopt.js?v=1&utmxkey='+k+'&utmx='+(x?x:'')+'&utmxx='+(xx?xx:'')+'&utmxtime='
-
 
184
+new Date().valueOf()+(h?'&utmxhash='+escape(h.substr(1)):'')+
-
 
185
'" type="text/javascript" charset="utf-8"></sc'+'ript>')})();
-
 
186
</script><script>utmx("url",'A/B');</script>
-
 
187
<!-- End of Google Website Optimizer Control Script -->
-
 
188
<!-- Google Website Optimizer Tracking Script -->
-
 
189
<script type="text/javascript">
-
 
190
  var _gaq = _gaq || [];
-
 
191
  _gaq.push(['gwo._setAccount', 'UA-26682619-1']);
-
 
192
  _gaq.push(['gwo._trackPageview', '/1425815630/test']);
-
 
193
  (function() {
-
 
194
    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
-
 
195
    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
-
 
196
    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
-
 
197
  })();
-
 
198
</script>
-
 
199
<!-- End of Google Website Optimizer Tracking Script -->
-
 
200
		
-
 
201
	#elseif($ab_testing_variable == "1")
-
 
202
 
-
 
203
		<!-- Google Website Optimizer Tracking Script -->
-
 
204
<script type="text/javascript">
-
 
205
  var _gaq = _gaq || [];
-
 
206
  _gaq.push(['gwo._setAccount', 'UA-26682619-1']);
-
 
207
  _gaq.push(['gwo._trackPageview', '/1425815630/test']);
-
 
208
  (function() {
-
 
209
    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
-
 
210
    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
-
 
211
    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
-
 
212
  })();
-
 
213
</script>
-
 
214
<!-- End of Google Website Optimizer Tracking Script -->
-
 
215
 
-
 
216
	#end
-
 
217
</body>
177
</body>
218
</html>
178
</html>
219
179