Subversion Repositories SmartDukaan

Rev

Rev 6736 | Rev 6915 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 6736 Rev 6903
Line 49... Line 49...
49
		
49
		
50
		<div id="cart" class="blue-border">
50
		<div id="cart" class="blue-border">
51
			#if($errorMsg)
51
			#if($errorMsg)
52
			<div style="color: red;margin-bottom: 10px;">$errorMsg</div>
52
			<div style="color: red;margin-bottom: 10px;">$errorMsg</div>
53
			#end
53
			#end
-
 
54
			<div id="insuranceMessage" style="">
-
 
55
			</div>
54
			<div id="shippingEstimateCalculator" class="left">
56
			<div id="shippingEstimateCalculator" class="left" style='margin-bottom:7px;'>
55
				<span class="label left">Enter your Area PIN:&nbsp;</span>
57
				<span class="label left">Enter your Area PIN:&nbsp;</span>
56
				<input type="text" id="zipcode" class="searchbox" value="$pincode" maxlength="6" />
58
				<input type="text" id="zipcode" class="searchbox" value="$pincode" maxlength="6" />
57
				<button id="computeEstimate" class="new-button">
59
				<button id="computeEstimate" class="new-button">
58
					<img src="/images/Icon_DeliveryTime.png" />
60
					<img src="/images/Icon_DeliveryTime.png" />
59
					<span>Update Delivery Time</span>
61
					<span>Update Delivery Time</span>
Line 103... Line 105...
103
						<td><img src="/images/rupee-symbol.png" alt="Rs." /> $item.get("SELLING_PRICE")</td>
105
						<td><img src="/images/rupee-symbol.png" alt="Rs." /> $item.get("SELLING_PRICE")</td>
104
						<td style="line-height: 28px;">
106
						<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") />
107
							<input id="quantity_$item.get("ITEM_ID")" type="text" class="cart-item-quantity searchbox" value=$item.get("ITEM_QUANTITY") />
106
							&nbsp;&nbsp;pcs.
108
							&nbsp;&nbsp;pcs.
107
						</td>
109
						</td>
108
						<td><img src="/images/rupee-symbol.png" alt="Rs." /> $item.get("TOTAL_PRICE")</td>
110
						<td class='totalPrice'><img src="/images/rupee-symbol.png" alt="Rs." /> $item.get("TOTAL_PRICE")</td>
109
						<td align="center">
111
						<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" />
112
							<img id='remove_$item.get("ITEM_ID")' class="remove-quantitybttn" src="/images/Cross_DeleteRow_DEF.png" title="Remove item from the cart" />
111
                        </td>
113
                        </td>
112
                    </tr>
114
                    </tr>
-
 
115
					#if(!($item.get("IS_INSURABLE").equals("0")))
-
 
116
    					<tr>
-
 
117
    						<td colspan="6" style="box-shadow: 0 0 10px 0px #67ABD3 inset;">
-
 
118
								#if($item.get("IS_INSURED").equals("true"))
-
 
119
										#set($checked = "checked")
-
 
120
										#set($toShow = '')
-
 
121
									#else
-
 
122
										#set($checked = "")
-
 
123
										#set($toShow = 'display:none')
-
 
124
									#end
-
 
125
    							<img style="float:left" width="50px" height="50px" alt="phone" src="/images/insurance.png">
-
 
126
                                <div style="padding: 5px 0 5px 60px;">
-
 
127
    								<input type="checkbox" $checked itemId=$item.get("ITEM_ID") class="wantInsurance" name="wantInsurance" id='wantInsurance_$item.get("ITEM_ID")'>I want to opt for 1 year WorldWide Theft Insurance for this product for Rs.$item.get("INSURANCE_AMOUNT")</input>
-
 
128
                                </div>
-
 
129
    							<div id='agreeInsuranceTncDiv_$item.get("ITEM_ID")' class='agreeInsuranceTncDiv' style='padding-left:60px;$toShow'>
-
 
130
									
-
 
131
    								<input type="checkbox" insuranceAmount=$item.get("INSURANCE_AMOUNT") $checked itemId=$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>
-
 
132
                                </div>
-
 
133
    							<div style="clear:left"></div>
-
 
134
    						</td>
-
 
135
    					</tr>
-
 
136
					#end
113
				#end
137
				#end
114
                </tbody>
138
                </tbody>
115
            </table>
139
            </table>
116
            <div id="cartFooter">
140
            <div id="cartFooter">
117
				<div class="top">
141
				<div class="top">
Line 154... Line 178...
154
    				#else
178
    				#else
155
    					#set($cssClass = "payable")
179
    					#set($cssClass = "payable")
156
    				#end
180
    				#end
157
						<tr class="total-amount $cssClass">
181
						<tr class="total-amount $cssClass">
158
							<td class="label">Total Amount:</td>
182
							<td class="label">Total Amount:</td>
159
							<td><img src="/images/rupee-symbol.png" alt="Rs." /> $totalamount</td>
183
							<td id='totalAmountColumn'><img src="/images/rupee-symbol.png" alt="Rs." /> $totalamount</td>
160
						</tr>
184
						</tr>
161
    				#if($couponcode != "" && $discountedAmount != $totalamount)
185
    				#if($couponcode != "" && $discountedAmount != $totalamount)
162
						<tr class="discounted-amount payable">
186
						<tr class="discounted-amount payable">
163
							<td class="label">Amount Payable:<br />(After Discount)</td>
187
							<td class="label">After Discount:</td>
164
							<td><img src="/images/rupee-symbol.png" alt="Rs." /> $discountedAmount</td>
188
							<td id='discountedAmount'><img src="/images/rupee-symbol.png" alt="Rs." /> $discountedAmount</td>
165
						</tr>
189
						</tr>
166
    				#end
190
    				#end
167
					</table>
191
					</table>
168
                </div>
192
                </div>
169
			#if($action.isUserLoggedIn())
193
			#if($action.isUserLoggedIn())