| 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! </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>
|
|
|
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 & 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 |
|
|
|
79 |
<div class="cart-item-name-div">
|
|
|
80 |
<span class="cart-item-name">
|
|
|
81 |
#if($lineitem.getBrand()) $lineitem.getBrand() #end
|
|
|
82 |
#if($lineitem.getModel_name()) $lineitem.getModel_name() #end
|
|
|
83 |
#if($lineitem.getModel_number()) $lineitem.getModel_number() #end
|
|
|
84 |
</span>
|
|
|
85 |
<br/>
|
|
|
86 |
<span class="cart-item-color">
|
|
|
87 |
#if($lineitem.getColor())
|
|
|
88 |
Color - $lineitem.getColor()
|
|
|
89 |
#end
|
|
|
90 |
</span>
|
|
|
91 |
</div>
|
| 1077 |
varun.gupt |
92 |
</td>
|
| 3830 |
chandransh |
93 |
<td><img src="/images/rupee-symbol.png" alt="Rs." /> $action.formatPrice($lineitem.getUnit_price())</td>
|
| 1331 |
varun.gupt |
94 |
<td>$lineitem.getQuantity().intValue()</td>
|
| 3830 |
chandransh |
95 |
<td><img src="/images/rupee-symbol.png" alt="Rs." /> $action.formatPrice($total_price)</td>
|
| 1077 |
varun.gupt |
96 |
<td>
|
| 3075 |
chandransh |
97 |
#if($order.getStatus().getDescription())
|
|
|
98 |
$order.getStatus().getDescription()
|
|
|
99 |
#end
|
| 1077 |
varun.gupt |
100 |
</td>
|
|
|
101 |
</tr>
|
| 1067 |
varun.gupt |
102 |
#end
|
|
|
103 |
#end
|
| 3830 |
chandransh |
104 |
</tbody>
|
|
|
105 |
</table>
|
|
|
106 |
<table class="net-amount right" style="margin-bottom: 30px" cellspacing="0">
|
|
|
107 |
<tr class="total-amount payable">
|
|
|
108 |
<td class="label">Total Amount:</td>
|
|
|
109 |
<td><img src="/images/rupee-symbol.png" alt="Rs." /> $action.formatPrice($total_amount)</td>
|
|
|
110 |
</tr>
|
|
|
111 |
</table>
|
|
|
112 |
#if($cod)
|
|
|
113 |
<div id="shippingEstimateCalculator" class="left" style="padding: 15px 10px 15px 10px">
|
|
|
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>
|
|
|
115 |
</div>
|
|
|
116 |
#end
|
| 713 |
rajveer |
117 |
</div>
|
| 3830 |
chandransh |
118 |
#else
|
|
|
119 |
<div id="registration" class="blue-border">
|
|
|
120 |
<div class="middle">
|
|
|
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>
|
|
|
135 |
</div>
|
|
|
136 |
</div>
|
|
|
137 |
#end
|
|
|
138 |
|
|
|
139 |
|
|
|
140 |
|
|
|
141 |
|
|
|
142 |
<!-- /Cart Details -->
|
| 713 |
rajveer |
143 |
</div>
|
| 3830 |
chandransh |
144 |
</div>
|
| 1067 |
varun.gupt |
145 |
|
| 3830 |
chandransh |
146 |
#include("templates/footer.vm")
|
| 3111 |
vikas |
147 |
|
| 3830 |
chandransh |
148 |
#include ( "templates/commonjsfiles.vm" )
|
| 713 |
rajveer |
149 |
</body>
|
| 1688 |
rajveer |
150 |
</html>
|