Subversion Repositories SmartDukaan

Rev

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

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