Subversion Repositories SmartDukaan

Rev

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

Rev Author Line No. Line
713 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">
3
<head>
5045 varun.gupt 4
<!-- Google Website Optimizer Tracking Script -->
5
<script type="text/javascript">
6
  var _gaq = _gaq || [];
7
  _gaq.push(['gwo._setAccount', '${in.shop2020.ABTestgaAccountID}']);
5057 varun.gupt 8
  _gaq.push(['gwo._trackPageview', '/${in.shop2020.ABTestExperimentID}/goal']);
5045 varun.gupt 9
  (function() {
10
    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
11
    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
12
    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
13
  })();
14
</script>
15
<!-- End of Google Website Optimizer Tracking Script -->
3830 chandransh 16
	<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
17
	<!-- Prevent MS Office toolbar from changing layout -->
18
	<meta http-equiv="imagetoolbar" content="false" />
19
	<meta name="MSSmartTagsPreventParsing" content="true" />
5625 vikram.rag 20
	<title>${in.shop2020.title}</title>
3830 chandransh 21
#include ( "templates/commoncssfiles.vm" )
5542 amar.kumar 22
	<script language="javascript" type="text/javascript" src="/js/ga-invoker.js"></script>
3830 chandransh 23
#set($total_amount = 0.0)
713 rajveer 24
</head>
25
 
26
<body>
27
	<noscript>
5572 anupam.sin 28
		<p id="noScript">Please enable <em>Javascript</em> for this Website to function correctly!</p>
713 rajveer 29
	</noscript>
1067 varun.gupt 30
 
31
	$action.getHeaderSnippet()
3830 chandransh 32
 
33
<div id="main">
34
	<div class="main-content">
35
		<div id="cartFlowHeader">
36
			<div class="left cartflow-header-tab lefttab-inactive inactive-tab-font">
37
				<span class="counter-inactive">1</span>
38
				<span class="label">Cart Details</span>
1067 varun.gupt 39
			</div>
3830 chandransh 40
			<div class="left cartflow-header-tab midtab-inactive left-overlap inactive-tab-font">
41
				<span class="counter-inactive">2</span>
42
				<span class="label">Shipping Info.</span>
43
			</div>
44
			<div class="left cartflow-header-tab midtab-inactive left-overlap inactive-tab-font">
45
				<span class="counter-inactive">3</span>
46
				<span class="label">Make Payment</span>
47
			</div>
48
			<div class="left cartflow-header-tab righttab-active left-overlap active-tab-font">
49
				<span class="counter-active">4</span>
50
				<span class="label">Order Status</span>
51
			</div>
719 rajveer 52
		</div>
3830 chandransh 53
 
54
		<!-- Cart Details -->
55
	#set($orders = $action.getOrders())
56
	#set($cod = false)
57
 
58
		#if($orders && $orders.size() != 0)
59
		<div id="cart" class="blue-border">
60
			<div id="shippingEstimateCalculator" class="left">
61
				<span class="label left orange congrats">Congratulations! &nbsp;</span><span class="label left" style="font-size:13px; font-weight:bold; color:#333333">$action.getMessage()</span>
62
            </div>
4791 varun.gupt 63
			<div id="viewOrders" class="cartflow-main-action-button right">VIEW ALL ORDERS <img src="/images/Arrow_OrangeButton_AllScreens.png" /></div>
3830 chandransh 64
			<table id="cartDetail" cellpadding="0" cellspacing="0" class="left">
65
				<thead>
66
					<tr>
67
						<th width="100" class="first" style="text-align: center;"><b>ORDER ID</b></th>
68
						<th width="242">Item &amp; Color</th>
69
						<th width="140">Unit Price</th>
70
						<th width="110">Quantity</th>
71
						<th width="140">Total Price</th>
72
						<th width="200">Order Status</th>
73
                    </tr>
74
                </thead>
75
				<tbody>
76
 
1077 varun.gupt 77
				#foreach($order in $orders)
78
					#set($lineitems = $order.getLineitems())
79
					#foreach($lineitem in $lineitems)
80
						#set($total_price = $lineitem.getTotal_price())
81
						#set($total_amount = $total_amount + $total_price)
82
							<tr>
3830 chandransh 83
								<td class="ordercolumn">
3075 chandransh 84
									<a href="/order/$order.getId()">$order.getId()</a>
