Subversion Repositories SmartDukaan

Rev

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