<?php /* Smarty version Smarty-3.1.8, created on 2019-11-28 21:28:09
         compiled from "/home/stg70/public_html/agmc-v2/application/core/views/frontend/mini/catalog/default/AjaxCatalogWidget.tpl" */ ?>
<?php /*%%SmartyHeaderCode:16824267125da7183c5e23d5-88121586%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    'dff5bce82652264179606b62cd7829559d9053b5' => 
    array (
      0 => '/home/stg70/public_html/agmc-v2/application/core/views/frontend/mini/catalog/default/AjaxCatalogWidget.tpl',
      1 => 1574857631,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '16824267125da7183c5e23d5-88121586',
  'function' => 
  array (
  ),
  'version' => 'Smarty-3.1.8',
  'unifunc' => 'content_5da7183c6fc5f4_76431895',
  'variables' => 
  array (
    'widgetTabs' => 0,
    'listingType' => 0,
    'listWidgetTabItems' => 0,
    'uniqueID' => 0,
    'listWidgetBundles' => 0,
    'bundleID' => 0,
    'ruleKey' => 0,
    'language' => 0,
    'view_public_path' => 0,
    'view_images' => 0,
    'image' => 0,
    'tabCount' => 0,
    'item' => 0,
    'originCatalogID' => 0,
    'widgetDisplayedOn' => 0,
    'category_image_width' => 0,
    'category_image_height' => 0,
    'team_url' => 0,
    'thumb_width' => 0,
    'thumb_height' => 0,
    'showItemLabel' => 0,
    'languageDirection' => 0,
  ),
  'has_nocache_code' => false,
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_5da7183c6fc5f4_76431895')) {function content_5da7183c6fc5f4_76431895($_smarty_tpl) {?><?php if (!is_callable('smarty_modifier_truncate')) include '/home/stg70/public_html/agmc-v2/library/template/plugins/modifier.truncate.php';
?>  		<?php $_smarty_tpl->tpl_vars["listWidgetTabItems"] = new Smarty_variable($_smarty_tpl->tpl_vars['widgetTabs']->value['listWidgetTabItems'], null, 0);?>
  		<?php $_smarty_tpl->tpl_vars["widgetTabID"] = new Smarty_variable($_smarty_tpl->tpl_vars['widgetTabs']->value['widgetTabID'], null, 0);?>
  		<?php $_smarty_tpl->tpl_vars["listingType"] = new Smarty_variable($_smarty_tpl->tpl_vars['widgetTabs']->value['listingType'], null, 0);?>
  		<?php $_smarty_tpl->tpl_vars["uniqueID"] = new Smarty_variable($_smarty_tpl->tpl_vars['widgetTabs']->value['uniqueID'], null, 0);?>
  		<?php $_smarty_tpl->tpl_vars["viewMoreLabel"] = new Smarty_variable($_smarty_tpl->tpl_vars['widgetTabs']->value['viewMoreLabel'], null, 0);?>
  		<?php $_smarty_tpl->tpl_vars["widgetDisplayedOn"] = new Smarty_variable($_smarty_tpl->tpl_vars['widgetTabs']->value['widgetDisplayedOn'], null, 0);?>
  		<?php $_smarty_tpl->tpl_vars["enableViewMore"] = new Smarty_variable($_smarty_tpl->tpl_vars['widgetTabs']->value['enableViewMore'], null, 0);?>
  		<?php $_smarty_tpl->tpl_vars["showItemLabel"] = new Smarty_variable($_smarty_tpl->tpl_vars['widgetTabs']->value['showItemLabel'], null, 0);?>
  		<?php $_smarty_tpl->tpl_vars["widgetViewMoreLink"] = new Smarty_variable($_smarty_tpl->tpl_vars['widgetTabs']->value['widgetViewMoreLink'], null, 0);?>
  		<?php $_smarty_tpl->tpl_vars["viewMoreLabelType"] = new Smarty_variable($_smarty_tpl->tpl_vars['widgetTabs']->value['viewMoreLabelType'], null, 0);?>
  		<?php $_smarty_tpl->tpl_vars["widgetViewMoreLabel"] = new Smarty_variable($_smarty_tpl->tpl_vars['widgetTabs']->value['widgetViewMoreLabel'], null, 0);?>	
  		<?php if ($_smarty_tpl->tpl_vars['listingType']->value=='categories'){?>
  			<?php $_smarty_tpl->tpl_vars["maxCount"] = new Smarty_variable(ceil(count($_smarty_tpl->tpl_vars['listWidgetTabItems']->value)/3), null, 0);?>
  		<?php }elseif($_smarty_tpl->tpl_vars['listingType']->value=='brands'){?>
  			<?php $_smarty_tpl->tpl_vars["maxCount"] = new Smarty_variable(ceil(count($_smarty_tpl->tpl_vars['listWidgetTabItems']->value)/8), null, 0);?>
  		<?php }else{ ?>
  			<?php $_smarty_tpl->tpl_vars["maxCount"] = new Smarty_variable(ceil(count($_smarty_tpl->tpl_vars['listWidgetTabItems']->value)/5), null, 0);?>
  		<?php }?>
    <?php $_smarty_tpl->tpl_vars["listWidgetBundles"] = new Smarty_variable('', null, 0);?>
    <?php $_smarty_tpl->tpl_vars["ruleKey"] = new Smarty_variable('', null, 0);?>
  <div class="wdgt-slider_<?php echo $_smarty_tpl->tpl_vars['uniqueID']->value;?>
 wdgt-slider clearfix">
     <?php if (count((($tmp = @$_smarty_tpl->tpl_vars['widgetTabs']->value['listWidgetBundles'])===null||$tmp==='' ? '' : $tmp))>'0'){?>
               <?php $_smarty_tpl->tpl_vars["listWidgetBundles"] = new Smarty_variable($_smarty_tpl->tpl_vars['widgetTabs']->value['listWidgetBundles'][0], null, 0);?>               
               <?php $_smarty_tpl->tpl_vars["ruleKey"] = new Smarty_variable(($_smarty_tpl->tpl_vars['listWidgetBundles']->value['ruleKey']), null, 0);?>
          <?php }?>
           <?php $_smarty_tpl->tpl_vars["bundleID"] = new Smarty_variable((($tmp = @$_smarty_tpl->tpl_vars['widgetTabs']->value['bundleID'])===null||$tmp==='' ? 0 : $tmp), null, 0);?>
          <?php if ($_smarty_tpl->tpl_vars['bundleID']->value>'0'&&count((($tmp = @$_smarty_tpl->tpl_vars['listWidgetBundles']->value)===null||$tmp==='' ? '' : $tmp))>'0'&&$_smarty_tpl->tpl_vars['ruleKey']->value!=''){?>
      <div class="bundle col-lg-4 col-sm-5 col-xs-12" >
              <?php if (count((($tmp = @$_smarty_tpl->tpl_vars['listWidgetBundles']->value)===null||$tmp==='' ? '' : $tmp))>'0'){?>
                   <div class="imageBox p-3 noShadow">
				  
                      <div class="tag-bundle"><?php echo mb_strtoupper($_smarty_tpl->tpl_vars['language']->value['lblBundleOffer'], 'UTF-8');?>
</div>
                       <div class="offerPrice btn-primary">
                        <?php if ((($tmp = @$_smarty_tpl->tpl_vars['listWidgetBundles']->value['percentOff'])===null||$tmp==='' ? '' : $tmp)!=0){?>
                        <div class="discount  pull-right">
                  				<?php echo (($tmp = @$_smarty_tpl->tpl_vars['listWidgetBundles']->value['percentOff'])===null||$tmp==='' ? '' : $tmp);?>
%
                  				<span><?php echo mb_strtoupper($_smarty_tpl->tpl_vars['language']->value['lblOff'], 'UTF-8');?>
</span>
                        </div>
                        <?php }?>
                      </div>
                      <figure>
                      <?php if ($_smarty_tpl->tpl_vars['listWidgetBundles']->value['promoImage']!=''){?>
                         <?php $_smarty_tpl->tpl_vars["image"] = new Smarty_variable(($_smarty_tpl->tpl_vars['view_public_path']->value)."/uploads/bundle/product/".($_smarty_tpl->tpl_vars['listWidgetBundles']->value['promoImage']), null, 0);?>
                     <?php }else{ ?>
                          <?php $_smarty_tpl->tpl_vars["image"] = new Smarty_variable(($_smarty_tpl->tpl_vars['view_images']->value)."/not-av-img.gif", null, 0);?>
                      <?php }?>
                      <?php ob_start();?><?php echo (($tmp = @$_smarty_tpl->tpl_vars['listWidgetBundles']->value['ruleKey'])===null||$tmp==='' ? '' : $tmp);?>
<?php $_tmp1=ob_get_clean();?><?php ob_start();?><?php echo smarty_modifier_truncate((($tmp = @$_smarty_tpl->tpl_vars['listWidgetBundles']->value['ruleName'])===null||$tmp==='' ? '' : $tmp),35);?>
<?php $_tmp2=ob_get_clean();?><?php echo $_smarty_tpl->smarty->registered_objects['html'][0]->anchor(array('href'=>"bundle/".$_tmp1,'content'=>"<img src='".($_smarty_tpl->tpl_vars['image']->value)."' class='img-fluid' alt='".$_tmp2."' title='".($_smarty_tpl->tpl_vars['listWidgetBundles']->value['ruleName'])."'/>",'class'=>"no-anim"),$_smarty_tpl);?>

                     </figure>  
                      <div class="clearfix inr-btm-wrap">
                          <?php if ((($tmp = @$_smarty_tpl->tpl_vars['listWidgetBundles']->value['ruleName'])===null||$tmp==='' ? '' : $tmp)!=''){?>
                            <div class="product-info-block padding-top">
                                  <h2 class="productTitle"><?php ob_start();?><?php echo (($tmp = @$_smarty_tpl->tpl_vars['listWidgetBundles']->value['ruleKey'])===null||$tmp==='' ? '' : $tmp);?>
<?php $_tmp3=ob_get_clean();?><?php ob_start();?><?php echo smarty_modifier_truncate((($tmp = @$_smarty_tpl->tpl_vars['listWidgetBundles']->value['ruleName'])===null||$tmp==='' ? '' : $tmp),200);?>
<?php $_tmp4=ob_get_clean();?><?php echo $_smarty_tpl->smarty->registered_objects['html'][0]->anchor(array('href'=>"bundle/".$_tmp3,'content'=>$_tmp4),$_smarty_tpl);?>
</h2>
                            </div>
                          <?php }?>
                          <div class="pull-right text-center inr-btn">
                            <span class="bpfc h5style font-semibold text-center"><?php echo $_smarty_tpl->tpl_vars['listWidgetBundles']->value['productCount'];?>
</span> <?php echo $_smarty_tpl->tpl_vars['language']->value['lblCartItems'];?>
<br>
                            <?php ob_start();?><?php echo (($tmp = @$_smarty_tpl->tpl_vars['listWidgetBundles']->value['ruleKey'])===null||$tmp==='' ? '' : $tmp);?>
<?php $_tmp5=ob_get_clean();?><?php ob_start();?><?php echo mb_strtoupper($_smarty_tpl->tpl_vars['language']->value['lblBuyNow'], 'UTF-8');?>
<?php $_tmp6=ob_get_clean();?><?php echo $_smarty_tpl->smarty->registered_objects['html'][0]->anchor(array('href'=>"bundle/".$_tmp5,'content'=>$_tmp6,'class'=>"btn btn-primary  h5style font-semibold"),$_smarty_tpl);?>

                          </div>
                                                      <div class="margin-right pull-left text-center ysave">
                                                           <?php echo $_smarty_tpl->tpl_vars['language']->value['lblYouSave'];?>
<br><span class="bpfc h5style font-semibold"><?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_MODIFIER]['price'][0][0]->getFormattedCurrency((($tmp = @$_smarty_tpl->tpl_vars['listWidgetBundles']->value['discountAmount'])===null||$tmp==='' ? '' : $tmp));?>
</span>
                                                      </div>
                                                      <div class="inner-wrap2 pull-left padding-left">
                                                          <span class="bpfc offer-price h5style font-bold"><?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_MODIFIER]['price'][0][0]->getFormattedCurrency((($tmp = @$_smarty_tpl->tpl_vars['listWidgetBundles']->value['bundleProductPrice'])===null||$tmp==='' ? '' : $tmp));?>
</span><br>
                             <del class="h6style font-semibold"><?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_MODIFIER]['price'][0][0]->getFormattedCurrency((($tmp = @$_smarty_tpl->tpl_vars['listWidgetBundles']->value['bundleProductRegPrice'])===null||$tmp==='' ? '' : $tmp));?>
</del>
                                                      </div>
                      </div>
                  </div>
      </div>
            <?php }?>
          <?php }?>  
          <div class="widget-block <?php if ($_smarty_tpl->tpl_vars['bundleID']->value>'0'){?>col-lg-8  col-sm-7 col-xs-12  bundle-wdgt-listing <?php }else{ ?>full-width px-lg-5<?php }?>"> 
          <div class="<?php if ($_smarty_tpl->tpl_vars['bundleID']->value=='0'){?><?php if ($_smarty_tpl->tpl_vars['tabCount']->value==1){?>slide-me_<?php echo $_smarty_tpl->tpl_vars['uniqueID']->value;?>
<?php }else{ ?>slide-me-withtab_<?php echo $_smarty_tpl->tpl_vars['uniqueID']->value;?>
<?php }?><?php }else{ ?>bundle-slide_<?php echo $_smarty_tpl->tpl_vars['uniqueID']->value;?>
<?php }?>">         
  	<?php  $_smarty_tpl->tpl_vars['item'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['item']->_loop = false;
 $_smarty_tpl->tpl_vars['key'] = new Smarty_Variable;
 $_from = $_smarty_tpl->tpl_vars['listWidgetTabItems']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['item']->key => $_smarty_tpl->tpl_vars['item']->value){
$_smarty_tpl->tpl_vars['item']->_loop = true;
 $_smarty_tpl->tpl_vars['key']->value = $_smarty_tpl->tpl_vars['item']->key;
?>
  	<div class="slide <?php if ($_smarty_tpl->tpl_vars['bundleID']->value>'0'){?> col-md-3 col-6<?php }else{ ?><?php }?>  margin-top <?php if ($_smarty_tpl->tpl_vars['listingType']->value=='brands'){?>brand-slide <?php }else{ ?><?php }?>">
  	<div class="imageBox p-3 mt-lg-4">
           <div class="image-thumb position-relative">
    			<?php if (isset($_smarty_tpl->tpl_vars['item']->value['itemFeaturedStatus'])&&$_smarty_tpl->tpl_vars['item']->value['itemFeaturedStatus']=='Yes'){?>
  					<span class='featured'><?php echo mb_strtoupper($_smarty_tpl->tpl_vars['language']->value['lblFeatured'], 'UTF-8');?>
</span>
    			<?php }?>
    			<?php if ((($tmp = @$_smarty_tpl->tpl_vars['item']->value['itemDiscount'])===null||$tmp==='' ? 0 : $tmp)!=''&&(($tmp = @$_smarty_tpl->tpl_vars['item']->value['itemDiscount'])===null||$tmp==='' ? 0 : $tmp)>=1){?>
            <div class="discont">
        				<?php echo $_smarty_tpl->tpl_vars['item']->value['itemDiscount'];?>
<span>%</span> <span class="off"><?php echo mb_strtoupper($_smarty_tpl->tpl_vars['language']->value['lblOff'], 'UTF-8');?>
</span>
      				</div>
          <?php }?>
    <?php echo $_smarty_tpl->getSubTemplate ("catalog/default/FreeGift.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0); ?>

  		<figure class="text-center m-0">
  		<?php $_smarty_tpl->tpl_vars["originCatalogID"] = new Smarty_variable((($tmp = @$_smarty_tpl->tpl_vars['originCatalogID']->value)===null||$tmp==='' ? '' : $tmp), null, 0);?>
  			<?php if (isset($_smarty_tpl->tpl_vars['item']->value['jerseyImage'])&&$_smarty_tpl->tpl_vars['item']->value['jerseyImage']!=''){?>
  				<?php $_smarty_tpl->tpl_vars["image"] = new Smarty_variable(($_smarty_tpl->tpl_vars['view_public_path']->value)."/uploads/".($_smarty_tpl->tpl_vars['item']->value['jerseyImage']), null, 0);?>
  			<?php }elseif(isset($_smarty_tpl->tpl_vars['item']->value['itemIcon'])&&$_smarty_tpl->tpl_vars['item']->value['itemIcon']!=''){?>
  				<?php $_smarty_tpl->tpl_vars["image"] = new Smarty_variable(($_smarty_tpl->tpl_vars['view_public_path']->value)."/uploads/".($_smarty_tpl->tpl_vars['item']->value['itemIcon']), null, 0);?>
  			<?php }else{ ?>
  				<?php $_smarty_tpl->tpl_vars["image"] = new Smarty_variable(($_smarty_tpl->tpl_vars['view_images']->value)."/not-av-img.gif", null, 0);?>
  			<?php }?>
  			<?php if ($_smarty_tpl->tpl_vars['listingType']->value=="brands"){?>
  				<?php ob_start();?><?php if ($_smarty_tpl->tpl_vars['widgetDisplayedOn']->value=='facebook'){?><?php echo "blank";?><?php }?><?php $_tmp7=ob_get_clean();?><?php ob_start();?><?php echo smarty_modifier_truncate($_smarty_tpl->tpl_vars['item']->value['itemName'],35);?>
<?php $_tmp8=ob_get_clean();?><?php ob_start();?><?php echo smarty_modifier_truncate($_smarty_tpl->tpl_vars['item']->value['itemName'],35);?>
<?php $_tmp9=ob_get_clean();?><?php echo $_smarty_tpl->smarty->registered_objects['html'][0]->anchor(array('href'=>"/brand/".($_smarty_tpl->tpl_vars['item']->value['itemKey']),'class'=>"no-anim",'target'=>$_tmp7,'content'=>"<img src='".($_smarty_tpl->tpl_vars['image']->value)."' width='150' height='75' class='img-fluid' alt='".$_tmp8."' title='".$_tmp9."'/>"),$_smarty_tpl);?>

  			<?php }elseif($_smarty_tpl->tpl_vars['listingType']->value=='categories'){?>
  				<?php ob_start();?><?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_MODIFIER]['sef_path'][0][0]->getSefRequestPath($_smarty_tpl->tpl_vars['item']->value['itemID'],'catalog');?>
<?php $_tmp10=ob_get_clean();?><?php ob_start();?><?php if ($_smarty_tpl->tpl_vars['widgetDisplayedOn']->value=='facebook'){?><?php echo "blank";?><?php }?><?php $_tmp11=ob_get_clean();?><?php ob_start();?><?php echo smarty_modifier_truncate($_smarty_tpl->tpl_vars['item']->value['itemName'],35);?>
<?php $_tmp12=ob_get_clean();?><?php ob_start();?><?php echo smarty_modifier_truncate($_smarty_tpl->tpl_vars['item']->value['itemName'],35);?>
<?php $_tmp13=ob_get_clean();?><?php echo $_smarty_tpl->smarty->registered_objects['html'][0]->anchor(array('href'=>$_tmp10,'class'=>"no-anim",'target'=>$_tmp11,'content'=>"<img src='".($_smarty_tpl->tpl_vars['image']->value)."' width='".($_smarty_tpl->tpl_vars['category_image_width']->value)."' height='".($_smarty_tpl->tpl_vars['category_image_height']->value)."' class='img-fluid' alt='".$_tmp12."' title='".$_tmp13."'/>"),$_smarty_tpl);?>

  			<?php }elseif($_smarty_tpl->tpl_vars['listingType']->value=='teams'){?>
                 <?php $_smarty_tpl->tpl_vars["team_url"] = new Smarty_variable($_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_MODIFIER]['sef_path'][0][0]->getSefRequestPath($_smarty_tpl->tpl_vars['item']->value['itemID'],'team'), null, 0);?>
                 <?php if ($_smarty_tpl->tpl_vars['team_url']->value==''){?><?php ob_start();?><?php echo $_smarty_tpl->tpl_vars['item']->value['itemKey'];?>
<?php $_tmp14=ob_get_clean();?><?php $_smarty_tpl->tpl_vars["team_url"] = new Smarty_variable((('catalog/index/team/').($_tmp14)).('/'), null, 0);?><?php }?>
  				<?php ob_start();?><?php if ($_smarty_tpl->tpl_vars['widgetDisplayedOn']->value=='facebook'){?><?php echo "blank";?><?php }?><?php $_tmp15=ob_get_clean();?><?php ob_start();?><?php echo smarty_modifier_truncate($_smarty_tpl->tpl_vars['item']->value['itemName'],35);?>
<?php $_tmp16=ob_get_clean();?><?php ob_start();?><?php echo smarty_modifier_truncate($_smarty_tpl->tpl_vars['item']->value['itemName'],35);?>
<?php $_tmp17=ob_get_clean();?><?php echo $_smarty_tpl->smarty->registered_objects['html'][0]->anchor(array('href'=>($_smarty_tpl->tpl_vars['team_url']->value),'class'=>"no-anim",'target'=>$_tmp15,'content'=>"<img src='".($_smarty_tpl->tpl_vars['image']->value)."' width='".($_smarty_tpl->tpl_vars['category_image_width']->value)."' height='".($_smarty_tpl->tpl_vars['category_image_height']->value)."' class='img-fluid' alt='".$_tmp16."' title='".$_tmp17."'/>"),$_smarty_tpl);?>

  			<?php }else{ ?>
  				<?php ob_start();?><?php if ($_smarty_tpl->tpl_vars['widgetDisplayedOn']->value=='facebook'){?><?php echo "blank";?><?php }?><?php $_tmp18=ob_get_clean();?><?php ob_start();?><?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_MODIFIER]['sef_path'][0][0]->getSefRequestPath($_smarty_tpl->tpl_vars['item']->value['itemID'],'product');?>
<?php $_tmp19=ob_get_clean();?><?php ob_start();?><?php echo smarty_modifier_truncate($_smarty_tpl->tpl_vars['item']->value['itemName'],35);?>
<?php $_tmp20=ob_get_clean();?><?php ob_start();?><?php echo smarty_modifier_truncate($_smarty_tpl->tpl_vars['item']->value['itemName'],35);?>
<?php $_tmp21=ob_get_clean();?><?php echo $_smarty_tpl->smarty->registered_objects['html'][0]->anchor(array('class'=>"no-anim",'target'=>$_tmp18,'href'=>$_tmp19,'content'=>"<img src='".($_smarty_tpl->tpl_vars['image']->value)."' width='".($_smarty_tpl->tpl_vars['thumb_width']->value)."' height='".($_smarty_tpl->tpl_vars['thumb_height']->value)."' class='img-fluid' alt='".$_tmp20."' title='".$_tmp21."'/>"),$_smarty_tpl);?>


  			<?php }?>
  		</figure>
        </div>
  		<div class="product-info-block <?php if ($_smarty_tpl->tpl_vars['showItemLabel']->value=='Yes'){?>show-label<?php }?> text-center">
  		<?php if ($_smarty_tpl->tpl_vars['showItemLabel']->value=="Yes"){?>
  			<?php if ($_smarty_tpl->tpl_vars['listingType']->value=='brands'){?>
  				<h2 class="productTitle h6 m-0 ">
  				<?php ob_start();?><?php if ($_smarty_tpl->tpl_vars['widgetDisplayedOn']->value=='facebook'){?><?php echo "blank";?><?php }?><?php $_tmp22=ob_get_clean();?><?php ob_start();?><?php echo smarty_modifier_truncate($_smarty_tpl->tpl_vars['item']->value['itemName'],35);?>
<?php $_tmp23=ob_get_clean();?><?php echo $_smarty_tpl->smarty->registered_objects['html'][0]->anchor(array('href'=>"/brand/".($_smarty_tpl->tpl_vars['item']->value['itemKey']),'target'=>$_tmp22,'content'=>$_tmp23,'class'=>"text-muted font-weight-semibold"),$_smarty_tpl);?>

  				</h2>
  			<?php }elseif($_smarty_tpl->tpl_vars['listingType']->value=='categories'){?>
  				<h2 class="productTitle h6"><?php ob_start();?><?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_MODIFIER]['sef_path'][0][0]->getSefRequestPath($_smarty_tpl->tpl_vars['item']->value['itemID'],'catalog');?>
<?php $_tmp24=ob_get_clean();?><?php ob_start();?><?php if ($_smarty_tpl->tpl_vars['widgetDisplayedOn']->value=='facebook'){?><?php echo "blank";?><?php }?><?php $_tmp25=ob_get_clean();?><?php ob_start();?><?php echo smarty_modifier_truncate($_smarty_tpl->tpl_vars['item']->value['itemName'],35);?>
<?php $_tmp26=ob_get_clean();?><?php echo $_smarty_tpl->smarty->registered_objects['html'][0]->anchor(array('href'=>$_tmp24,'target'=>$_tmp25,'content'=>$_tmp26,'class'=>"text-muted"),$_smarty_tpl);?>

  				</h2>
  			<?php }else{ ?>
  			
                        <?php if ((($tmp = @$_smarty_tpl->tpl_vars['item']->value['sellAsBatch'])===null||$tmp==='' ? '' : $tmp)=='Yes'){?>
                <span class="text-medium"><?php echo $_smarty_tpl->tpl_vars['language']->value['lblSetof'];?>
 <?php echo $_smarty_tpl->tpl_vars['item']->value['qtyPerBatch'];?>
 <?php echo $_smarty_tpl->tpl_vars['item']->value['batchType'];?>
</span>
  			<?php }else{ ?>
                <h2 class="productTitle h6 m-0"><?php ob_start();?><?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_MODIFIER]['sef_path'][0][0]->getSefRequestPath($_smarty_tpl->tpl_vars['item']->value['itemID'],'product');?>
<?php $_tmp27=ob_get_clean();?><?php ob_start();?><?php if ($_smarty_tpl->tpl_vars['widgetDisplayedOn']->value=='facebook'){?><?php echo "blank";?><?php }?><?php $_tmp28=ob_get_clean();?><?php ob_start();?><?php echo smarty_modifier_truncate($_smarty_tpl->tpl_vars['item']->value['itemName'],25);?>
<?php $_tmp29=ob_get_clean();?><?php echo $_smarty_tpl->smarty->registered_objects['html'][0]->anchor(array('href'=>$_tmp27,'target'=>$_tmp28,'content'=>$_tmp29,'class'=>"text-dark text-uppercase text-truncate d-block"),$_smarty_tpl);?>

                </h2>
                <p class="text-muted p-0 m-0 text-uppercase font-normal"><?php echo $_smarty_tpl->tpl_vars['language']->value['lblPriceStartingFrom'];?>
</p>
            <?php }?>
  			<?php }?>
  		<?php }?>
            <div class="price-box">
  		<?php if (isset($_smarty_tpl->tpl_vars['item']->value['itemPrice'])&&$_smarty_tpl->tpl_vars['item']->value['itemPrice']!=''){?>
  			<?php if ($_smarty_tpl->tpl_vars['item']->value['itemRegularPrice']!=$_smarty_tpl->tpl_vars['item']->value['itemPrice']){?>
  				<del class="regular-price"><?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_MODIFIER]['price'][0][0]->getFormattedCurrency((($tmp = @$_smarty_tpl->tpl_vars['item']->value['itemRegularPrice'])===null||$tmp==='' ? '' : $tmp));?>
</del>
  			<?php }?>
  			<strong class="bpfc price"><?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_MODIFIER]['price'][0][0]->getFormattedCurrency((($tmp = @$_smarty_tpl->tpl_vars['item']->value['itemPrice'])===null||$tmp==='' ? '' : $tmp));?>
</strong>
  		<?php }?>
               </div>         
  		</div>
                <?php if ($_smarty_tpl->tpl_vars['listingType']->value!='brands'&&$_smarty_tpl->tpl_vars['listingType']->value!='categories'&&$_smarty_tpl->tpl_vars['listingType']->value!='teams'){?>
      <div class="more-option py-2 text-center ">
            <?php if ($_smarty_tpl->tpl_vars['item']->value['itemOptionQuantitySum']<1&&($_smarty_tpl->tpl_vars['item']->value['InventoryTrackLevel']=='Product'||$_smarty_tpl->tpl_vars['item']->value['InventoryTrackLevel']=='Combination')){?> 
                 <div class="btn  btn-outline-secondary soldout"><?php echo $_smarty_tpl->tpl_vars['language']->value['lblSoldOut'];?>
</div>
            <?php }else{ ?> 
                <?php ob_start();?><?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_MODIFIER]['sef_path'][0][0]->getSefRequestPath($_smarty_tpl->tpl_vars['item']->value['itemID'],'product');?>
<?php $_tmp30=ob_get_clean();?><?php echo $_smarty_tpl->smarty->registered_objects['html'][0]->anchor(array('href'=>$_tmp30,'class'=>"text-muted font-normal text-uppercase",'caption'=>($_smarty_tpl->tpl_vars['language']->value['lblDiscover'])."<i class='icon-arrow-right ml-1 font-xsmall'></i>"),$_smarty_tpl);?>

            <?php }?>
      </div>
            <?php }?>
  	</div>	
  	</div>
  	
  	<?php } ?>
              
    </div>	
     </div>
   
      </div>

    <script type="text/javascript">
       
      $(document).ready(function(){
          <?php if ($_smarty_tpl->tpl_vars['tabCount']->value>1){?>
        $(".slide-me-withtab_<?php echo $_smarty_tpl->tpl_vars['uniqueID']->value;?>
").not('.slick-initialized').slick({
          infinite: false,
          speed: 700,
           prevArrow: '<i class="icon-arrow-left text-center bg-transparent text-dark "></i>',
          nextArrow: '<i class="icon-arrow-right text-center bg-transparent text-dark "></i>',
          slidesToShow: 4,
          slidesToScroll: 4,
          dots:false ,
          arrows:true ,    
          responsive: [
            {
              breakpoint: 1200,
              settings: {
                slidesToShow: 3,
                slidesToScroll: 3,
              }
            },
            {
              breakpoint: 991,
              settings: {
                slidesToShow: 4,
                slidesToScroll: 4,
              }
            },
            {
              breakpoint: 800,
              settings: {
                slidesToShow: 3,
                slidesToScroll: 3,
                  dots: true,
              }
            },
            {
              breakpoint: 570,
              settings: {
                slidesToShow: 2,
                slidesToScroll: 2,dots: true,
              }
            },
            {
              breakpoint: 360,
              settings: {
                slidesToShow: 1,
                slidesToScroll: 1,dots: true,
              }
            }
          ]
        });
           <?php }else{ ?>
           $(".slide-me_<?php echo $_smarty_tpl->tpl_vars['uniqueID']->value;?>
").not('.slick-initialized').slick({
          infinite: false,
          speed: 700,
          prevArrow: '<i class="icon-arrow-left text-center bg-transparent text-dark "></i>',
          nextArrow: '<i class="icon-arrow-right text-center bg-transparent text-dark "></i>',
          slidesToShow: 6,
          slidesToScroll: 6,
          dots:false ,
          arrows:true , 
           <?php if ($_smarty_tpl->tpl_vars['languageDirection']->value=="rtl"){?>rtl:true,<?php }?>       
          responsive: [
            {
              breakpoint: 1200,
              settings: {
                slidesToShow: 5,
                slidesToScroll: 5,
              }
            },
            
            {
              breakpoint: 991,
              settings: {
                slidesToShow: 4,
                slidesToScroll: 4,
                dots: true,
              }
            },
            {
              breakpoint: 570,
              settings: {
                slidesToShow: 2,
                slidesToScroll: 2,
                dots: true,
              }
            },
            {
              breakpoint: 360,
              settings: {
                slidesToShow: 1,
                slidesToScroll: 1,
                dots: true,
              }
            }
          ]
        });
           
           <?php }?>
         <?php if ($_smarty_tpl->tpl_vars['bundleID']->value>'0'){?>  
           $(".bundle-slide_<?php echo $_smarty_tpl->tpl_vars['uniqueID']->value;?>
").not('.slick-initialized').slick({
          infinite: false,
          speed: 700,
           prevArrow: '<i class="icon-arrow-left text-center bg-transparent text-dark "></i>',
          nextArrow: '<i class="icon-arrow-right text-center bg-transparent text-dark "></i>',
          slidesToShow: 3,
          slidesToScroll: 3,
          dots:false ,
          arrows:true ,       
          responsive: [
            {
              breakpoint: 1050,
              settings: {
                slidesToShow: 2,
                slidesToScroll:2,
              }
            },
             {
              breakpoint: 767,
              settings: {
                slidesToShow: 3,
                slidesToScroll: 3,
              }
            },
               {
              breakpoint: 570,
              settings: {
                slidesToShow: 2,
                slidesToScroll: 2
              }
            },
            {
              breakpoint: 400,
              settings: {
                slidesToShow: 1,
                slidesToScroll: 1
              }
            }
          ]
        });
            <?php }?>
           
      });
    </script><?php }} ?>