| 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
|
| 6903 |
anupam.sin |
54 |
<div id="insuranceMessage" style="">
|
|
|
55 |
</div>
|
|
|
56 |
<div id="shippingEstimateCalculator" class="left" style='margin-bottom:7px;'>
|
| 3830 |
chandransh |
57 |
<span class="label left">Enter your Area PIN: </span>
|
|
|
58 |
<input type="text" id="zipcode" class="searchbox" value="$pincode" maxlength="6" />
|
|
|
59 |
<button id="computeEstimate" class="new-button">
|
|
|
60 |
<img src="/images/Icon_DeliveryTime.png" />
|
|
|
61 |
<span>Update Delivery Time</span>
|
|
|
62 |
</button>
|
|
|
63 |
</div>
|
|
|
64 |
<table id="cartDetail" cellpadding="0" cellspacing="0" class="left">
|
|
|
65 |
<thead>
|
|
|
66 |
<tr>
|
|
|
67 |
<th width="242" class="first">Item & Color</th>
|
|
|
68 |
<th width="239"><img src="/images/Icon_DeliveryTime.png" /> Delivery Time for PIN <span class="dev-pincode">$pincode</span></th>
|
|
|
69 |
<th width="140">Unit Price</th>
|
|
|
70 |
<th width="110">Quantity</th>
|
|
|
71 |
<th width="140">Total Price</th>
|
|
|
72 |
<th width="50"> </th>
|
|
|
73 |
</tr>
|
|
|
74 |
</thead>
|
|
|
75 |
<tbody>
|
|
|
76 |
#foreach($item in $items)
|
| 6561 |
amit.gupta |
77 |
#set($messageShippingTime = "<div id=serv_" + $item.get("ITEM_ID")+ ">Location is not serviceable</div>
|
| 7791 |
rajveer |
78 |
<div id=block_" + $item.get("ITEM_ID")+ "> FREE Delivery by
|
|
|
79 |
<span id=days_" + $item.get("ITEM_ID") + ">" + $item.get("SHIPPING_TIME") + "</span>
|
| 7880 |
rajveer |
80 |
<span id=coddays_" + $item.get("ITEM_ID") + " style='display:none' ></span>
|
|
|
81 |
<span id=show_cod_" + $item.get("ITEM_ID") + " style='display:none' ><a href='javascript:displayCod(" + $item.get("ITEM_ID") + ")' style='padding-left:2px'><img src='/images/quesmark.png' style='vertical-align: middle;'></a></span>
|
| 6639 |
amit.gupta |
82 |
<br>
|
| 7872 |
rajveer |
83 |
<span id=otg_" + $item.get("ITEM_ID") + " style='display:none'>
|
| 6639 |
amit.gupta |
84 |
On Time Guarantee
|
|
|
85 |
<br>
|
|
|
86 |
<span class=red>We Pay if We Delay</span>
|
| 7850 |
rajveer |
87 |
<a style=padding-left:2px href=javascript:void(0) class='otg_know_more'>
|
| 6639 |
amit.gupta |
88 |
<img style=vertical-align:middle src=/images/quesmark.png>
|
|
|
89 |
</a>
|
|
|
90 |
</span>
|
|
|
91 |
</div>
|
|
|
92 |
<div id=img_"+$item.get("ITEM_ID")+"></div>")
|
| 3830 |
chandransh |
93 |
<tr id="$item.get("ITEM_ID")">
|
|
|
94 |
<td>
|
|
|
95 |
<div class="left">
|
| 3944 |
mandeep.dh |
96 |
<img alt="phone" src='/images/website/$item.get("CATALOG_ID")/thumbnail.jpg'>
|
| 3830 |
chandransh |
97 |
</div>
|
|
|
98 |
<div class="cart-item-name-div">
|
| 4217 |
varun.gupt |
99 |
<div class="cart-item-name">$item.get("ITEM_NAME")</div>
|
| 3830 |
chandransh |
100 |
<span class="cart-item-color">$item.get("ITEM_COLOR")</span>
|
| 4224 |
varun.gupt |
101 |
#if($item.get("BEST_DEAL_TEXT"))
|
|
|
102 |
<div class="cart-item-best-deal-text">$item.get("BEST_DEAL_TEXT")</div>
|
| 4217 |
varun.gupt |
103 |
#end
|
| 3830 |
chandransh |
104 |
</div>
|
|
|
105 |
</td>
|
| 3885 |
varun.gupt |
106 |
<td id="shipping_time_$item.get("ITEM_ID")">$messageShippingTime</td>
|
| 3830 |
chandransh |
107 |
<td><img src="/images/rupee-symbol.png" alt="Rs." /> $item.get("SELLING_PRICE")</td>
|
|
|
108 |
<td style="line-height: 28px;">
|
|
|
109 |
<input id="quantity_$item.get("ITEM_ID")" type="text" class="cart-item-quantity searchbox" value=$item.get("ITEM_QUANTITY") />
|
|
|
110 |
pcs.
|
|
|
111 |
</td>
|
| 6903 |
anupam.sin |
112 |
<td class='totalPrice'><img src="/images/rupee-symbol.png" alt="Rs." /> $item.get("TOTAL_PRICE")</td>
|
| 3885 |
varun.gupt |
113 |
<td align="center">
|
| 6903 |
anupam.sin |
114 |
<img id='remove_$item.get("ITEM_ID")' class="remove-quantitybttn" src="/images/Cross_DeleteRow_DEF.png" title="Remove item from the cart" />
|
| 3830 |
chandransh |
115 |
</td>
|
|
|
116 |
</tr>
|
| 6903 |
anupam.sin |
117 |
#if(!($item.get("IS_INSURABLE").equals("0")))
|
|
|
118 |
<tr>
|
| 9301 |
kshitij.so |
119 |
<td colspan="6" style="padding: 2px 0;">
|
| 6903 |
anupam.sin |
120 |
#if($item.get("IS_INSURED").equals("true"))
|
|
|
121 |
#set($checked = "checked")
|
|
|
122 |
#set($toShow = '')
|
|
|
123 |
#else
|
|
|
124 |
#set($checked = "")
|
|
|
125 |
#set($toShow = 'display:none')
|
|
|
126 |
#end
|
| 9301 |
kshitij.so |
127 |
<img style="float:left;padding-left:25px;" alt="phone" src="/images/insurance.jpg">
|
|
|
128 |
<div>
|
|
|
129 |
<div style="padding: 5px 0 5px 30px;float:left">
|
|
|
130 |
<input type="checkbox" $checked productid=$item.get("ITEM_ID") style='margin-right:4px;' class="wantInsurance" name="wantInsurance" id='wantInsurance_$item.get("ITEM_ID")'>I want to opt for 1 year WorldWide Theft Insurance for this product for <span style="font-size:11px" class="rupee-icon">$item.get("INSURANCE_AMOUNT")</span></input>
|
| 6903 |
anupam.sin |
131 |
</div>
|
| 9301 |
kshitij.so |
132 |
<div id='agreeInsuranceTncDiv_$item.get("ITEM_ID")' class='agreeInsuranceTncDiv' style='width:30%;float:right;padding-top:5px;$toShow'>
|
| 6903 |
anupam.sin |
133 |
|
| 6929 |
anupam.sin |
134 |
<input type="checkbox" insuranceAmount=$item.get("INSURANCE_AMOUNT") $checked style='margin-right:4px;' productid=$item.get("ITEM_ID") quantity=$item.get("ITEM_QUANTITY") class="agreeInsuranceTnc" name="agreeInsuranceTnc" id='agreeInsuranceTnc_$item.get("ITEM_ID")'>I agree to <a href='static/insurance-terms' target='_blank'>terms and conditions</a></input>
|
| 6903 |
anupam.sin |
135 |
</div>
|
| 9301 |
kshitij.so |
136 |
</div>
|
| 6903 |
anupam.sin |
137 |
<div style="clear:left"></div>
|
|
|
138 |
</td>
|
|
|
139 |
</tr>
|
|
|
140 |
#end
|
| 9301 |
kshitij.so |
141 |
#if(!($item.get("DATA_PROTECTION_INSURER").equals("0")))
|
|
|
142 |
<tr>
|
|
|
143 |
<td colspan="6" style="padding: 2px 0;">
|
|
|
144 |
#if($item.get("IS_DATA_PROTECTED").equals("true"))
|
|
|
145 |
#set($checked = "checked")
|
|
|
146 |
#else
|
|
|
147 |
#set($checked = "")
|
|
|
148 |
#end
|
|
|
149 |
<img style="float:left;padding-top:5px;padding-left:10px;" alt="one-assist" src="/images/oneassist.jpg">
|
|
|
150 |
<div style="padding: 5px 0 5px 85px;">
|
| 9524 |
kshitij.so |
151 |
<input type="checkbox" $checked productid=$item.get("ITEM_ID") style='margin-right:4px;' productid=$item.get("ITEM_ID") quantity=$item.get("ITEM_QUANTITY") class="dataProtection" name="dataProtection" id='dataProtection_$item.get("ITEM_ID")'>I want 90 days SIM-blocking, Temporary Mobile Replacement & Data Backup plan worth <span style="font-size:11px" class="rupee-icon"><strike>$item.get("ONE_ASSIST_AMOUNT")</strike></span><span class="orange"> Free</span></input>
|
| 9301 |
kshitij.so |
152 |
<a class="one_assist_know_more" href="javascript:void(0)" style="padding-left:2px">
|
|
|
153 |
<img src="/images/quesmark.png" style="vertical-align: middle;">
|
|
|
154 |
</a>
|
|
|
155 |
</div>
|
|
|
156 |
<div style="clear:left"></div>
|
|
|
157 |
</td>
|
|
|
158 |
</tr>
|
|
|
159 |
#end
|
| 3830 |
chandransh |
160 |
#end
|
|
|
161 |
</tbody>
|
|
|
162 |
</table>
|
| 4052 |
varun.gupt |
163 |
<div id="cartFooter">
|
| 4231 |
varun.gupt |
164 |
<div class="top">
|
|
|
165 |
<form id="frmCouponCode" class="left" action="/promotion" method="post">
|
|
|
166 |
<span class="left">Have a Coupon Code? Enter here:</span>
|
|
|
167 |
<input id="couponCode" class="searchbox" type="text" name="coupon_code" maxlength="20" value="$couponcode" />
|
|
|
168 |
<input type="hidden" name="action" id="couponAction" />
|
|
|
169 |
<button id="applyCoupon" class="new-button">Apply</button>
|
| 4052 |
varun.gupt |
170 |
#if($couponcode != "")
|
| 4231 |
varun.gupt |
171 |
<button id="removeCoupon" class="new-button">Remove</button>
|
| 4052 |
varun.gupt |
172 |
#end
|
| 1981 |
varun.gupt |
173 |
|
| 4052 |
varun.gupt |
174 |
#set($messages = $action.getActionErrors())
|
| 4841 |
varun.gupt |
175 |
|
| 4052 |
varun.gupt |
176 |
#if($messages && $messages.size() != 0)
|
| 4231 |
varun.gupt |
177 |
<p id="messageError">
|
| 4052 |
varun.gupt |
178 |
#foreach($message in $messages)
|
| 4231 |
varun.gupt |
179 |
$message <br>
|
| 4052 |
varun.gupt |
180 |
#end
|
| 4231 |
varun.gupt |
181 |
</p>
|
| 4052 |
varun.gupt |
182 |
#end
|
| 6736 |
amit.gupta |
183 |
|
|
|
184 |
#set($messages1 = $action.getActionMessages())
|
|
|
185 |
|
|
|
186 |
#if($messages1 && $messages1.size() != 0)
|
|
|
187 |
<p id="messageSuccess">
|
| 11939 |
amit.gupta |
188 |
#set($msg="")
|
| 6736 |
amit.gupta |
189 |
#foreach($message in $messages1)
|
| 11939 |
amit.gupta |
190 |
#set($msg=$message)
|
| 6736 |
amit.gupta |
191 |
#end
|
| 11939 |
amit.gupta |
192 |
$msg <br>
|
| 6736 |
amit.gupta |
193 |
</p>
|
| 11939 |
amit.gupta |
194 |
#if($messages1.size() == 1)
|
|
|
195 |
<script type="text/javascript">
|
|
|
196 |
couponApplied = true;
|
|
|
197 |
couponCode = '$couponcode';
|
|
|
198 |
cartItemIds = "#foreach($item in $items)$item.get("ITEM_ID"),#end"
|
|
|
199 |
</script>
|
|
|
200 |
#end
|
| 6736 |
amit.gupta |
201 |
#end
|
| 4231 |
varun.gupt |
202 |
</form>
|
|
|
203 |
<table class="net-amount right" cellspacing="0">
|
|
|
204 |
<tr>
|
|
|
205 |
<td class="label">SHIPPING:</td>
|
|
|
206 |
<td class="orange">FREE</td>
|
|
|
207 |
</tr>
|
| 6736 |
amit.gupta |
208 |
#if($couponcode != "" && $discountedAmount != $totalamount)
|
| 4052 |
varun.gupt |
209 |
#set($cssClass = "")
|
|
|
210 |
#else
|
|
|
211 |
#set($cssClass = "payable")
|
|
|
212 |
#end
|
| 4231 |
varun.gupt |
213 |
<tr class="total-amount $cssClass">
|
|
|
214 |
<td class="label">Total Amount:</td>
|
| 6903 |
anupam.sin |
215 |
<td id='totalAmountColumn'><img src="/images/rupee-symbol.png" alt="Rs." /> $totalamount</td>
|
| 4231 |
varun.gupt |
216 |
</tr>
|
| 6736 |
amit.gupta |
217 |
#if($couponcode != "" && $discountedAmount != $totalamount)
|
| 4231 |
varun.gupt |
218 |
<tr class="discounted-amount payable">
|
| 6903 |
anupam.sin |
219 |
<td class="label">After Discount:</td>
|
|
|
220 |
<td id='discountedAmount'><img src="/images/rupee-symbol.png" alt="Rs." /> $discountedAmount</td>
|
| 4231 |
varun.gupt |
221 |
</tr>
|
| 4052 |
varun.gupt |
222 |
#end
|
| 4231 |
varun.gupt |
223 |
</table>
|
| 6930 |
anupam.sin |
224 |
#if($action.isUserLoggedIn())
|
|
|
225 |
#set($actionButtonId = "checkout")
|
|
|
226 |
#else
|
|
|
227 |
#set($actionButtonId = "poplogin")
|
|
|
228 |
#end
|
| 6929 |
anupam.sin |
229 |
<div id="$actionButtonId" class="cartflow-main-action-button right checkout-button-below">ENTER SHIPPING INFO ></div>
|
| 4231 |
varun.gupt |
230 |
</div>
|
| 4052 |
varun.gupt |
231 |
</div>
|
| 1981 |
varun.gupt |
232 |
</div>
|
| 3830 |
chandransh |
233 |
#else
|
|
|
234 |
<div id="registration" class="blue-border">
|
|
|
235 |
<div class="middle">
|
|
|
236 |
<div class="mid-inner">
|
|
|
237 |
<div id="emptyCart">
|
|
|
238 |
<!-- empty cart -->
|
|
|
239 |
<div id="emptyCart">
|
| 4050 |
anupam.sin |
240 |
<img src="/images/empty-cart.jpg" width="183" height="179" alt="" /><br />
|
| 3941 |
varun.gupt |
241 |
<p><strong>Your cart is currently empty!</strong> <span>Please add items to cart.</span></p>
|
| 3830 |
chandransh |
242 |
<a href="/home">Back to Home</a>
|
|
|
243 |
</div>
|
|
|
244 |
<!-- /empty cart -->
|
|
|
245 |
</div>
|
|
|
246 |
</div>
|
| 2013 |
varun.gupt |
247 |
</div>
|
| 3830 |
chandransh |
248 |
</div>
|
| 1981 |
varun.gupt |
249 |
#end
|
|
|
250 |
<!-- /Cart Details -->
|
| 3830 |
chandransh |
251 |
</div>
|
|
|
252 |
</div>
|
|
|
253 |
#include("templates/footer.vm")
|
| 943 |
vikas |
254 |
#include ( "templates/commonjsfiles.vm" )
|
| 11925 |
amit.gupta |
255 |
#if($action.isPrivateDealUserBase())
|
|
|
256 |
<script type="text/javascript">
|
| 12609 |
amit.gupta |
257 |
var dimensionValue = 'PrivateDeal';
|
|
|
258 |
ga('set', 'dimension1', dimensionValue);
|
| 11925 |
amit.gupta |
259 |
</script>
|
|
|
260 |
#end
|
| 410 |
rajveer |
261 |
</body>
|
| 3830 |
chandransh |
262 |
</html>
|