85
									#if($order.isCod())
86
            							#set($cod=true)
87
            							<sup>*</sup>
88
									#end
89
								</td>
3830 chandransh 90
								<td>
91
        							<div class="cart-item-name-div">
4217 varun.gupt 92
                                        <div class="cart-item-name">
3830 chandransh 93
											#if($lineitem.getBrand()) $lineitem.getBrand() #end
94
											#if($lineitem.getModel_name()) $lineitem.getModel_name() #end
95
											#if($lineitem.getModel_number())  $lineitem.getModel_number() #end
4217 varun.gupt 96
										</div>
3830 chandransh 97
											#if($lineitem.getColor())
4226 varun.gupt 98
        								<div class="cart-item-color">Color - $lineitem.getColor()</div>
3830 chandransh 99
											#end
4226 varun.gupt 100
											#if($lineitem.getDealText())
101
										<div class="cart-item-best-deal-text">$lineitem.getDealText()</div>
102
											#end
3830 chandransh 103
                                    </div>
1077 varun.gupt 104
								</td>
3830 chandransh 105
								<td><img src="/images/rupee-symbol.png" alt="Rs." /> $action.formatPrice($lineitem.getUnit_price())</td>
1331 varun.gupt 106
								<td>$lineitem.getQuantity().intValue()</td>
3830 chandransh 107
								<td><img src="/images/rupee-symbol.png" alt="Rs." /> $action.formatPrice($total_price)</td>
1077 varun.gupt 108
								<td>
3075 chandransh 109
            					#if($order.getStatus().getDescription())
110
            						$order.getStatus().getDescription()
111
            					#end
1077 varun.gupt 112
								</td>
113
							</tr>
1067 varun.gupt 114
									#end
115
								#end
3830 chandransh 116
                </tbody>
117
            </table>
118
			<table class="net-amount right" style="margin-bottom: 30px" cellspacing="0">
119
				<tr class="total-amount payable">
120
					<td class="label">Total Amount:</td>
121
					<td><img src="/images/rupee-symbol.png" alt="Rs." /> $action.formatPrice($total_amount)</td>
122
                </tr>
123
            </table>
4232 varun.gupt 124
    		<div id="shippingEstimateCalculator" class="left" style="padding: 15px 10px 15px 10px">
3830 chandransh 125
			#if($cod)
5758 anupam.sin 126
    			<div class="label left pay-success-note">* Our Executive will give you a call to confirm your order.
127
				#if($order.getPickupStoreId() != 0)
128
					</br>* Please carry a copy of valid Id Proof when you visit the store to pick up your Order.
129
				#end
130
				</div>
4232 varun.gupt 131
    		#end
3830 chandransh 132
    		</div>
713 rajveer 133
		</div>
3830 chandransh 134
		#else
135
    	<div id="registration" class="blue-border">
136
    		<div class="middle">
137
    			<div class="mid-inner">
138
    				<div id="emptyCart">
139
    					<!-- empty cart -->
140
    					<div id="emptyCart">
141
    						<p>
142
    							<strong>
143
									Due to some error we are unable to display your details.
144
									Please check <a href="/myaccount">My Account</a> page to see the order confirmation status.
145
								</strong>
146
    						</p>
147
    					</div>
148
    					<!-- /empty cart -->
149
    				</div>
150
    			</div>
151
    		</div>
152
    	</div>
153
		#end	
154
 
155
 
156
 
157
 
158
		<!-- /Cart Details -->
713 rajveer 159
	</div>
3830 chandransh 160
</div>
1067 varun.gupt 161
 
3830 chandransh 162
#include("templates/footer.vm")
3111 vikas 163
 
3830 chandransh 164
#include ( "templates/commonjsfiles.vm" )
3840 vikas 165
 
166
    <script type="text/javascript" charset="utf-8">
167
        #set($orders = $action.getOrders())
168
        #if($orders && $orders.size() != 0)
169
            #foreach($order in $orders)
