| 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)
|
8 |
#if($defaultStoreAddressId && $defaultStoreAddressId != 0)
|
| 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;')
|
- |
|
| 65 |
#end
|
62 |
<td>
|
| 66 |
<td style='$style'>
|
- |
|
| 67 |
<div class="cart-item-name-div padding5">
|
63 |
<div class="cart-item-name-div padding5">
|
| 68 |
<span class="cart-item-name">$item.get("ITEM_NAME")</span><br/>
|
64 |
<span class="cart-item-name">$item.get("ITEM_NAME")</span><br/>
|
| 69 |
<span class="cart-item-color">$item.get("ITEM_COLOR")</span>
|
65 |
<span class="cart-item-color">$item.get("ITEM_COLOR")</span>
|
| 70 |
#if($item.get("BEST_DEAL_TEXT"))
|
66 |
#if($item.get("BEST_DEAL_TEXT"))
|
| 71 |
<div class="cart-item-best-deal-text">$item.get("BEST_DEAL_TEXT")</div>
|
67 |
<div class="cart-item-best-deal-text">$item.get("BEST_DEAL_TEXT")</div>
|
| Line 77... |
Line 73... |
| 77 |
<img src="/images/rupee-symbol.png" alt="Rs." />
|
73 |
<img src="/images/rupee-symbol.png" alt="Rs." />
|
| 78 |
$item.get("TOTAL_PRICE")<br />(for $item.get("ITEM_QUANTITY") pcs)
|
74 |
$item.get("TOTAL_PRICE")<br />(for $item.get("ITEM_QUANTITY") pcs)
|
| 79 |
</td>
|
75 |
</td>
|
| 80 |
</tr>
|
76 |
</tr>
|
| 81 |
#end
|
77 |
#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>
|
| 82 |
#if($couponcode != "")
|
85 |
#if($couponcode != "")
|
| 83 |
#set($cssClass = "")
|
86 |
#set($cssClass = "")
|
| 84 |
#else
|
87 |
#else
|
| 85 |
#set($cssClass = "payable")
|
88 |
#set($cssClass = "payable")
|
| 86 |
#end
|
89 |
#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>
|
- |
|
| 96 |
<td class="orange">FREE</td>
|
90 |
<tr class="total-amount $cssClass">
|
| 97 |
</tr>
|
- |
|
| 98 |
<tr class="total-amount payable" style='background-color:#FFFFCC;font-size:14px;font-weight:bold;'>
|
- |
|
| 99 |
<td colspan='2' class="label">Total Amount</td>
|
91 |
<td class="label">Total Amount:</td>
|
| 100 |
<td><img src="/images/rupee-symbol.png" alt="Rs." /> $totalamount</td>
|
92 |
<td><img src="/images/rupee-symbol.png" alt="Rs." /> $totalamount</td>
|
| 101 |
</tr>
|
93 |
</tr>
|
| 102 |
#else
|
- |
|
| 103 |
<tr class="total-amount">
|
94 |
#if($couponcode != "")
|
| 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>
|
- |
|
| 109 |
<td class="orange">FREE</td>
|
95 |
<tr class="discounted-amount payable">
|
| 110 |
</tr>
|
- |
|
| 111 |
<tr class="discounted-amount payable" style='background-color:#FFFFCC;font-size:14px;font-weight:bold;'>
|
- |
|
| 112 |
<td colspan='2' class="label">Total Amount</td>
|
96 |
<td class="label">Amount Payable:<br />(After Discount)</td>
|
| 113 |
<td id="discountedAmount"><img src="/images/rupee-symbol.png" alt="Rs." /> $discountedamount</td>
|
97 |
<td><img src="/images/rupee-symbol.png" alt="Rs." /> $discountedamount</td>
|
| 114 |
</tr>
|
98 |
</tr>
|
| 115 |
#end
|
99 |
#end
|
| 116 |
</tbody>
|
- |
|
| 117 |
</table>
|
100 |
</table>
|
| 118 |
</div>
|
101 |
</div>
|
| 119 |
#end
|
102 |
#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>
|
- |
|
| 150 |
#end
|
103 |
|
| 151 |
<div id="main-right-container">
|
104 |
<div id="main-right-container">
|
| 152 |
#set($myLocation-checked = 'style="cursor:default;font-weight:bold"')
|
- |
|
| 153 |
#set($mylocation-checked = 'checked')
|
105 |
#set($myLocation-tab-status = "selected-tab")
|
| 154 |
#set($hotSpot-checked = 'style="cursor:default"')
|
106 |
#set($hotSpot-tab-status = "unselected-tab")
|
| 155 |
#set($hotspot-checked = '')
|
- |
|
| 156 |
#set($shipping-div-status = "not-hidden-div")
|
107 |
#set($shipping-div-status = "")
|
| 157 |
#set($billing-and-store-div-status = "hidden-div")
|
108 |
#set($billing-and-store-div-status = "hidden-div")
|
| 158 |
#if($selectedTab == "HotSpot")
|
109 |
#if($selectedTab == "HotSpot")
|
| 159 |
#set($myLocation-checked = 'style="cursor:default"')
|
110 |
#set($myLocation-tab-status = "unselected-tab")
|
| 160 |
#set($mylocation-checked = '')
|
- |
|
| 161 |
#set($hotSpot-checked = 'style="cursor:default;font-weight:bold"')
|
- |
|
| 162 |
#set($hotspot-checked = 'checked')
|
111 |
#set($hotSpot-tab-status = "selected-tab")
|
| 163 |
#set($shipping-div-status = "hidden-div")
|
112 |
#set($shipping-div-status = "hidden-div")
|
| 164 |
#set($billing-and-store-div-status = "not-hidden-div")
|
113 |
#set($billing-and-store-div-status = "")
|
| 165 |
#end
|
114 |
#end
|
| 166 |
<div id="tab-container">
|
115 |
<div id="tab-container">
|
| 167 |
<div class="deliveryopts">
|
- |
|
| 168 |
<div $myLocation-checked><input type="radio" name="deliveryLocation" value="myLocation" style="vertical-align:sub;" $mylocation-checked/> DELIVER TO MY ADDRESS</div>
|
116 |
<div id="tab-left" class=$myLocation-tab-status>DELIVER TO MY ADDRESS</div>
|
| 169 |
</div>
|
- |
|
| 170 |
<div class="deliveryopts">
|
117 |
<div id="tab-right" class=$hotSpot-tab-status>PICKUP IN STORE
|
| 171 |
<div $hotSpot-checked><input name="deliveryLocation" type="radio" $hotspot-checked value="HotSpot" style="vertical-align:sub;"/> PICKUP IN STORE
|
- |
|
| 172 |
<a style="padding-left:2px" href="javascript:void(0)" id="pickupstoreInfo">
|
- |
|
| 173 |
<img id="whats-this" style="vertical-align:middle" src="/images/quesmark.png">
|
118 |
<div id="pickup-tab-new-icon-container"></div>
|
| 174 |
</a>
|
- |
|
| 175 |
</div>
|
- |
|
| 176 |
</div>
|
119 |
</div>
|
| 177 |
</div>
|
120 |
</div>
|
| 178 |
|
121 |
|
| 179 |
<div id="store-address-div" class=$billing-and-store-div-status>
|
122 |
<div id="store-address-div" class=$billing-and-store-div-status>
|
| 180 |
<div id="hotspot-address-heading" class="label">
|
123 |
<div id="hotspot-address-heading" class="label">
|
| Line 405... |
Line 348... |
| 405 |
<tbody>
|
348 |
<tbody>
|
| 406 |
<tr>
|
349 |
<tr>
|
| 407 |
<td> </td>
|
350 |
<td> </td>
|
| 408 |
<td class="instruction">All Fields are required</td>
|
351 |
<td class="instruction">All Fields are required</td>
|
| 409 |
</tr>
|
352 |
</tr>
|
| 410 |
#if($insuranceDetailsRequired.equals("inForm"))
|
- |
|
| 411 |
<tr>
|
- |
|
| 412 |
<td class="label" align="right"><sup>*</sup>Father's/Husband's Name:</td>
|
- |
|
| 413 |
<td class="input">
|
- |
|
| 414 |
<input type="text" id="guardianName" name="guardianName" class="searchbox right" >
|
- |
|
| 415 |
</input>
|
- |
|
| 416 |
</td>
|
- |
|
| 417 |
</tr>
|
353 |
<tr>
|
| 418 |
<tr>
|
- |
|
| 419 |
<td class="label" align="right"><sup>*</sup>Date of Birth (dd/mm/yyyy):</td>
|
- |
|
| 420 |
<td class="input">
|
- |
|
| 421 |
<input type="text" id="dob" name="dob" style='color:#999;' value='Example: 18/08/1986' class="searchbox right" >
|
- |
|
| 422 |
</input>
|
- |
|
| 423 |
</td>
|
- |
|
| 424 |
</tr>
|
- |
|
| 425 |
<tr >
|
- |
|
| 426 |
<td colspan="2">
|
- |
|
| 427 |
<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;">
|
- |
|
| 428 |
</div>
|
- |
|
| 429 |
</td>
|
- |
|
| 430 |
</tr>
|
- |
|
| 431 |
<tr id="insuranceHelpInfo">
|
- |
|
| 432 |
<td colspan="2" style="color:#777;font-size:13px;padding:5px;">
|
- |
|
| 433 |
We need the above details for the purpose of insurance.<br>
|
- |
|
| 434 |
If you do not wish to take insurance <a id="cancelInsurance" style="cursor:pointer">click here</a><br>
|
- |
|
| 435 |
<hr>
|
- |
|
| 436 |
</td>
|
- |
|
| 437 |
</tr>
|
- |
|
| 438 |
#end
|
- |
|
| 439 |
<tr>
|
- |
|
| 440 |
<td class="label" align="right"><sup>*</sup>Name:</td>
|
354 |
<td class="label" align="right"><sup>*</sup>Name:</td>
|
| 441 |
<td class="input">
|
355 |
<td class="input">
|
| 442 |
<input type="text" id="shipName" name="name" class="searchbox right" >
|
356 |
<input type="text" id="shipName" name="name" class="searchbox right" />
|
| 443 |
</input>
|
- |
|
| 444 |
</td>
|
357 |
</td>
|
| 445 |
</tr>
|
358 |
</tr>
|
| 446 |
<tr>
|
359 |
<tr>
|
| 447 |
<td class="label" align="right"><sup>*</sup>Address Line 1:</td>
|
360 |
<td class="label" align="right"><sup>*</sup>Address Line 1:</td>
|
| 448 |
<td class="input">
|
361 |
<td class="input">
|
| 449 |
<input type="text" id="shipAddress1" name="line1" class="searchbox right" />
|
362 |
<input type="text" id="shipAddress1" name="line1" class="searchbox right" />
|
| 450 |
</td>
|
363 |
</td>
|
| 451 |
</tr>
|
364 |
</tr>
|
| 452 |
<tr>
|
365 |
<tr>
|
| 453 |
<td class="label" align="right">Address Line 2:</td>
|
366 |
<td class="label" align="right">Address Line 2:</td>
|
| 454 |
<td class="input">
|
367 |
<td class="input">
|
| 455 |
<input type="text" id="shipAddress2" name="line2" class="searchbox right" />
|
368 |
<input type="text" id="shipAddress2" name="line2" class="searchbox right" />
|
| 456 |
</td>
|
369 |
</td>
|
| 457 |
</tr>
|
370 |
</tr>
|
| 458 |
<tr>
|
371 |
<tr>
|
| 459 |
<td class="label" align="right"><sup>*</sup>State</td>
|
372 |
<td class="label" align="right"><sup>*</sup>State</td>
|
| 460 |
<td class="input">
|
373 |
<td class="input">
|
| 461 |
<select class="select_state" name="state" id="shipState">
|
374 |
<select class="select_state" name="state" id="shipState">
|
| 462 |
#include("templates/stateslist.vm")
|
375 |
#include("templates/stateslist.vm")
|
| 463 |
</select>
|
376 |
</select>
|
| 464 |
</td>
|
377 |
</td>
|
| 465 |
</tr>
|
378 |
</tr>
|
| 466 |
<tr>
|
379 |
<tr>
|
| 467 |
<td class="label" align="right"><sup>*</sup>City:</td>
|
380 |
<td class="label" align="right"><sup>*</sup>City:</td>
|
| 468 |
<td class="input">
|
381 |
<td class="input">
|
| 469 |
<input type="text" id="shipCity" name="city" class="searchbox"/>
|
382 |
<input type="text" id="shipCity" name="city" class="searchbox"/>
|
| 470 |
</td>
|
383 |
</td>
|
| 471 |
</tr>
|
384 |
</tr>
|
| 472 |
<tr>
|
385 |
<tr>
|
| 473 |
<td class="label" align="right"><sup>*</sup>Pin Code:</td>
|
386 |
<td class="label" align="right"><sup>*</sup>Pin Code:</td>
|
| 474 |
<td class="input">
|
387 |
<td class="input">
|
| 475 |
<input type="text" id="shipPin" name="pincode" value="" class="searchbox textbox-pincode" />
|
388 |
<input type="text" id="shipPin" name="pincode" value="" class="searchbox textbox-pincode" />
|
| 476 |
</td>
|
389 |
</td>
|
| 477 |
</tr>
|
390 |
</tr>
|
| 478 |
<tr>
|
391 |
<tr>
|
| 479 |
<td class="label" align="right"><sup>*</sup>Phone:</td>
|
392 |
<td class="label" align="right"><sup>*</sup>Phone:</td>
|
| 480 |
<td class="input">
|
393 |
<td class="input">
|
| 481 |
<input type="text" id="shipPhone" name="phone" value="" class="searchbox right" />
|
394 |
<input type="text" id="shipPhone" name="phone" value="" class="searchbox right" />
|
| 482 |
</td>
|
395 |
</td>
|
| 483 |
</tr>
|
396 |
</tr>
|
| 484 |
<tr>
|
397 |
<tr>
|
| 485 |
<td colspan="2" align="center">
|
398 |
<td colspan="2" align="center">
|
| 486 |
<input type="hidden" name="action" value="add" />
|
399 |
<input type="hidden" name="action" value="add" />
|
| 487 |
<input type="submit" id="submitAddress" value="Save" class="new-button" />
|
400 |
<input type="submit" id="submitAddress" value="Save Address" class="new-button" />
|
| 488 |
<a id="closeAddAddressForm">Close</a>
|
401 |
<a id="closeAddAddressForm">Clear</a>
|
| 489 |
</td>
|
402 |
</td>
|
| 490 |
</tr>
|
403 |
</tr>
|
| 491 |
<tr>
|
404 |
<tr>
|
| 492 |
<td> </td>
|
405 |
<td> </td>
|
| 493 |
<td class="instruction">This will be added to your list of addresses</td>
|
406 |
<td class="instruction">This will be added to your list of addresses</td>
|
| 494 |
</tr>
|
407 |
</tr>
|
| 495 |
</tbody>
|
408 |
</tbody>
|
| 496 |
</table>
|
409 |
</table>
|
| 497 |
#if($selectedTab == "HotSpot")
|
410 |
#if($selectedTab == "HotSpot")
|
| 498 |
<input id="tabSelectorForAddAddressForm" type="hidden" name="selectedTab" value="HotSpot" />
|
411 |
<input id="tabSelectorForAddAddressForm" type="hidden" name="selectedTab" value="HotSpot" />
|
| 499 |
#else
|
412 |
#else
|