Subversion Repositories SmartDukaan

Rev

Rev 4217 | Rev 4232 | 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>
111
			#if($cod)
112
    		<div id="shippingEstimateCalculator" class="left" style="padding: 15px 10px 15px 10px">
113
    			<span class="label left" style="font-size:13px; font-weight:bold; color:#333333"><sup>*</sup>Our Executive will give you a call to confirm your order.</span>
114
    		</div>
115
    		#end
713 rajveer 116
		</div>
3830 chandransh 117
		#else
118
    	<div id="registration" class="blue-border">
119
    		<div class="middle">
120
    			<div class="mid-inner">
121
    				<div id="emptyCart">
122
    					<!-- empty cart -->
123
    					<div id="emptyCart">
124
    						<p>
125
    							<strong>
126
									Due to some error we are unable to display your details.
127
									Please check <a href="/myaccount">My Account</a> page to see the order confirmation status.
128
								</strong>
129
    						</p>
130
    					</div>
131
    					<!-- /empty cart -->
132
    				</div>
133
    			</div>
134
    		</div>
135
    	</div>
136
		#end	
137
 
138
 
139
 
140
 
141
		<!-- /Cart Details -->
713 rajveer 142
	</div>
3830 chandransh 143
</div>
1067 varun.gupt 144
 
3830 chandransh 145
#include("templates/footer.vm")
3111 vikas 146
 
3830 chandransh 147
#include ( "templates/commonjsfiles.vm" )
3840 vikas 148
 
149
    <script type="text/javascript" charset="utf-8">
150
        #set($orders = $action.getOrders())
151
        #if($orders && $orders.size() != 0)
152
            #foreach($order in $orders)
153
                if(typeof _gaq != "undefined" && _gaq != null)  {
154
                    _gaq.push(['_addTrans',
155
                       '$order.getId()',                // order ID - required
156
                       'Saholic',                       // affiliation or store name
157
                       '$order.getTotal_amount()',      // total - required
158
                       '0',                             // tax
159
                       '0',                             // shipping
160
                       '$order.getCustomer_city()',     // city
161
                       '$order.getCustomer_state()',    // state or province
162
                       'INDIA'                          // country
163
                    ]);
164
                #set($lineitems = $order.getLineitems())
165
                #foreach($lineitem in $lineitems)
166
                    var prod_name = '';
167
                    #if($lineitem.getBrand()) 
168
                        prod_name += '$lineitem.getBrand()'; 
169
                    #end
170
                    #if($lineitem.getModel_name()) 
171
                        prod_name += ' $lineitem.getModel_name()'; 
172
                    #end
173
                    #if($lineitem.getModel_number()) 
174
                        prod_name += ' $lineitem.getModel_number()'; 
175
                    #end
176
                    _gaq.push(['_addItem',
177
                        '$order.getId()',            // order ID - required
178
                        '$lineitem.getItem_id()',    // SKU/code - required
179
                        prod_name,                   // product name
180
                        '$lineitem.getColor()',      // category or variation
181
                        '$lineitem.getUnit_price()', // unit price - required
182
                        '$lineitem.getQuantity()'    // quantity - required
183
                    ]);
184
                #end
185
                    _gaq.push(['_trackTrans']);
186
                }
187
            #end
188
        #end
189
    </script>
190
 
191
 
192
    <!-- Google Code for AdwordsPurchase Conversion Page -->
193
    <script type="text/javascript" charset="utf-8">
194
        /* <![CDATA[ */
195
        var google_conversion_id = 979811816;
196
        var google_conversion_language = "en";
197
        var google_conversion_format = "3";
198
        var google_conversion_color = "ffffff";
199
        var google_conversion_label = "t9j-CID2lQMQ6Pua0wM";
200
        if ($total_amount) {
201
            var google_conversion_value = $total_amount;
202
        }
203
        /* ]]> */
204
    </script>
205
    <script language="javascript" type="text/javascript" src="http://www.googleadservices.com/pagead/conversion.js"></script>
206
 
207
    <!-- Ohana Conversion Code -->
208
    <!-- DO NOT MODIFY THIS TAG IN ANY WAY -->
209
    <!-- Place your logic to get the revenue from the page & pass as an argument to the conversion script -->
210
    <script language="javascript" type="text/javascript" src='http://bsrv.adohana.com/ohana/conversion.js?id=112&r=0'></script>
211
    <!-- Fill info array as "Product ID,,Product Name,,Quantity,,Product Price" --> 
212
    <script type="text/javascript" language='javascript'>
213
        var info = [];
214
        #set($orders = $action.getOrders())
215
        #if($orders && $orders.size() != 0)
216
            #foreach($order in $orders)
217
                #set($lineitems = $order.getLineitems())
218
                #foreach($lineitem in $lineitems)
219
                    var prod_name = '';
220
                    #if($lineitem.getBrand()) 
221
                        prod_name += '$lineitem.getBrand()'; 
222
                    #end
223
                    #if($lineitem.getModel_name()) 
224
                        prod_name += ' $lineitem.getModel_name()'; 
225
                    #end
226
                    #if($lineitem.getModel_number()) 
227
                        prod_name += ' $lineitem.getModel_number()'; 
228
                    #end
229
                    info.push('$lineitem.getItem_id(),,' + prod_name + ',,$lineitem.getQuantity(),,0') 
230
                #end
231
            #end
232
        #end
233
        trackProductInfo('6e1310f31fc4c8aaf869c94be5d61d03',info); 
234
    </script>
235
    <!-- End of Conversion tag -->
236
 
4061 vikas 237
    #if($action.getIsShooglooAff())
238
        <script src="http://shoogloonetwork.directtrack.com/i_track_sale/65/0.00/$action.getMerchantPaymentId()/OPTIONAL_INFORMATION"></script>
239
    #end
3840 vikas 240
    <noscript>
241
        <div style="display:inline;">
242
            <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"/>
243
        </div>
244
    </noscript>
713 rajveer 245
</body>
1688 rajveer 246
</html>