170
                if(typeof _gaq != "undefined" && _gaq != null)  {
171
                    _gaq.push(['_addTrans',
172
                       '$order.getId()',                // order ID - required
5625 vikram.rag 173
                       '${in.shop2020.title}',                       // affiliation or store name
3840 vikas 174
                       '$order.getTotal_amount()',      // total - required
175
                       '0',                             // tax
176
                       '0',                             // shipping
177
                       '$order.getCustomer_city()',     // city
178
                       '$order.getCustomer_state()',    // state or province
179
                       'INDIA'                          // country
180
                    ]);
181
                #set($lineitems = $order.getLineitems())
182
                #foreach($lineitem in $lineitems)
183
                    var prod_name = '';
184
                    #if($lineitem.getBrand()) 
185
                        prod_name += '$lineitem.getBrand()'; 
186
                    #end
187
                    #if($lineitem.getModel_name()) 
188
                        prod_name += ' $lineitem.getModel_name()'; 
189
                    #end
190
                    #if($lineitem.getModel_number()) 
191
                        prod_name += ' $lineitem.getModel_number()'; 
192
                    #end
193
                    _gaq.push(['_addItem',
194
                        '$order.getId()',            // order ID - required
195
                        '$lineitem.getItem_id()',    // SKU/code - required
196
                        prod_name,                   // product name
197
                        '$lineitem.getColor()',      // category or variation
198
                        '$lineitem.getUnit_price()', // unit price - required
199
                        '$lineitem.getQuantity()'    // quantity - required
200
                    ]);
201
                #end
202
                    _gaq.push(['_trackTrans']);
203
                }
204
            #end
205
        #end
206
    </script>
207
 
208
 
209
    <!-- Google Code for AdwordsPurchase Conversion Page -->
210
    <script type="text/javascript" charset="utf-8">
211
        /* <![CDATA[ */
212
        var google_conversion_id = 979811816;
213
        var google_conversion_language = "en";
214
        var google_conversion_format = "3";
215
        var google_conversion_color = "ffffff";
216
        var google_conversion_label = "t9j-CID2lQMQ6Pua0wM";
217
        if ($total_amount) {
218
            var google_conversion_value = $total_amount;
219
        }
220
        /* ]]> */
221
    </script>
222
    <script language="javascript" type="text/javascript" src="http://www.googleadservices.com/pagead/conversion.js"></script>
223
 
224
    <!-- Ohana Conversion Code -->
225
    <!-- DO NOT MODIFY THIS TAG IN ANY WAY -->
226
    <!-- Place your logic to get the revenue from the page & pass as an argument to the conversion script -->
227
    <script language="javascript" type="text/javascript" src='http://bsrv.adohana.com/ohana/conversion.js?id=112&r=0'></script>
228
    <!-- Fill info array as "Product ID,,Product Name,,Quantity,,Product Price" --> 
229
    <script type="text/javascript" language='javascript'>
230
        var info = [];
231
        #set($orders = $action.getOrders())
232
        #if($orders && $orders.size() != 0)
233
            #foreach($order in $orders)
234
                #set($lineitems = $order.getLineitems())
235
                #foreach($lineitem in $lineitems)
236
                    var prod_name = '';
237
                    #if($lineitem.getBrand()) 
238
                        prod_name += '$lineitem.getBrand()'; 
239
                    #end
240
                    #if($lineitem.getModel_name()) 
241
                        prod_name += ' $lineitem.getModel_name()'; 
242
                    #end
243
                    #if($lineitem.getModel_number()) 
244
                        prod_name += ' $lineitem.getModel_number()'; 
245
                    #end
246
                    info.push('$lineitem.getItem_id(),,' + prod_name + ',,$lineitem.getQuantity(),,0') 
247
                #end
248
            #end
249
        #end
250
        trackProductInfo('6e1310f31fc4c8aaf869c94be5d61d03',info); 
251
    </script>
252
    <!-- End of Conversion tag -->
253
 
4061 vikas 254
    #if($action.getIsShooglooAff())
255
        <script src="http://shoogloonetwork.directtrack.com/i_track_sale/65/0.00/$action.getMerchantPaymentId()/OPTIONAL_INFORMATION"></script>
256
    #end
3840 vikas 257
    <noscript>
258
        <div style="display:inline;">
259
            <img height="1" width="1" style="border-style:none;" alt="" src="http://www.googleadservices.com/pagead/conversion/979811816/?label=t9j-CID2lQMQ6Pua0wM&amp;guid=ON&amp;script=0"/>
260
        </div>
261
    </noscript>
713 rajveer 262
</body>
1688 rajveer 263
</html>