| Line 3... |
Line 3... |
| 3 |
#set($defaultid = $Integer.parseInt($defaultAddressId))
|
3 |
#set($defaultid = $Integer.parseInt($defaultAddressId))
|
| 4 |
#else
|
4 |
#else
|
| 5 |
#set($defaultid = 0)
|
5 |
#set($defaultid = 0)
|
| 6 |
#end
|
6 |
#end
|
| 7 |
|
7 |
|
| 8 |
#if($defaultStoreAddressId && $defaultStoreAddressId != 0)
|
8 |
#if($defaultStoreAddressId)
|
| 9 |
#set($defaultStoreId = $Integer.parseInt($defaultStoreAddressId))
|
9 |
#set($defaultStoreId = $Integer.parseInt($defaultStoreAddressId))
|
| 10 |
#else
|
10 |
#else
|
| 11 |
#set($defaultStoreId = 0)
|
11 |
#set($defaultStoreId = 0)
|
| 12 |
#end
|
12 |
#end
|
| 13 |
|
13 |
|
| Line 57... |
Line 57... |
| 57 |
#else
|
57 |
#else
|
| 58 |
#set($locationServiceable = 1)
|
58 |
#set($locationServiceable = 1)
|
| 59 |
#set($messageShippingTime = $item.get("SHIPPING_TIME") + " Bus. Days")
|
59 |
#set($messageShippingTime = $item.get("SHIPPING_TIME") + " Bus. Days")
|
| 60 |
#end
|
60 |
#end
|
| 61 |
<tr>
|
61 |
<tr>
|
| - |
|
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;')
|
| 62 |
<td>
|
65 |
#end
|
| - |
|
66 |
<td style='$style'>
|
| 63 |
<div class="cart-item-name-div padding5">
|
67 |
<div class="cart-item-name-div padding5">
|
| 64 |
<span class="cart-item-name">$item.get("ITEM_NAME")</span><br/>
|
68 |
<span class="cart-item-name">$item.get("ITEM_NAME")</span><br/>
|
| 65 |
<span class="cart-item-color">$item.get("ITEM_COLOR")</span>
|
69 |
<span class="cart-item-color">$item.get("ITEM_COLOR")</span>
|
| 66 |
#if($item.get("BEST_DEAL_TEXT"))
|
70 |
#if($item.get("BEST_DEAL_TEXT"))
|
| 67 |
<div class="cart-item-best-deal-text">$item.get("BEST_DEAL_TEXT")</div>
|
71 |
<div class="cart-item-best-deal-text">$item.get("BEST_DEAL_TEXT")</div>
|
| Line 73... |
Line 77... |
| 73 |
<img src="/images/rupee-symbol.png" alt="Rs." />
|
77 |
<img src="/images/rupee-symbol.png" alt="Rs." />
|
| 74 |
$item.get("TOTAL_PRICE")<br />(for $item.get("ITEM_QUANTITY") pcs)
|
78 |
$item.get("TOTAL_PRICE")<br />(for $item.get("ITEM_QUANTITY") pcs)
|
| 75 |
</td>
|
79 |
</td>
|
| 76 |
</tr>
|
80 |
</tr>
|
| 77 |
#end
|
81 |
#end
|
| 78 |
</tbody>
|
- |
|
| 79 |
</table>
|
- |
|
| 80 |
<table class="right net-amount" cellspacing="0">
|
- |
|
| 81 |
<tr>
|
- |
|
| 82 |
<td class="label">SHIPPING:</td>
|
- |
|
| 83 |
<td class="orange">FREE</td>
|
- |
|
| 84 |
</tr>
|
- |
|
| 85 |
#if($couponcode != "")
|
82 |
#if($couponcode != "")
|
| 86 |
#set($cssClass = "")
|
83 |
#set($cssClass = "")
|
| 87 |
#else
|
84 |
#else
|
| 88 |
#set($cssClass = "payable")
|
85 |
#set($cssClass = "payable")
|
| 89 |
#end
|
86 |
#end
|
| - |
|
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
|
| - |
|
93 |
#if($couponcode == "")
|
| - |
|
94 |
<tr>
|
| - |
|
95 |
<td colspan='2' class="label">SHIPPING</td>
|
| 90 |
<tr class="total-amount $cssClass">
|
96 |
<td class="orange">FREE</td>
|
| - |
|
97 |
</tr>
|
| - |
|
98 |
<tr class="total-amount payable" style='background-color:#FFFFCC;font-size:14px;font-weight:bold;'>
|
| 91 |
<td class="label">Total Amount:</td>
|
99 |
<td colspan='2' class="label">Total Amount</td>
|
| 92 |
<td><img src="/images/rupee-symbol.png" alt="Rs." /> $totalamount</td>
|
100 |
<td><img src="/images/rupee-symbol.png" alt="Rs." /> $totalamount</td>
|
| 93 |
</tr>
|
101 |
</tr>
|
| - |
|
102 |
#else
|
| 94 |
#if($couponcode != "")
|
103 |
<tr class="total-amount">
|
| - |
|
104 |
<td colspan='2' class="label" style='border:none;'>Coupon <span style='font-weight:bold;color:#2789C1;font-size:14px;'>$couponcode</span></td>
|
| - |
|
105 |
<td style='border:none;'><img src="/images/rupee-symbol.png" alt="Rs." /> $discount</td>
|
| - |
|
106 |
</tr>
|
| - |
|
107 |
<tr>
|
| - |
|
108 |
<td colspan='2' class="label">SHIPPING</td>
|
| 95 |
<tr class="discounted-amount payable">
|
109 |
<td class="orange">FREE</td>
|
| - |
|
110 |
</tr>
|
| - |
|
111 |
<tr class="discounted-amount payable" style='background-color:#FFFFCC;font-size:14px;font-weight:bold;'>
|
| 96 |
<td class="label">Amount Payable:<br />(After Discount)</td>
|
112 |
<td colspan='2' class="label">Total Amount</td>
|
| 97 |
<td><img src="/images/rupee-symbol.png" alt="Rs." /> $discountedamount</td>
|
113 |
<td id="discountedAmount"><img src="/images/rupee-symbol.png" alt="Rs." /> $discountedamount</td>
|
| 98 |
</tr>
|
114 |
</tr>
|
| 99 |
#end
|
115 |
#end
|
| - |
|
116 |
</tbody>
|
| 100 |
</table>
|
117 |
</table>
|
| 101 |
</div>
|
118 |
</div>
|
| 102 |
#end
|
119 |
#end
|
| - |
|
120 |
#if($insuranceDetailsRequired.equals("standAlone"))
|
| - |
|
121 |
<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;">
|
| - |
|
122 |
<div id='thanks' style='display:none;color:#2789c1;font-size:14px;text-align:center;'>Thank you!</div>
|
| - |
|
123 |
<h3>Please enter the following details</h3>
|
| - |
|
124 |
<form id="insuranceDetailsForm" style="padding:7px 7px 0 7px;">
|
| - |
|
125 |
<div style="margin-bottom:7px;">
|
| - |
|
126 |
<span style="font-size:13px;color:#444;display:inline-block;width: 42%;text-align: right;padding-right: 5px;">Father's/Husband's Name : </span>
|
| - |
|
127 |
<span style="display:inline-block;width:55%;">
|
| - |
|
128 |
<input id='guardianName' class='insuranceDetailField' name="guardianName" type="text">
|
| - |
|
129 |
</span>
|
| - |
|
130 |
</div>
|
| - |
|
131 |
<div style="margin-bottom:7px;">
|
| - |
|
132 |
<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>
|
| - |
|
133 |
<span style="display:inline-block;width:55%;">
|
| - |
|
134 |
<input id='dob' name="dob" class='insuranceDetailField' type="text" style='color:#999;' value='Example: 18/08/1986'>
|
| - |
|
135 |
</span>
|
| - |
|
136 |
<input id="insuranceType" type="hidden" name="insuranceType" value="">
|
| - |
|
137 |
</div>
|
| - |
|
138 |
<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;">
|
| - |
|
139 |
</div>
|
| - |
|
140 |
<div style="margin:13px 5px 13px 0;text-align: right;">
|
| - |
|
141 |
<input id='submitInsuranceDetails' type="button" value="Submit" style="height: 25px;width: 125px;background-color: skyblue;color: black;font-weight: bold;">
|
| - |
|
142 |
</div>
|
| - |
|
143 |
<div id="insuranceHelpInfo" style="border-top:1px solid #999;color:#777;font-size:13px;padding:5px;">
|
| - |
|
144 |
We need these details for the purpose of insurance.<br>
|
| - |
|
145 |
If you do not wish to take insurance <a id="cancelInsurance" style="cursor:pointer">click here</a><br>
|
| - |
|
146 |
If this product is being billed in the name of an institution <a id="companyInsurance" style="cursor:pointer">click here</a>
|
| - |
|
147 |
</div>
|
| - |
|
148 |
</form>
|
| - |
|
149 |
</div>
|
| 103 |
|
150 |
#end
|
| 104 |
<div id="main-right-container">
|
151 |
<div id="main-right-container">
|
| 105 |
#set($myLocation-tab-status = "selected-tab")
|
152 |
#set($myLocation-tab-status = "selected-tab")
|
| 106 |
#set($hotSpot-tab-status = "unselected-tab")
|
153 |
#set($hotSpot-tab-status = "unselected-tab")
|
| 107 |
#set($shipping-div-status = "")
|
154 |
#set($shipping-div-status = "")
|
| - |
|
155 |
|
| 108 |
#set($billing-and-store-div-status = "hidden-div")
|
156 |
#set($billing-and-store-div-status = "hidden-div")
|
| 109 |
#if($selectedTab == "HotSpot")
|
157 |
#if($selectedTab == "HotSpot")
|
| 110 |
#set($myLocation-tab-status = "unselected-tab")
|
158 |
#set($myLocation-tab-status = "unselected-tab")
|
| 111 |
#set($hotSpot-tab-status = "selected-tab")
|
159 |
#set($hotSpot-tab-status = "selected-tab")
|
| 112 |
#set($shipping-div-status = "hidden-div")
|
160 |
#set($shipping-div-status = "hidden-div")
|
| 113 |
#set($billing-and-store-div-status = "")
|
161 |
#set($billing-and-store-div-status = "")
|
| 114 |
#end
|
162 |
#end
|
| 115 |
<div id="tab-container">
|
163 |
<div id="tab-container">
|
| 116 |
<div id="tab-left" class=$myLocation-tab-status>DELIVER TO MY ADDRESS</div>
|
164 |
<div id="tab-left" class=$myLocation-tab-status>DELIVER TO MY ADDRESS</div>
|
| - |
|
165 |
<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
|
| 117 |
<div id="tab-right" class=$hotSpot-tab-status>PICKUP IN STORE
|
166 |
<a style="padding-left:2px" href="javascript:void(0)" id="pickupstoreInfo">
|
| 118 |
<div id="pickup-tab-new-icon-container"></div>
|
167 |
<img id="whats-this" style="vertical-align:middle" src="/images/quesmark.png">
|
| - |
|
168 |
</a>
|
| 119 |
</div>
|
169 |
</div>
|
| 120 |
</div>
|
170 |
</div>
|
| 121 |
|
171 |
|
| 122 |
<div id="store-address-div" class=$billing-and-store-div-status>
|
172 |
<div id="store-address-div" class=$billing-and-store-div-status>
|
| 123 |
<div id="hotspot-address-heading" class="label">
|
173 |
<div id="hotspot-address-heading" class="label">
|
| Line 348... |
Line 398... |
| 348 |
<tbody>
|
398 |
<tbody>
|
| 349 |
<tr>
|
399 |
<tr>
|
| 350 |
<td> </td>
|
400 |
<td> </td>
|
| 351 |
<td class="instruction">All Fields are required</td>
|
401 |
<td class="instruction">All Fields are required</td>
|
| 352 |
</tr>
|
402 |
</tr>
|
| - |
|
403 |
#if($insuranceDetailsRequired.equals("inForm"))
|
| - |
|
404 |
<tr>
|
| - |
|
405 |
<td class="label" align="right"><sup>*</sup>Father's/Husband's Name:</td>
|
| - |
|
406 |
<td class="input">
|
| - |
|
407 |
<input type="text" id="guardianName" name="guardianName" class="searchbox right" >
|
| - |
|
408 |
</input>
|
| - |
|
409 |
</td>
|
| 353 |
<tr>
|
410 |
</tr>
|
| - |
|
411 |
<tr>
|
| - |
|
412 |
<td class="label" align="right"><sup>*</sup>Date of Birth (dd/mm/yyyy):</td>
|
| - |
|
413 |
<td class="input">
|
| - |
|
414 |
<input type="text" id="dob" name="dob" style='color:#999;' value='Example: 18/08/1986' class="searchbox right" >
|
| - |
|
415 |
</input>
|
| - |
|
416 |
</td>
|
| - |
|
417 |
</tr>
|
| - |
|
418 |
<tr >
|
| - |
|
419 |
<td colspan="2">
|
| - |
|
420 |
<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;">
|
| - |
|
421 |
</div>
|
| - |
|
422 |
</td>
|
| - |
|
423 |
</tr>
|
| - |
|
424 |
<tr id="insuranceHelpInfo">
|
| - |
|
425 |
<td colspan="2" style="color:#777;font-size:13px;padding:5px;">
|
| - |
|
426 |
We need the above details for the purpose of insurance.<br>
|
| - |
|
427 |
If you do not wish to take insurance <a id="cancelInsurance" style="cursor:pointer">click here</a><br>
|
| - |
|
428 |
<hr>
|
| - |
|
429 |
</td>
|
| - |
|
430 |
</tr>
|
| - |
|
431 |
#end
|
| - |
|
432 |
<tr>
|
| 354 |
<td class="label" align="right"><sup>*</sup>Name:</td>
|
433 |
<td class="label" align="right"><sup>*</sup>Name:</td>
|
| 355 |
<td class="input">
|
434 |
<td class="input">
|
| 356 |
<input type="text" id="shipName" name="name" class="searchbox right" />
|
435 |
<input type="text" id="shipName" name="name" class="searchbox right" >
|
| - |
|
436 |
</input>
|
| 357 |
</td>
|
437 |
</td>
|
| 358 |
</tr>
|
438 |
</tr>
|
| 359 |
<tr>
|
439 |
<tr>
|
| 360 |
<td class="label" align="right"><sup>*</sup>Address Line 1:</td>
|
440 |
<td class="label" align="right"><sup>*</sup>Address Line 1:</td>
|
| 361 |
<td class="input">
|
441 |
<td class="input">
|
| 362 |
<input type="text" id="shipAddress1" name="line1" class="searchbox right" />
|
442 |
<input type="text" id="shipAddress1" name="line1" class="searchbox right" />
|
| 363 |
</td>
|
443 |
</td>
|
| 364 |
</tr>
|
444 |
</tr>
|
| 365 |
<tr>
|
445 |
<tr>
|
| 366 |
<td class="label" align="right">Address Line 2:</td>
|
446 |
<td class="label" align="right">Address Line 2:</td>
|
| 367 |
<td class="input">
|
447 |
<td class="input">
|
| 368 |
<input type="text" id="shipAddress2" name="line2" class="searchbox right" />
|
448 |
<input type="text" id="shipAddress2" name="line2" class="searchbox right" />
|
| 369 |
</td>
|
449 |
</td>
|
| 370 |
</tr>
|
450 |
</tr>
|
| 371 |
<tr>
|
451 |
<tr>
|
| 372 |
<td class="label" align="right"><sup>*</sup>State</td>
|
452 |
<td class="label" align="right"><sup>*</sup>State</td>
|
| 373 |
<td class="input">
|
453 |
<td class="input">
|
| 374 |
<select class="select_state" name="state" id="shipState">
|
454 |
<select class="select_state" name="state" id="shipState">
|
| 375 |
#include("templates/stateslist.vm")
|
455 |
#include("templates/stateslist.vm")
|
| 376 |
</select>
|
456 |
</select>
|
| 377 |
</td>
|
457 |
</td>
|
| 378 |
</tr>
|
458 |
</tr>
|
| 379 |
<tr>
|
459 |
<tr>
|
| 380 |
<td class="label" align="right"><sup>*</sup>City:</td>
|
460 |
<td class="label" align="right"><sup>*</sup>City:</td>
|
| 381 |
<td class="input">
|
461 |
<td class="input">
|
| 382 |
<input type="text" id="shipCity" name="city" class="searchbox"/>
|
462 |
<input type="text" id="shipCity" name="city" class="searchbox"/>
|
| 383 |
</td>
|
463 |
</td>
|
| 384 |
</tr>
|
464 |
</tr>
|
| 385 |
<tr>
|
465 |
<tr>
|
| 386 |
<td class="label" align="right"><sup>*</sup>Pin Code:</td>
|
466 |
<td class="label" align="right"><sup>*</sup>Pin Code:</td>
|
| 387 |
<td class="input">
|
467 |
<td class="input">
|
| 388 |
<input type="text" id="shipPin" name="pincode" value="" class="searchbox textbox-pincode" />
|
468 |
<input type="text" id="shipPin" name="pincode" value="" class="searchbox textbox-pincode" />
|
| 389 |
</td>
|
469 |
</td>
|
| 390 |
</tr>
|
470 |
</tr>
|
| 391 |
<tr>
|
471 |
<tr>
|
| 392 |
<td class="label" align="right"><sup>*</sup>Phone:</td>
|
472 |
<td class="label" align="right"><sup>*</sup>Phone:</td>
|
| 393 |
<td class="input">
|
473 |
<td class="input">
|
| 394 |
<input type="text" id="shipPhone" name="phone" value="" class="searchbox right" />
|
474 |
<input type="text" id="shipPhone" name="phone" value="" class="searchbox right" />
|
| 395 |
</td>
|
475 |
</td>
|
| 396 |
</tr>
|
476 |
</tr>
|
| 397 |
<tr>
|
477 |
<tr>
|
| 398 |
<td colspan="2" align="center">
|
478 |
<td colspan="2" align="center">
|
| 399 |
<input type="hidden" name="action" value="add" />
|
479 |
<input type="hidden" name="action" value="add" />
|
| 400 |
<input type="submit" id="submitAddress" value="Save Address" class="new-button" />
|
480 |
<input type="submit" id="submitAddress" value="Save" class="new-button" />
|
| 401 |
<a id="closeAddAddressForm">Clear</a>
|
481 |
<a id="closeAddAddressForm">Close</a>
|
| 402 |
</td>
|
482 |
</td>
|
| 403 |
</tr>
|
483 |
</tr>
|
| 404 |
<tr>
|
484 |
<tr>
|
| 405 |
<td> </td>
|
485 |
<td> </td>
|
| 406 |
<td class="instruction">This will be added to your list of addresses</td>
|
486 |
<td class="instruction">This will be added to your list of addresses</td>
|
| 407 |
</tr>
|
487 |
</tr>
|
| 408 |
</tbody>
|
488 |
</tbody>
|
| 409 |
</table>
|
489 |
</table>
|
| 410 |
#if($selectedTab == "HotSpot")
|
490 |
#if($selectedTab == "HotSpot")
|
| 411 |
<input id="tabSelectorForAddAddressForm" type="hidden" name="selectedTab" value="HotSpot" />
|
491 |
<input id="tabSelectorForAddAddressForm" type="hidden" name="selectedTab" value="HotSpot" />
|
| 412 |
#else
|
492 |
#else
|