<script id="CartNotificationPopupTemplate" type="text/x-jsrender" >
	[[if items.length === 0]]

	[[else]]	
	<div class="cart-notification-dropdown-popup">
	<span class="cart-popup-ovly "></span> 
	   <div class="block_content cart-popup">
		  <ul class="clearfix">
			 <li class="clearfix list-head">
			 <span class="col left col1"><strong>{$language.lblItem}</strong></span> 
			 <span class="col left col2"><strong>{$language.lblQty}</strong></span> 
			  <span class="col left col3"><strong>{$language.lblPrice}</strong></span> 
			  <span class="col right col4"><a class="delete" href="Javascript:void(0);" id="show_dropdown-popup">x</a></span> 
			 </li>
			 </ul>
			  <ul class="clearfix list-item-grp">
			 [[for items]]
			 
			 
			 <li class="clearfix list">
				<span class="col left col1">
				<img src='{$view_public_path}/uploads/catalog/product/small/[[>imagePath]]' class="left"  width="50"/>
				[[>~htmlspecialchars_decode(~stripslashes(~truncate(productOptionName,35)), 'ENT_NOQUOTES')]]</span> 
				<span class="col quantity left col2">
				  [[>orderItemQuantity]]
				</span>
				<span class=" col price-span left col3">
				[[if freeProduct =='Yes']]
					<span class="free">(Free)</span>
				[[/if]]
				[[>~getFormattedCurrency(orderItemPrice,'Full',#parent.parent.data.currencyID,#parent.parent.data.currencyID)]]</span> 
				<span class=" col remove_link right col4"><a class="ajax_cart_block_remove_link" rel="[[>#parent.parent.data.cartID]]-[[>cartItemID]]" href="Javascript:void(0);" title="{$language.lblDeleteItem}"></a></span>
			 </li>
			 [[/for]] 
		  </ul>
		  <div class="clear"></div>
		  <ul class="total clearfix">
			[[if orderPromoDiscountAmount >0]]
				<li class="list-total"> <span class="txt">{$language.lblPromoDiscount}</span><span class="amt">[[>~getFormattedCurrency(orderPromoDiscountAmount,'Full',currencyID,currencyID)]]</span></li>
			[[/if]]
			
			[[if orderUserCreditAmount >0]]
				<li class="list-total"> <span class="txt">{$language.lblAccountCredit}</span><span class="amt">[[>~getFormattedCurrency(orderUserCreditAmount,'Full',currencyID,currencyID)]]</span></li>
			[[/if]] 
			
			[[if orderOtherServiceCharge >0]]
				<li class="list-total"> <span class="txt">{$language.lblServiceCharge}</span><span class="amt">[[>~getFormattedCurrency(orderOtherServiceCharge,'Full',currencyID,currencyID)]]</span></li>
			[[/if]] 
			
			[[if shippingAmount >0]]
				<li class="list-total"> <span class="txt">{$language.lblShippingCharge}</span><span class="amt">[[>~getFormattedCurrency(shippingAmount,'Full',currencyID,currencyID)]]</span></li>
			[[/if]] 
			
			[[if orderTaxAmount >0]]
				<li class="list-total"> <span class="txt">{$language.lblTaxAmount}</span><span class="amt">[[>~getFormattedCurrency(orderTaxAmount,'Full',currencyID,currencyID)]]</span></li>
			[[/if]] 			
			
			<li class="list-g-total"> <span class="txt">{$language.lblCartTotal}</span><span class="amt">[[>~getFormattedCurrency(orderTotalAmount,'Full',currencyID,currencyID)]]</span></li>
			<li class="list-action-blck clearfix flt-right">
				 {html->anchor href="cart/" class="clear_cart iconappend2" content="{$language.lblCartContinueShopping}"}
{*				 [[if userLogined =='Yes']] *}
					{html->anchor href="cart/checkout/" class="exclusive chkout iconappend2" id="button_order_cart" content="{$language.lblCartCheckOut}"}
{* 				 [[else]]
					{html->anchor href="" class="exclusive chkout iconappend2" id="button_order_cart" content="{$language.lblCartCheckOut}" redirect="cart/checkout/"}
				 [[/if]] *}
			</li>
		  </ul>
	   </div>
	   </div>
	[[/if]]  
</script>   
{form->hidden name="redirectCartUrl" id="redirectCartUrl" value="cart/checkout"}