{if $productCates}
<ul class="lists_category">
{$count = 0}
{foreach from=$productCates item=category name=posCategory}
    <li>
        <div>
            <div class="category-lists-data">
                <div class="images">
                    <div>
                        <a href="{$category.cate.link_cate}"> <img class="img-responsive" src="{$category.cate.thumb_image}" alt="" /> </a>
                    </div>
                    <a href="{$category.cate.link_cate}" class="btn-view">+</a>
                </div>
                 <div class="category_info">  
                    <div class="category_info_inner">
                        <div class="category_info_wrapper">
                            <div class="category_info_data">
                                <a class="name-cate" href="{$category.cate.link_cate}"> {$category.cate.name_category} </a>
                                <p>({$category.totalProduct} {l s="items" mod="dor_categories"})</p>
                                <a class="view-all-cate" href="{$category.cate.link_cate}"> {l s="View All" mod="dor_categories"} </a>
                            </div>
                        </div>
                    </div>
                 </div>
            </div>
        </div>
    </li>
    {$count = $count+1}
{/foreach}
</ul>
{/if}