| 3830 |
chandransh |
1 |
#set($Integer = 0)
|
|
|
2 |
#if($defaultAddressId)
|
|
|
3 |
#set($defaultid = $Integer.parseInt($defaultAddressId))
|
|
|
4 |
#else
|
|
|
5 |
#set($defaultid = 0)
|
|
|
6 |
#end
|
|
|
7 |
|
| 7458 |
amit.gupta |
8 |
#if($defaultStoreAddressId)
|
| 5716 |
anupam.sin |
9 |
#set($defaultStoreId = $Integer.parseInt($defaultStoreAddressId))
|
|
|
10 |
#else
|
| 5746 |
anupam.sin |
11 |
#set($defaultStoreId = 0)
|
| 5716 |
anupam.sin |
12 |
#end
|
|
|
13 |
|
| 3830 |
chandransh |
14 |
#if(!$errorMsg.isEmpty())
|
|
|
15 |
<div id="messageError">
|
|
|
16 |
<span></span>
|
|
|
17 |
<p>$errorMsg <br/></p>
|
|
|
18 |
</div>
|
|
|
19 |
#end
|
| 5920 |
anupam.sin |
20 |
<div id="proceedToPayContainer" style="float:left; width:100%">
|
| 3830 |
chandransh |
21 |
<div class="free-shipping left">
|
|
|
22 |
<div class="label">Shipping to your area is <span class="orange">FREE</span>.</div>
|
|
|
23 |
<div class="payment-modes-msg">
|
|
|
24 |
We accept all <b>credit / debit cards</b> and <b>netbanking facilities</b>. You can also pay <b>Cash on Delivery</b>.
|
|
|
25 |
</div>
|
| 5920 |
anupam.sin |
26 |
#if($selectedTab == "HotSpot")
|
|
|
27 |
#set($visibility = "")
|
|
|
28 |
#else
|
|
|
29 |
#set($visibility = "invisibleDiv")
|
|
|
30 |
#end
|
|
|
31 |
<div id="inStoreLocationMsg" style="color:red; font-size:15px" class="$visibility">
|
|
|
32 |
Pickup in store is currently available only for Delhi/NCR
|
|
|
33 |
</div>
|
| 3830 |
chandransh |
34 |
</div>
|
|
|
35 |
<form id="formProceedToPay" action="/proceed-to-pay" method="post">
|
|
|
36 |
<input type="hidden" value="$defaultid" name="addressid" id="addressid">
|
| 5716 |
anupam.sin |
37 |
<input type="hidden" name="deliveryLocation" value="$selectedTab" id="tabSelector">
|
|
|
38 |
<input type="hidden" name="hotSpotAddressId" value="$defaultStoreId" id="hotSpotAddressId">
|
| 3830 |
chandransh |
39 |
</form>
|
| 3903 |
varun.gupt |
40 |
<div id="proceedToPay" class="cartflow-main-action-button right">PROCEED TO PAYMENT ></div>
|
| 5920 |
anupam.sin |
41 |
</div>
|
| 3830 |
chandransh |
42 |
#if($items)
|
|
|
43 |
<div class="cart-container left">
|
|
|
44 |
<table id="cartDetail" cellpadding="0" cellspacing="0" class="left">
|
|
|
45 |
<thead>
|
|
|
46 |
<tr>
|
|
|
47 |
<th width="212" class="first">Item & Color</th>
|
|
|
48 |
<th width="117">Delivery Time</th>
|
|
|
49 |
<th width="99">Total Price </th>
|
|
|
50 |
</tr>
|
|
|
51 |
</thead>
|
|
|
52 |
<tbody>
|
|
|
53 |
#foreach($item in $items)
|
|
|
54 |
#if($item.get("SHIPPING_TIME") == -1)
|
|
|
55 |
#set($locationServiceable = 0)
|
|
|
56 |
#set($messageShippingTime = "Location not serviceable")
|
|
|
57 |
#else
|
|
|
58 |
#set($locationServiceable = 1)
|
| 7791 |
rajveer |
59 |
#set($messageShippingTime = $item.get("SHIPPING_TIME"))
|
| 3830 |
chandransh |
60 |
#end
|
|
|
61 |
<tr>
|
| 7458 |
amit.gupta |
62 |
#set($style='')
|
|
|
63 |
#if(!$item.get("INSURER").equals("0"))
|
|
|
64 |
#set($style = 'background: white url("/images/insuredStamp.png") no-repeat right;background-size: 76px;')
|
|
|
65 |
#end
|
|
|
66 |
<td style='$style'>
|
| 3830 |
chandransh |
67 |
<div class="cart-item-name-div padding5">
|
| 4217 |
varun.gupt |
68 |
<span class="cart-item-name">$item.get("ITEM_NAME")</span><br/>
|
| 3830 |
chandransh |
69 |
<span class="cart-item-color">$item.get("ITEM_COLOR")</span>
|
| 4225 |
varun.gupt |
70 |
#if($item.get("BEST_DEAL_TEXT"))
|
|
|
71 |
<div class="cart-item-best-deal-text">$item.get("BEST_DEAL_TEXT")</div>
|
| 4217 |
varun.gupt |
72 |
#end
|
| 3830 |
chandransh |
73 |
</div>
|
|
|
74 |
</td>
|
|
|
75 |
<td id="shipping_time_$item.get("ITEM_ID")">$messageShippingTime</td>
|
|
|
76 |
<td>
|
|
|
77 |
<img src="/images/rupee-symbol.png" alt="Rs." />
|
|
|
78 |
$item.get("TOTAL_PRICE")<br />(for $item.get("ITEM_QUANTITY") pcs)
|
|
|
79 |
</td>
|
|
|
80 |
</tr>
|
|
|
81 |
#end
|
|
|
82 |
#if($couponcode != "")
|
|
|
83 |
#set($cssClass = "")
|
|
|
84 |
#else
|
|
|
85 |
#set($cssClass = "payable")
|
|
|
86 |
#end
|
| 7458 |
amit.gupta |
87 |
#if($totalInsurance != "0.00")
|
|
|
88 |
<tr>
|
|
|
89 |
<td colspan ='2' class='label' style='border:none;'>1 Year WorldWide Theft Insurance</td>
|
|
|
90 |
<td style='border:none;'><img src="/images/rupee-symbol.png" alt="Rs." /> $totalInsurance</td>
|
|
|
91 |
</tr>
|
|
|
92 |
#end
|
| 9301 |
kshitij.so |
93 |
#if($isAnyItemDataProtected=="true")
|
|
|
94 |
<tr>
|
|
|
95 |
<td colspan ='2' class='label' style='border:none;'>3 Months Data Protection</td>
|
|
|
96 |
#if($oneAssistAmount != "0.00")
|
|
|
97 |
<td style='border:none;'><img src="/images/rupee-symbol.png" alt="Rs." /> $oneAssistAmount</td>
|
|
|
98 |
#else
|
|
|
99 |
<td class="orange" style="border: medium none;">FREE</td>
|
|
|
100 |
#end
|
|
|
101 |
</tr>
|
|
|
102 |
#end
|
| 7458 |
amit.gupta |
103 |
#if($couponcode == "")
|
|
|
104 |
<tr>
|
|
|
105 |
<td colspan='2' class="label">SHIPPING</td>
|
|
|
106 |
<td class="orange">FREE</td>
|
|
|
107 |
</tr>
|
|
|
108 |
<tr class="total-amount payable" style='background-color:#FFFFCC;font-size:14px;font-weight:bold;'>
|
|
|
109 |
<td colspan='2' class="label">Total Amount</td>
|
| 3830 |
chandransh |
110 |
<td><img src="/images/rupee-symbol.png" alt="Rs." /> $totalamount</td>
|
|
|
111 |
</tr>
|
| 7458 |
amit.gupta |
112 |
#else
|
|
|
113 |
<tr class="total-amount">
|
|
|
114 |
<td colspan='2' class="label" style='border:none;'>Coupon <span style='font-weight:bold;color:#2789C1;font-size:14px;'>$couponcode</span></td>
|
|
|
115 |
<td style='border:none;'><img src="/images/rupee-symbol.png" alt="Rs." /> $discount</td>
|
| 3830 |
chandransh |
116 |
</tr>
|
| 7458 |
amit.gupta |
117 |
<tr>
|
|
|
118 |
<td colspan='2' class="label">SHIPPING</td>
|
|
|
119 |
<td class="orange">FREE</td>
|
|
|
120 |
</tr>
|
|
|
121 |
<tr class="discounted-amount payable" style='background-color:#FFFFCC;font-size:14px;font-weight:bold;'>
|
|
|
122 |
<td colspan='2' class="label">Total Amount</td>
|
|
|
123 |
<td id="discountedAmount"><img src="/images/rupee-symbol.png" alt="Rs." /> $discountedamount</td>
|
|
|
124 |
</tr>
|
| 3830 |
chandransh |
125 |
#end
|
| 7458 |
amit.gupta |
126 |
</tbody>
|
|
|
127 |
</table>
|
| 3830 |
chandransh |
128 |
</div>
|
|
|
129 |
#end
|
| 7458 |
amit.gupta |
130 |
#if($insuranceDetailsRequired.equals("standAlone"))
|
|
|
131 |
<div id="insuranceDetailDiv" style="margin-bottom:10px;box-shadow: 0 0 5px 0px #AAA inset;padding:10px;border: 1px solid #AAA;float:right;width: 472px;">
|
|
|
132 |
<div id='thanks' style='display:none;color:#2789c1;font-size:14px;text-align:center;'>Thank you!</div>
|
|
|
133 |
<h3>Please enter the following details</h3>
|
|
|
134 |
<form id="insuranceDetailsForm" style="padding:7px 7px 0 7px;">
|
|
|
135 |
<div style="margin-bottom:7px;">
|
|
|
136 |
<span style="font-size:13px;color:#444;display:inline-block;width: 42%;text-align: right;padding-right: 5px;">Father's/Husband's Name : </span>
|
|
|
137 |
<span style="display:inline-block;width:55%;">
|
|
|
138 |
<input id='guardianName' class='insuranceDetailField' name="guardianName" type="text">
|
|
|
139 |
</span>
|
|
|
140 |
</div>
|
|
|
141 |
<div style="margin-bottom:7px;">
|
|
|
142 |
<span style="font-size:13px;color:#444;display:inline-block;width: 42%;text-align: right;padding-right: 5px;">Date of Birth (dd/mm/yyyy) : </span>
|
|
|
143 |
<span style="display:inline-block;width:55%;">
|
|
|
144 |
<input id='dob' name="dob" class='insuranceDetailField' type="text" style='color:#999;' value='Example: 18/08/1986'>
|
|
|
145 |
</span>
|
|
|
146 |
<input id="insuranceType" type="hidden" name="insuranceType" value="">
|
|
|
147 |
</div>
|
|
|
148 |
<div id='insDetErr' style="display:none;border: 1px solid red;padding: 7px;text-align: center;color: red;font-size: 14px;margin: 0 -5px 0 -5px;background-color: lightyellow;box-shadow: 0 0 3px 0 red inset;">
|
|
|
149 |
</div>
|
|
|
150 |
<div style="margin:13px 5px 13px 0;text-align: right;">
|
|
|
151 |
<input id='submitInsuranceDetails' type="button" value="Submit" style="height: 25px;width: 125px;background-color: skyblue;color: black;font-weight: bold;">
|
|
|
152 |
</div>
|
|
|
153 |
<div id="insuranceHelpInfo" style="border-top:1px solid #999;color:#777;font-size:13px;padding:5px;">
|
|
|
154 |
We need these details for the purpose of insurance.<br>
|
|
|
155 |
If you do not wish to take insurance <a id="cancelInsurance" style="cursor:pointer">click here</a><br>
|
|
|
156 |
If this product is being billed in the name of an institution <a id="companyInsurance" style="cursor:pointer">click here</a>
|
|
|
157 |
</div>
|
|
|
158 |
</form>
|
|
|
159 |
</div>
|
|
|
160 |
#end
|
| 5716 |
anupam.sin |
161 |
<div id="main-right-container">
|
| 7456 |
amit.gupta |
162 |
#set($myLocation-tab-status = "selected-tab")
|
|
|
163 |
#set($hotSpot-tab-status = "unselected-tab")
|
|
|
164 |
#set($shipping-div-status = "")
|
| 7458 |
amit.gupta |
165 |
|
| 5716 |
anupam.sin |
166 |
#set($billing-and-store-div-status = "hidden-div")
|
|
|
167 |
#if($selectedTab == "HotSpot")
|
| 7456 |
amit.gupta |
168 |
#set($myLocation-tab-status = "unselected-tab")
|
|
|
169 |
#set($hotSpot-tab-status = "selected-tab")
|
| 5716 |
anupam.sin |
170 |
#set($shipping-div-status = "hidden-div")
|
| 7456 |
amit.gupta |
171 |
#set($billing-and-store-div-status = "")
|
| 5716 |
anupam.sin |
172 |
#end
|
|
|
173 |
<div id="tab-container">
|
| 7456 |
amit.gupta |
174 |
<div id="tab-left" class=$myLocation-tab-status>DELIVER TO MY ADDRESS</div>
|
| 7458 |
amit.gupta |
175 |
<div class=$hotSpot-tab-status id="tab-right" style="padding: 5px 9px 3px 39px; margin-right: 0px; width: 190px; text-align: left; margin-top: 13px; border-top-width: 1px;">PICKUP IN STORE
|
|
|
176 |
<a style="padding-left:2px" href="javascript:void(0)" id="pickupstoreInfo">
|
|
|
177 |
<img id="whats-this" style="vertical-align:middle" src="/images/quesmark.png">
|
|
|
178 |
</a>
|
| 5765 |
anupam.sin |
179 |
</div>
|
| 5716 |
anupam.sin |
180 |
</div>
|
| 5614 |
rajveer |
181 |
|
| 5716 |
anupam.sin |
182 |
<div id="store-address-div" class=$billing-and-store-div-status>
|
|
|
183 |
<div id="hotspot-address-heading" class="label">
|
| 5765 |
anupam.sin |
184 |
<div id="store-address-header-text" class="address-header-text"> Select a pickup point (<b>$storeAddresses.size()</b> stores available)</div>
|
| 5746 |
anupam.sin |
185 |
<div id="zone-selector-div">
|
|
|
186 |
<select id="zone-selector">
|
|
|
187 |
#foreach($zone in $allZones)
|
| 5751 |
anupam.sin |
188 |
#if($zone == "All")
|
|
|
189 |
<option id="$zone" value="$zone" >Select Zone</option>
|
|
|
190 |
#else
|
|
|
191 |
#set($stringWithoutSpace = $zone.replace(" ", "_"))
|
|
|
192 |
<option id="$stringWithoutSpace" value="$stringWithoutSpace" >$zone</option>
|
|
|
193 |
#end
|
| 5746 |
anupam.sin |
194 |
#end
|
|
|
195 |
</select>
|
|
|
196 |
</div>
|
| 5716 |
anupam.sin |
197 |
</div>
|
|
|
198 |
<div id="store-address-container">
|
|
|
199 |
<table id="store-addresses" class="shipping-page-addresses right">
|
|
|
200 |
<tbody>
|
|
|
201 |
#foreach($storeAddress in $storeAddresses)
|
|
|
202 |
#set($storeAddressId = $storeAddress.getId())
|
|
|
203 |
|
|
|
204 |
#if($defaultStoreId == $storeAddressId)
|
|
|
205 |
#set($cssClassDefault = "default-address")
|
|
|
206 |
#else
|
|
|
207 |
#set($cssClassDefault = "")
|
|
|
208 |
#end
|
| 5746 |
anupam.sin |
209 |
<tr id="tr_$storeAddress.getId()" class="address $cssClassDefault" zone="$storeAddress.getZone().replace(" ", "_")">
|
| 5716 |
anupam.sin |
210 |
<td align="center" valign="top" class="radio">
|
|
|
211 |
#if($defaultStoreId == $storeAddressId)
|
|
|
212 |
<img src="/images/RadioButton_Selected.png" />
|
|
|
213 |
<input type="hidden" id="selectedPincode" value="$storeAddress.getPin()" />
|
|
|
214 |
#else
|
|
|
215 |
<img id="selectStoreAddress_$storeAddressId" class="store-address-selector-button" src="/images/RadioButton_Unselected.png" title="Select this Store for Shipment" />
|
|
|
216 |
<form id="formChangeStoreAddressTo_$storeAddressId" method="post" action="/shipping">
|
|
|
217 |
<input type="hidden" name="selectedTab" value="HotSpot" />
|
|
|
218 |
<input type="hidden" name="addressid" value="$storeAddressId" />
|
|
|
219 |
<input type="hidden" name="action" value="change" />
|
|
|
220 |
</form>
|
|
|
221 |
#end
|
|
|
222 |
</td>
|
|
|
223 |
<td class="detail">
|
|
|
224 |
#if($storeAddress.getName())
|
|
|
225 |
<b>$storeAddress.getName()</b><br />
|
|
|
226 |
#end
|
|
|
227 |
#if($storeAddress.getLine1())
|
|
|
228 |
<label>$storeAddress.getLine1() </label><br />
|
|
|
229 |
#end
|
|
|
230 |
#if($storeAddress.getLine2() != "")
|
|
|
231 |
<label>$storeAddress.getLine2()</label><br />
|
|
|
232 |
#end
|
|
|
233 |
#if($storeAddress.getCity())
|
|
|
234 |
<label>$storeAddress.getCity()</label><br />
|
|
|
235 |
#end
|
|
|
236 |
#if($storeAddress.getState())
|
|
|
237 |
<label>$storeAddress.getState()</label><br />
|
|
|
238 |
#end
|
|
|
239 |
#if($storeAddress.getPin())
|
|
|
240 |
<label>Pin: $storeAddress.getPin()</label>
|
|
|
241 |
#end
|
|
|
242 |
</p>
|
|
|
243 |
#if($storeAddress.getPhone())
|
|
|
244 |
<b>Phone: $storeAddress.getPhone() </b>
|
|
|
245 |
#end
|
|
|
246 |
</td>
|
|
|
247 |
</tr>
|
|
|
248 |
#end
|
|
|
249 |
</tbody>
|
|
|
250 |
</table>
|
|
|
251 |
</div><!--End of store address container-->
|
|
|
252 |
</div>
|
|
|
253 |
<div id="billing-address-div" class=$billing-and-store-div-status>
|
|
|
254 |
<div id="billing-address-header" class="address-header label left">
|
|
|
255 |
<div id="billing-address-header-text" class="address-header-text">Select Billing Address</div>
|
|
|
256 |
<button id="addAddress" class="right">+ Add New Address</button>
|
|
|
257 |
</div>
|
|
|
258 |
<div id="billing-address-container">
|
|
|
259 |
<table id="billing-addresses" class="shipping-page-addresses right">
|
|
|
260 |
<thead></thead>
|
|
|
261 |
<tbody>
|
|
|
262 |
#set($shipAddressEmpty = 1)
|
|
|
263 |
#foreach($address in $addresses)
|
|
|
264 |
#set($shipAddressEmpty = 0)
|
|
|
265 |
#set($addressId = $address.getId())
|
|
|
266 |
|
|
|
267 |
#if($defaultid == $addressId)
|
|
|
268 |
#set($cssClassDefault = "default-address")
|
|
|
269 |
#else
|
|
|
270 |
#set($cssClassDefault = "")
|
|
|
271 |
#end
|
|
|
272 |
<tr id="tr_$address.getId()" class="address $cssClassDefault">
|
|
|
273 |
<td align="center" valign="top" class="radio">
|
|
|
274 |
#if($defaultid == $addressId)
|
|
|
275 |
#set($shipAddressEmpty = 0)
|
|
|
276 |
<img id="selectAddress_$addressId" class="dummy-class" src="/images/RadioButton_Selected.png" title="Select this Address for Shipment" />
|
|
|
277 |
<!--<input type="hidden" id="selectedPincode" value="$address.getPin()" />-->
|
|
|
278 |
#else
|
|
|
279 |
<img id="selectAddress_$addressId" class="billing-address-selector-button" src="/images/RadioButton_Unselected.png" title="Select this Address for Shipment" />
|
|
|
280 |
<!--<form id="formChangeAddressTo_$addressId" method="post" action="/shipping?action=change&selectedTab=HotSpot&addressid=$addressId">
|
|
|
281 |
</form>-->
|
|
|
282 |
#end
|
|
|
283 |
</td>
|
|
|
284 |
<td class="detail">
|
|
|
285 |
#if($address.getName())
|
|
|
286 |
<b>$address.getName()</b><br />
|
|
|
287 |
#end
|
|
|
288 |
#if($address.getLine1())
|
|
|
289 |
<label>$address.getLine1() </label><br />
|
|
|
290 |
#end
|
|
|
291 |
#if($address.getLine2() != "")
|
|
|
292 |
<label>$address.getLine2()</label><br />
|
|
|
293 |
#end
|
|
|
294 |
#if($address.getCity())
|
|
|
295 |
<label>$address.getCity()</label><br />
|
|
|
296 |
#end
|
|
|
297 |
#if($address.getState())
|
|
|
298 |
<label>$address.getState()</label><br />
|
|
|
299 |
#end
|
|
|
300 |
#if($address.getPin())
|
|
|
301 |
<label>Pin: $address.getPin()</label>
|
|
|
302 |
#end
|
|
|
303 |
</p>
|
|
|
304 |
#if($address.getPhone())
|
|
|
305 |
<b>Phone: $address.getPhone() </b>
|
|
|
306 |
#end
|
|
|
307 |
</td>
|
|
|
308 |
<!--<td class="delete">
|
|
|
309 |
<img id="delete_$addressId" class="delete-address" src="/images/Cross_DeleteRow_DEF.png" title="Delete this Address"/>
|
|
|
310 |
</td>-->
|
|
|
311 |
</tr>
|
|
|
312 |
#end
|
|
|
313 |
#if($shipAddressEmpty!=0)
|
|
|
314 |
<tr><td colspan="2">You do not have an address linked to your profile. Please add one.</td></tr>
|
|
|
315 |
#end
|
|
|
316 |
<input type="hidden" id="addressEmpty" value="$shipAddressEmpty">
|
|
|
317 |
</tbody>
|
|
|
318 |
</table>
|
|
|
319 |
</div>
|
|
|
320 |
</div>
|
|
|
321 |
<div id="shipping-address-div" class=$shipping-div-status>
|
|
|
322 |
<div id="shipping-address-header" class="address-header label left">
|
|
|
323 |
<div id="shipping-address-header-text" class="address-header-text">Select Shipping Address</div>
|
|
|
324 |
<button id="addAddress" class="right">+ Add New Address</button>
|
|
|
325 |
</div>
|
|
|
326 |
<div id="shipping-address-container">
|
|
|
327 |
<table id="shipping-addresses" class="shipping-page-addresses right">
|
|
|
328 |
<thead></thead>
|
|
|
329 |
<tbody>
|
|
|
330 |
#set($shipAddressEmpty = 1)
|
|
|
331 |
#foreach($address in $addresses)
|
|
|
332 |
#set($shipAddressEmpty = 0)
|
|
|
333 |
#set($addressId = $address.getId())
|
|
|
334 |
|
|
|
335 |
#if($defaultid == $addressId)
|
|
|
336 |
#set($cssClassDefault = "default-address")
|
|
|
337 |
#else
|
|
|
338 |
#set($cssClassDefault = "")
|
|
|
339 |
#end
|
|
|
340 |
<tr id="tr_$address.getId()" class="address $cssClassDefault">
|
|
|
341 |
<td align="center" valign="top" class="radio">
|
|
|
342 |
#if($defaultid == $addressId)
|
|
|
343 |
#set($shipAddressEmpty = 0)
|
|
|
344 |
<img src="/images/RadioButton_Selected.png" />
|
|
|
345 |
<input type="hidden" id="selectedPincode" value="$address.getPin()" />
|
|
|
346 |
#else
|
|
|
347 |
<img id="selectAddress_$addressId" class="button-address-select" src="/images/RadioButton_Unselected.png" title="Select this Address for Shipment" />
|
|
|
348 |
<form id="formChangeAddressTo_$addressId" method="post" action="/shipping?action=change&selectedTab=myLocation&addressid=$addressId">
|
|
|
349 |
</form>
|
|
|
350 |
#end
|
|
|
351 |
</td>
|
|
|
352 |
<td class="detail">
|
|
|
353 |
#if($address.getName())
|
|
|
354 |
<b>$address.getName()</b><br />
|
|
|
355 |
#end
|
|
|
356 |
#if($address.getLine1())
|
|
|
357 |
<label>$address.getLine1() </label><br />
|
|
|
358 |
#end
|
|
|
359 |
#if($address.getLine2() != "")
|
|
|
360 |
<label>$address.getLine2()</label><br />
|
|
|
361 |
#end
|
|
|
362 |
#if($address.getCity())
|
|
|
363 |
<label>$address.getCity()</label><br />
|
|
|
364 |
#end
|
|
|
365 |
#if($address.getState())
|
|
|
366 |
<label>$address.getState()</label><br />
|
|
|
367 |
#end
|
|
|
368 |
#if($address.getPin())
|
|
|
369 |
<label>Pin: $address.getPin()</label>
|
|
|
370 |
#end
|
|
|
371 |
</p>
|
|
|
372 |
#if($address.getPhone())
|
|
|
373 |
<b>Phone: $address.getPhone() </b>
|
|
|
374 |
#end
|
|
|
375 |
</td>
|
|
|
376 |
</tr>
|
|
|
377 |
#end
|
|
|
378 |
#if($shipAddressEmpty!=0)
|
|
|
379 |
<tr><td colspan="2">You do not an shipping address linked to your profile. Please add one.</td></tr>
|
|
|
380 |
#end
|
|
|
381 |
<input type="hidden" id="addressEmpty" value="$shipAddressEmpty">
|
|
|
382 |
</tbody>
|
|
|
383 |
</table>
|
|
|
384 |
</div>
|
|
|
385 |
</div>
|
| 861 |
vikas |
386 |
|
| 3830 |
chandransh |
387 |
#if($shipAddressEmpty == 1)
|
|
|
388 |
<input type="hidden" id="canProceedToPay" value="0" />
|
| 5831 |
anupam.sin |
389 |
<input type="hidden" id="reasonActionDisability" value="No address selected" />
|
| 3830 |
chandransh |
390 |
#elseif($locationServiceable == 0)
|
|
|
391 |
<input type="hidden" id="canProceedToPay" value="0" />
|
|
|
392 |
<input type="hidden" id="reasonActionDisability" value="Location not serviceable. Please specify a different address" />
|
| 3101 |
chandransh |
393 |
#else
|
| 3830 |
chandransh |
394 |
<input type="hidden" id="canProceedToPay" value="1" />
|
| 3101 |
chandransh |
395 |
#end
|
| 3830 |
chandransh |
396 |
<!-- Add Shipping Detail Start-->
|
|
|
397 |
<form name="frmShippingAddress" id="frmShippingAddress" method="post" action="/shipping" class="right">
|
|
|
398 |
<table cellpadding="0" cellspacing="0">
|
|
|
399 |
<thead>
|
|
|
400 |
<tr class="header">
|
| 5803 |
anupam.sin |
401 |
#if($selectedTab == "HotSpot")
|
|
|
402 |
<td id="newAddressFormHeading" colspan="2">Enter the address which you want printed on the bill</td>
|
|
|
403 |
#else
|
|
|
404 |
<td id="newAddressFormHeading" colspan="2">Enter the address where you want the items to be delivered</td>
|
|
|
405 |
#end
|
| 3830 |
chandransh |
406 |
</tr>
|
|
|
407 |
</thead>
|
|
|
408 |
<tbody>
|
|
|
409 |
<tr>
|
|
|
410 |
<td> </td>
|
|
|
411 |
<td class="instruction">All Fields are required</td>
|
|
|
412 |
</tr>
|
| 7458 |
amit.gupta |
413 |
#if($insuranceDetailsRequired.equals("inForm"))
|
|
|
414 |
<tr>
|
|
|
415 |
<td class="label" align="right"><sup>*</sup>Father's/Husband's Name:</td>
|
|
|
416 |
<td class="input">
|
|
|
417 |
<input type="text" id="guardianName" name="guardianName" class="searchbox right" >
|
|
|
418 |
</input>
|
|
|
419 |
</td>
|
|
|
420 |
</tr>
|
|
|
421 |
<tr>
|
|
|
422 |
<td class="label" align="right"><sup>*</sup>Date of Birth (dd/mm/yyyy):</td>
|
|
|
423 |
<td class="input">
|
|
|
424 |
<input type="text" id="dob" name="dob" style='color:#999;' value='Example: 18/08/1986' class="searchbox right" >
|
|
|
425 |
</input>
|
|
|
426 |
</td>
|
|
|
427 |
</tr>
|
|
|
428 |
<tr >
|
|
|
429 |
<td colspan="2">
|
|
|
430 |
<div id="insDetErr" style="display:none;border: 1px solid red;padding: 7px;text-align: center;color: red;font-size: 14px;margin: 0 -5px 0 -5px;background-color: lightyellow;box-shadow: 0 0 3px 0 red inset;">
|
|
|
431 |
</div>
|
|
|
432 |
</td>
|
|
|
433 |
</tr>
|
|
|
434 |
<tr id="insuranceHelpInfo">
|
|
|
435 |
<td colspan="2" style="color:#777;font-size:13px;padding:5px;">
|
|
|
436 |
We need the above details for the purpose of insurance.<br>
|
|
|
437 |
If you do not wish to take insurance <a id="cancelInsurance" style="cursor:pointer">click here</a><br>
|
|
|
438 |
<hr>
|
|
|
439 |
</td>
|
|
|
440 |
</tr>
|
|
|
441 |
#end
|
|
|
442 |
<tr>
|
|
|
443 |
<td class="label" align="right"><sup>*</sup>Name:</td>
|
|
|
444 |
<td class="input">
|
|
|
445 |
<input type="text" id="shipName" name="name" class="searchbox right" >
|
|
|
446 |
</input>
|
|
|
447 |
</td>
|
|
|
448 |
</tr>
|
|
|
449 |
<tr>
|
|
|
450 |
<td class="label" align="right"><sup>*</sup>Address Line 1:</td>
|
|
|
451 |
<td class="input">
|
|
|
452 |
<input type="text" id="shipAddress1" name="line1" class="searchbox right" />
|
|
|
453 |
</td>
|
|
|
454 |
</tr>
|
|
|
455 |
<tr>
|
|
|
456 |
<td class="label" align="right">Address Line 2:</td>
|
|
|
457 |
<td class="input">
|
|
|
458 |
<input type="text" id="shipAddress2" name="line2" class="searchbox right" />
|
|
|
459 |
</td>
|
|
|
460 |
</tr>
|
|
|
461 |
<tr>
|
|
|
462 |
<td class="label" align="right"><sup>*</sup>State</td>
|
|
|
463 |
<td class="input">
|
|
|
464 |
<select class="select_state" name="state" id="shipState">
|
|
|
465 |
#include("templates/stateslist.vm")
|
|
|
466 |
</select>
|
|
|
467 |
</td>
|
|
|
468 |
</tr>
|
|
|
469 |
<tr>
|
|
|
470 |
<td class="label" align="right"><sup>*</sup>City:</td>
|
|
|
471 |
<td class="input">
|
|
|
472 |
<input type="text" id="shipCity" name="city" class="searchbox"/>
|
|
|
473 |
</td>
|
|
|
474 |
</tr>
|
|
|
475 |
<tr>
|
|
|
476 |
<td class="label" align="right"><sup>*</sup>Pin Code:</td>
|
|
|
477 |
<td class="input">
|
|
|
478 |
<input type="text" id="shipPin" name="pincode" value="" class="searchbox textbox-pincode" />
|
|
|
479 |
</td>
|
|
|
480 |
</tr>
|
|
|
481 |
<tr>
|
|
|
482 |
<td class="label" align="right"><sup>*</sup>Phone:</td>
|
|
|
483 |
<td class="input">
|
|
|
484 |
<input type="text" id="shipPhone" name="phone" value="" class="searchbox right" />
|
|
|
485 |
</td>
|
|
|
486 |
</tr>
|
|
|
487 |
<tr>
|
|
|
488 |
<td colspan="2" align="center">
|
|
|
489 |
<input type="hidden" name="action" value="add" />
|
|
|
490 |
<input type="submit" id="submitAddress" value="Save" class="new-button" />
|
|
|
491 |
<a id="closeAddAddressForm">Close</a>
|
|
|
492 |
</td>
|
|
|
493 |
</tr>
|
|
|
494 |
<tr>
|
|
|
495 |
<td> </td>
|
|
|
496 |
<td class="instruction">This will be added to your list of addresses</td>
|
|
|
497 |
</tr>
|
| 3830 |
chandransh |
498 |
</tbody>
|
|
|
499 |
</table>
|
| 5831 |
anupam.sin |
500 |
#if($selectedTab == "HotSpot")
|
|
|
501 |
<input id="tabSelectorForAddAddressForm" type="hidden" name="selectedTab" value="HotSpot" />
|
|
|
502 |
#else
|
|
|
503 |
<input id="tabSelectorForAddAddressForm" type="hidden" name="selectedTab" value="myLocation" />
|
|
|
504 |
#end
|
| 5716 |
anupam.sin |
505 |
</form>
|
|
|
506 |
</div><!--End of main-right- Container-->
|