| 410 |
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" />
|
| 5625 |
vikram.rag |
8 |
<title>${in.shop2020.title}</title>
|
| 3830 |
chandransh |
9 |
#include ( "templates/commoncssfiles.vm" )
|
| 5542 |
amar.kumar |
10 |
<script language="javascript" type="text/javascript" src="/js/ga-invoker.js"></script>
|
| 507 |
rajveer |
11 |
</head>
|
|
|
12 |
<body>
|
|
|
13 |
<noscript>
|
| 5572 |
anupam.sin |
14 |
<p id="noScript">Please enable <em>Javascript</em> for this Website to function correctly!</p>
|
| 507 |
rajveer |
15 |
</noscript>
|
| 413 |
rajveer |
16 |
|
| 3830 |
chandransh |
17 |
$action.getHeaderSnippet()
|
|
|
18 |
|
|
|
19 |
<div id="main">
|
|
|
20 |
<div class="main-content">
|
|
|
21 |
<div id="cartFlowHeader">
|
|
|
22 |
<div class="left cartflow-header-tab lefttab-active active-tab-font">
|
|
|
23 |
<span class="counter-active">1</span>
|
|
|
24 |
<span class="label">Cart Details</span>
|
| 1981 |
varun.gupt |
25 |
</div>
|
| 3830 |
chandransh |
26 |
<div class="left cartflow-header-tab midtab-inactive left-overlap inactive-tab-font">
|
|
|
27 |
<span class="counter-inactive">2</span>
|
|
|
28 |
<span class="label">Shipping Info.</span>
|
|
|
29 |
</div>
|
|
|
30 |
<div class="left cartflow-header-tab midtab-inactive left-overlap inactive-tab-font">
|
|
|
31 |
<span class="counter-inactive">3</span>
|
|
|
32 |
<span class="label">Make Payment</span>
|
|
|
33 |
</div>
|
|
|
34 |
<div class="left cartflow-header-tab righttab-inactive left-overlap inactive-tab-font">
|
|
|
35 |
<span class="counter-inactive">4</span>
|
|
|
36 |
<span class="label">Order Status</span>
|
|
|
37 |
</div>
|
| 410 |
rajveer |
38 |
</div>
|
| 413 |
rajveer |
39 |
|
| 1981 |
varun.gupt |
40 |
<!-- Cart Details -->
|
| 3830 |
chandransh |
41 |
#set($items = $action.getCartItems())
|
|
|
42 |
|
|
|
43 |
#if($items)
|
|
|
44 |
#set($totalamount = $action.getTotalAmount())
|
|
|
45 |
#set($pincode = $action.getPinCode())
|
|
|
46 |
#set($couponcode = $action.getCouponCode())
|
|
|
47 |
#set($discountedAmount = $action.getDiscountedAmount())
|
|
|
48 |
#set($errorMsg = $action.getErrorMsg())
|
|
|
49 |
|
|
|
50 |
<div id="cart" class="blue-border">
|
| 4836 |
rajveer |
51 |
#if($errorMsg)
|
|
|
52 |
<div style="color: red;margin-bottom: 10px;">$errorMsg</div>
|
|
|
53 |
#end
|
| 3830 |
chandransh |
54 |
<div id="shippingEstimateCalculator" class="left">
|
|
|
55 |
<span class="label left">Enter your Area PIN: </span>
|
|
|
56 |
<input type="text" id="zipcode" class="searchbox" value="$pincode" maxlength="6" />
|
|
|
57 |
<button id="computeEstimate" class="new-button">
|
|
|
58 |
<img src="/images/Icon_DeliveryTime.png" />
|
|
|
59 |
<span>Update Delivery Time</span>
|
|
|
60 |
</button>
|
|
|
61 |
</div>
|
|
|
62 |
<table id="cartDetail" cellpadding="0" cellspacing="0" class="left">
|
|
|
63 |
<thead>
|
|
|
64 |
<tr>
|
|
|
65 |
<th width="242" class="first">Item & Color</th>
|
|
|
66 |
<th width="239"><img src="/images/Icon_DeliveryTime.png" /> Delivery Time for PIN <span class="dev-pincode">$pincode</span></th>
|
|
|
67 |
<th width="140">Unit Price</th>
|
|
|
68 |
<th width="110">Quantity</th>
|
|
|
69 |
<th width="140">Total Price</th>
|
|
|
70 |
<th width="50"> </th>
|
|
|
71 |
</tr>
|
|
|
72 |
</thead>
|
|
|
73 |
<tbody>
|
|
|
74 |
#foreach($item in $items)
|
| 6561 |
amit.gupta |
75 |
#set($messageShippingTime = "<div id=serv_" + $item.get("ITEM_ID")+ ">Location is not serviceable</div>
|
|
|
76 |
<div id=block_" + $item.get("ITEM_ID")+ "> FREE Delivery in
|
|
|
77 |
<span id=days_" + $item.get("ITEM_ID") + ">" + $item.get("SHIPPING_TIME") + "Bus. Days</span>
|
| 6639 |
amit.gupta |
78 |
<br>
|
|
|
79 |
<span id=otg_" + $item.get("ITEM_ID") + " style=display:none>
|
|
|
80 |
On Time Guarantee
|
|
|
81 |
<br>
|
|
|
82 |
<span class=red>We Pay if We Delay</span>
|
| 6671 |
amit.gupta |
83 |
<a style=padding-left:2px href=javascript:void(0) class=otg_know_more>
|
| 6639 |
amit.gupta |
84 |
<img style=vertical-align:middle src=/images/quesmark.png>
|
|
|
85 |
</a>
|
|
|
86 |
</span>
|
|
|
87 |
</div>
|
|
|
88 |
<div id=img_"+$item.get("ITEM_ID")+"></div>")
|
| 3830 |
chandransh |
89 |
<tr id="$item.get("ITEM_ID")">
|
|
|
90 |
<td>
|
|
|
91 |
<div class="left">
|
| 3944 |
mandeep.dh |
92 |
<img alt="phone" src='/images/website/$item.get("CATALOG_ID")/thumbnail.jpg'>
|
| 3830 |
chandransh |
93 |
</div>
|
|
|
94 |
<div class="cart-item-name-div">
|
| 4217 |
varun.gupt |
95 |
<div class="cart-item-name">$item.get("ITEM_NAME")</div>
|
| 3830 |
chandransh |
96 |
<span class="cart-item-color">$item.get("ITEM_COLOR")</span>
|
| 4224 |
varun.gupt |
97 |
#if($item.get("BEST_DEAL_TEXT"))
|
|
|
98 |
<div class="cart-item-best-deal-text">$item.get("BEST_DEAL_TEXT")</div>
|
| 4217 |
varun.gupt |
99 |
#end
|
| 3830 |
chandransh |
100 |
</div>
|
|
|
101 |
</td>
|
| 3885 |
varun.gupt |
102 |
<td id="shipping_time_$item.get("ITEM_ID")">$messageShippingTime</td>
|
| 3830 |
chandransh |
103 |
<td><img src="/images/rupee-symbol.png" alt="Rs." /> $item.get("SELLING_PRICE")</td>
|
|
|
104 |
<td style="line-height: 28px;">
|
|
|
105 |
<input id="quantity_$item.get("ITEM_ID")" type="text" class="cart-item-quantity searchbox" value=$item.get("ITEM_QUANTITY") />
|
|
|
106 |
pcs.
|
|
|
107 |
</td>
|
|
|
108 |
<td><img src="/images/rupee-symbol.png" alt="Rs." /> $item.get("TOTAL_PRICE")</td>
|
| 3885 |
varun.gupt |
109 |
<td align="center">
|
|
|
110 |
<img id="remove_$item.get("ITEM_ID")" class="remove-quantitybttn" src="/images/Cross_DeleteRow_DEF.png" title="Remove item from the cart" />
|
| 3830 |
chandransh |
111 |
</td>
|
|
|
112 |
</tr>
|
|
|
113 |
#end
|
|
|
114 |
</tbody>
|
|
|
115 |
</table>
|
| 4052 |
varun.gupt |
116 |
<div id="cartFooter">
|
| 4231 |
varun.gupt |
117 |
<div class="top">
|
|
|
118 |
<form id="frmCouponCode" class="left" action="/promotion" method="post">
|
|
|
119 |
<span class="left">Have a Coupon Code? Enter here:</span>
|
|
|
120 |
<input id="couponCode" class="searchbox" type="text" name="coupon_code" maxlength="20" value="$couponcode" />
|
|
|
121 |
<input type="hidden" name="action" id="couponAction" />
|
|
|
122 |
<button id="applyCoupon" class="new-button">Apply</button>
|
| 4052 |
varun.gupt |
123 |
#if($couponcode != "")
|
| 4231 |
varun.gupt |
124 |
<button id="removeCoupon" class="new-button">Remove</button>
|
| 4052 |
varun.gupt |
125 |
#end
|
| 1981 |
varun.gupt |
126 |
|
| 4052 |
varun.gupt |
127 |
#set($messages = $action.getActionErrors())
|
| 4841 |
varun.gupt |
128 |
|
| 4052 |
varun.gupt |
129 |
#if($messages && $messages.size() != 0)
|
| 4231 |
varun.gupt |
130 |
<p id="messageError">
|
| 4052 |
varun.gupt |
131 |
#foreach($message in $messages)
|
| 4231 |
varun.gupt |
132 |
$message <br>
|
| 4052 |
varun.gupt |
133 |
#end
|
| 4231 |
varun.gupt |
134 |
</p>
|
| 4052 |
varun.gupt |
135 |
#end
|
| 6736 |
amit.gupta |
136 |
|
|
|
137 |
#set($messages1 = $action.getActionMessages())
|
|
|
138 |
|
|
|
139 |
#if($messages1 && $messages1.size() != 0)
|
|
|
140 |
<p id="messageSuccess">
|
|
|
141 |
#foreach($message in $messages1)
|
|
|
142 |
$message <br>
|
|
|
143 |
#end
|
|
|
144 |
</p>
|
|
|
145 |
#end
|
| 4231 |
varun.gupt |
146 |
</form>
|
|
|
147 |
<table class="net-amount right" cellspacing="0">
|
|
|
148 |
<tr>
|
|
|
149 |
<td class="label">SHIPPING:</td>
|
|
|
150 |
<td class="orange">FREE</td>
|
|
|
151 |
</tr>
|
| 6736 |
amit.gupta |
152 |
#if($couponcode != "" && $discountedAmount != $totalamount)
|
| 4052 |
varun.gupt |
153 |
#set($cssClass = "")
|
|
|
154 |
#else
|
|
|
155 |
#set($cssClass = "payable")
|
|
|
156 |
#end
|
| 4231 |
varun.gupt |
157 |
<tr class="total-amount $cssClass">
|
|
|
158 |
<td class="label">Total Amount:</td>
|
|
|
159 |
<td><img src="/images/rupee-symbol.png" alt="Rs." /> $totalamount</td>
|
|
|
160 |
</tr>
|
| 6736 |
amit.gupta |
161 |
#if($couponcode != "" && $discountedAmount != $totalamount)
|
| 4231 |
varun.gupt |
162 |
<tr class="discounted-amount payable">
|
|
|
163 |
<td class="label">Amount Payable:<br />(After Discount)</td>
|
|
|
164 |
<td><img src="/images/rupee-symbol.png" alt="Rs." /> $discountedAmount</td>
|
|
|
165 |
</tr>
|
| 4052 |
varun.gupt |
166 |
#end
|
| 4231 |
varun.gupt |
167 |
</table>
|
|
|
168 |
</div>
|
| 4845 |
varun.gupt |
169 |
#if($action.isUserLoggedIn())
|
| 4841 |
varun.gupt |
170 |
#set($actionButtonId = "checkout")
|
| 4845 |
varun.gupt |
171 |
#else
|
| 4841 |
varun.gupt |
172 |
#set($actionButtonId = "poplogin")
|
|
|
173 |
#end
|
|
|
174 |
<div id="$actionButtonId" class="cartflow-main-action-button right checkout-button-below">ENTER SHIPPING INFO ></div>
|
| 4052 |
varun.gupt |
175 |
</div>
|
| 1981 |
varun.gupt |
176 |
</div>
|
| 3830 |
chandransh |
177 |
#else
|
|
|
178 |
<div id="registration" class="blue-border">
|
|
|
179 |
<div class="middle">
|
|
|
180 |
<div class="mid-inner">
|
|
|
181 |
<div id="emptyCart">
|
|
|
182 |
<!-- empty cart -->
|
|
|
183 |
<div id="emptyCart">
|
| 4050 |
anupam.sin |
184 |
<img src="/images/empty-cart.jpg" width="183" height="179" alt="" /><br />
|
| 3941 |
varun.gupt |
185 |
<p><strong>Your cart is currently empty!</strong> <span>Please add items to cart.</span></p>
|
| 3830 |
chandransh |
186 |
<a href="/home">Back to Home</a>
|
|
|
187 |
</div>
|
|
|
188 |
<!-- /empty cart -->
|
|
|
189 |
</div>
|
|
|
190 |
</div>
|
| 2013 |
varun.gupt |
191 |
</div>
|
| 3830 |
chandransh |
192 |
</div>
|
| 1981 |
varun.gupt |
193 |
#end
|
|
|
194 |
<!-- /Cart Details -->
|
| 3830 |
chandransh |
195 |
</div>
|
|
|
196 |
</div>
|
|
|
197 |
#include("templates/footer.vm")
|
|
|
198 |
|
| 943 |
vikas |
199 |
#include ( "templates/commonjsfiles.vm" )
|
| 410 |
rajveer |
200 |
</body>
|
| 3830 |
chandransh |
201 |
</html>
|