{if $ProductProduct['buyBoxProd']|count>0}
    <div class="bg-white clearfix mx-2">
    {form->hidden name="hiddenBuyboxPage" value="1"}
    <div id="buyboxSec" class="buyBox py-5">
        <div class="clearfix buybox-top">
            <h4 class="h4 font-bold float-left mb-md-4">{$language.lblSoldBy} {$ProductProduct['buyBoxProd']|count} {$language.lblmoretext} {$language.lblSellers}</h4>
            {if $ProductProduct['buyBoxProd']|count>1}
            <div class="float-right form-inline mb-4">
                <div class="form-group clearfix">
                    <span class="sort mr-md-2 float-left float-md-none pt-1 pr-2 p-md-0 text-left">{$language.lblSortby} :</span>
                    {form->select class="productSorting cstm_slct trianglearrow form-control float-right fload-md-none" name="buyboxSort" options="rating->{$language.lblRating}~*price_desc->{$language.lblHighPrice}~*price_asc->{$language.lblLowPrice}"}
                </div>
            </div>
            {/if}
        </div>
        {form->hidden name="hiddenBuyBoxCount" value=$ProductProduct['buyBoxProd']|count}
        <div class="buyBoxTable clearfix border position-relative">
            <div id="loadProcessImage" class="loadProcessImg" style="display:none;">
                <span class="gradient"></span>
                <img src="{$view_images}/loader-small.gif" id="loading_gif2" alt="loader" />
            </div>
            <div class="d-block d-md-none">
                <ul class="row list-unstyled hd clearfix">
                    <li class="col-4">{$language.lblSellerInfo}</li>
                    <li class="col-2">{$language.lblRating}</li>
                    <li class="col-2">{$language.lblDeliveryTime}</li>
                    <li class="col-4">{$language.lblPriceCap}</li>
                </ul> 
            </div>  
        </div>
        {if $resPagesCount>5}
            <div class="view-all clearfix">
                {html->anchor rel="hide" class="viewallbuybox btn btn-success no-border-radius" caption=$language.lblViewAll|cat:" "|cat:$resPagesCount|cat:" "|cat:$language.lblSellers title=$language.lblViewAll|cat:" "|cat:$resPagesCount|cat:" "|cat:$language.lblSellers}
            </div>
        {/if}
    </div>
</div>
{/if}                