<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" class="no-js" ng-app="myapp" lang="{$SelCurrLanguage}">
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>{$language.lblAccountinfo} - {$language.lblWishlist} : {$commonMetaTitle}</title>
    <meta name="viewport" content="width=device-width">
    <meta name="Description" content="{$commonMetaDescription}" />
    <meta name="Keywords" content="{$commonMetaKeywords}" />
    {include file='CommonStyles.tpl'}
    <link href="{$view_styles}/myaccount.css" rel="stylesheet" type="text/css" media="screen" />
    {include file='CommonJavaScript.tpl'}
    <script type="text/javascript">
      {literal}
      	$(document).ready(function(){
      		$('.panelmenu a[rel=wishlist]').parent().addClass('active');
      		 $(".wishlist ul li:nth-child(even)").each(function() {
                         $(this).addClass ("marR0");
      		});
      });	
      {/literal}
      var msgConfirmDelete		= "{$language.msgConfirmDelete}";
      var okText			= "{$language.lblOK}";
      var AlertText			= "{$language.lblAlert}";
      var cancelText	 		= "{$language.lblCancel}";
    </script>
  </head>
  <body ng-controller="SearchCtrl" class="{$languageDirection}">
    <div id="outer">
        {*<!-- Begin : Header Pane--> *}
      {include file='CommonTop.tpl'} 
      {*<!-- End : Header -->*}
      <div id="content-wrapper" class="pt-3 pb-4" ng-show="!query" >
        <div class="container">
            <div class="container-wraper">
            <div class="row">
          {include file='account/CommonAccountRightMenu.tpl'}
            <div class="col-12 col-lg-9">
                <div class="py-2 bg-white border-bottom">
                <h2 class="acc-title px-md-4 px-2 py-md-1 py-0 text-capitalize text-dark m-0" >{$language.lblMyWishlist}</h2>
                </div>
                 
                <div class="right-panel bg-white settngs p-md-4 p-2">
                    <div id="common_message" ></div>
                    <div class="wishlist">
                      <div class="row">
                        {foreach $listAllwishlists as $resProduct key="key" name="highlt"}
                        
                        {if $resProduct.productStatus != 'Active' || $resProduct.businessStatus!='Active' ||  $resProduct.productEnd == 1}
                        {else}
                        {/if}
                        <div class="col-6 col-sm-4 col-md-4 col-lg-3 padding-bottom wishlistrow">
                          <div class="closeBtn3 icon-trash position-absolute fade-text" id= "wish-closeBtn" itemid="{$resProduct.itemID}"></div>
                          <div class="wishlist_bx text-center border position-relative w-100 mb-3 py-2 py-lg-3 ">
                            <div class="imageBox text-center"> 
                              <img alt="" src="{$view_public_path}/uploads/catalog/product/thumb/{$resProduct.productImage}" class="img-responsive" /> 
                            </div>
                            <div class="details">
                              <h3 class="h5 font-light">{$resProduct.productTitle|truncate:35}</h3>
                              <div class="price_section my-2 my-md-3">
                                <span class="font-semibold text-dark h5">		{$resProduct.offerPrice|price:'':$resProduct.productDefaultCurrency:$currentCurrencyID}</span>
                               {if $resProduct.productOptionDiscount >0}
                                <del class="rglr-price">{$resProduct.productOptionRegularPrice|price:'':$resProduct.productDefaultCurrency:$currentCurrencyID}
                                </del>
                                {/if} 
                              </div>
                              <div class="clearfix">
                                {if $resProduct.productStatus != 'Active' || $resProduct.businessStatus!='Active' ||  $resProduct.productEnd == 1}
                                <div class="inactive-button iconappend2 slip font-bold">{$language.lblItemNoLongerAvailable|upper}</div>
                                {else}
                                {html->anchor href="{$resProduct.productID|sef_path:'product'}" class="btn btn-default btn-md border border-secondary text-secondary" caption={$language.lblGoToDetails} target="_blank"} 
                                {/if} 
                              </div>
                            </div>
                          </div>
                        </div>
                        {/foreach}
                      </div>
                      <div class="warning" style="{if $listAllwishlists|count>0}display:none{/if}"> 
                        {$language.msgNoRecords}
                      </div>
                    </div>
                </div>
            </div>
        </div>
        </div>
        </div>
      </div>
      {*<!-- End : Content Pane --> *}
      {*<!-- Begin : Footer	Pane --> *}
      {include file='CommonBottom.tpl'} 
      {*<!-- End : Footer Pane --> *}
    </div>
    {*<!-- End : Outer Pane --> *}
    {html->messages_script id="common_message"}
    {include file='CommonJavaScriptBottom.tpl'} 
  {html->script_group_start name="{$compiled_js_path}/account.mywishlist.js"}
   {html->script src="{$common_frontend_js}/product.page.js"}
  {html->script_group_end} 
  </body>
</html>