Current File : //home/tradevaly/public_html/storage/framework/views/4fc0ece87f3b0056789d3f80839af92ead789bb4.php
 
<?php $__env->startPush('css'); ?>
    
<?php $__env->stopPush(); ?>

<?php $__env->startSection('content'); ?>
 
 
 <div class="bread">
            <div class="container">
                <ol class="breadcrumb">
                    <li class="breadcrumb-item"><a href="<?php echo e(route('homepage')); ?>"><?php echo e(translate('Home')); ?></a></li>
                    <li class="breadcrumb-item active"><?php echo e(translate($cat->name)); ?></li>
                </ol>
            </div>
        </div>


        <!------------------ Banner Area -------------------------------------->
                <section class="representative-banner page_bottom_slider">
         <?php $__currentLoopData = $top_banners; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $banner): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
              <img src="<?php echo e(asset('storage/images/admin/banner/'.$banner['image'])); ?>" class="img-fluid "/>
              <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
    </section>
    
 <?php if($cat->banner): ?> 
        <section class="representative-banner text-white" style="background-image: url(<?php echo e(asset('storage/images/admin/category/banner/'.$cat->banner)); ?>);background-position: top center;background-size: cover;">
<?php else: ?>

        <section class="representative-banner text-white" style="background-image: url(/public/assets/frontend/img/product-banner-2.jpg);background-position: top center;background-size: cover;">
<?php endif; ?>
            <div class="container">
                <h1 style="margin-bottom:25px; line-height:115px"><?php echo e(translate($cat->name)); ?></h1>
            </div>
        </section>
        


        <section class='padding__top__50px background__f2f2f2'>
            <div class="container">
                <!---------------------- Categories List ---------------------------------->
                <!--<h3 class="pb-3"><?php echo e(translate('Wholesale')); ?> <?php echo e(translate($cat->name)); ?> <?php echo e(translate('Suppliers, Manufacturers, Companies')); ?></h3>-->
                <h4 class="hd-rd-brdr  d-flex justify-content-between">
                    <div> 
                        <span>Featured Products</span> From Verified Suppliers
                        <i> <img src="https://www.tradevaly.com.bd/public/assets/frontend/img/verified-supplier-icon.png" class="lazy" alt="Featured Products from Verified Suppliers" style=""> 
                        </i> 
                        </div>
                        <div>
                        <a href="/products" title="All Products" class="viewMore d-none d-md-block">- View More -</a> 
                        <div class="owlDots"></div>
                        </div>
                    </h4>

                <section class="white-panel m-0 bg-white p-3">
                    <div class="row"> 
                    
                    <?php $__currentLoopData = \App\Models\Category::where('parent_id', $cat->id)->latest()->get(); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $maincatlist): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                        <div class="col-sm-3 mb-4">
                            <h5 class="hd-rd-brdr text-truncate mb-1"><a href="<?php echo e(route('category', $maincatlist->slug)); ?>" title="<?php echo e($maincatlist->name); ?>" class="text-muted"><?php echo e(translate($maincatlist->name)); ?></a></h5>
                            <ul>
                                <?php $__currentLoopData = \App\Models\Category::where('parent_id', $maincatlist->id)->take(5)->get(); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $catlist): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                <li><a href="<?php echo e(route('category', $catlist->slug)); ?>" title="<?php echo e($catlist->name); ?>" class="text-muted"><?php echo e(translate($catlist->name)); ?></a></li>
                                <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                            </ul>
                        </div>
                    <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>  
                    </div>
                </section>


                <!---------------Keywords------------------------------>

                <section class="white-panel mt-5 bg-white p-3">
                    <div class="row"> 
                        <div class="col-sm-12">
                            <h5 class="hd-rd-brdr"><?php echo e(translate('Hot Products')); ?></h5>
                            <ul class="list-inline">
                                <?php $__currentLoopData = $tags; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $tag): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                <li class="list-inline-item mr-1 mb-2"><a href="<?php echo e(route('product.tag', $tag->slug)); ?>" title="<?php echo e($tag->name); ?>" class="badge badge-pill badge-secondary p-2"><?php echo e(translate($tag->name)); ?></a></li>
                               <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                            </ul>
                        </div>
                    </div>
                </section>

            <?php if($products->count() > 0): ?>
                <!---------------- Products Slider ---------------------------->

                <section class="row mt-5 deals-thumbnail">
                    <div class="col-sm-12">	
                        <h5 class="hd-rd-brdr"><?php echo e(translate('Products')); ?></h5>
                        <div class="owl-carousel owl-theme owl-loaded owl-drag" id="importerParentProducts">
                            <div class="owl-stage-outer">
                                <div class="owl-stage main__categories__thumbnail__owl">
                                    <div class="owl-item width__1110px">
                                    
                                        <div> <!------------ Single Slide Start------------->
                                            
                                            <?php
                                            $i = 0;
                                            ?>
                                            
                                            <?php $__currentLoopData = $products; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $product): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                            <?php
                                            $i++;
                                            ?>   
                                            
                                            
                                            <div class="buyer-listing-result-row buyer-tab-products mfr-listing">
                                                <div class="row">
                                                    <div class="col-md-3">
                                                        <div class="product_list_top list_image_container">
                                                            <a href="<?php echo e(route('product.view', $product->slug)); ?>" data-detail-link="" data-event-type="Product" title="<?php echo e($product->title); ?>">
                                                                <div class="bg-image lazy" style="background-image: url(<?php echo e(asset('storage/images/admin/product/'.$product->image.'')); ?>);">
                                                                    <div class="bg-overlay">
                                                                        <span class="img-center"></span>
                                                                        <img src="<?php echo e(asset('storage/images/admin/product/'.$product->image.'')); ?>" alt="<?php echo e(translate($product->title)); ?>" class="lazy">
                                                                    </div>
                                                                </div>
                                                            </a> 
                                                        </div>   
                                                    </div>
                                                    <div class="col-md-5 brd-right-gray">
                                                        <a href="<?php echo e(route('product.view', $product->slug)); ?>" title="<?php echo e(translate($product->title)); ?>">
                                                            <h5><?php echo e(translate($product->title)); ?></h5>
                                                        </a>    
                                                        <p>
                                                            <?php echo substr($product->details, 0, 100); ?>

                                                            <a href="<?php echo e(route('product.view', $product->slug)); ?>" title="<?php echo e(translate($product->title)); ?>"><?php echo e(translate('Show More...')); ?></a>
                                                        </p>
                                                        <ul class="buyer-listing-feautures li-pd-lft-0 full-with-ul">
                                                            <li>
                                                                <label class="mb-0"><?php echo e(translate('Supply Ability:')); ?></label>
                                                                <span class="text-truncate mw-100"><?php echo e(translate($product->supply_ability)); ?> <?php echo e(translate($product->unit)); ?> <?php echo e(translate('per Month')); ?></span>
                                                            </li>
                                                            <li>
                                                                <label class="mb-0"><?php echo e(translate('Origin:')); ?></label>
                                                                <span class="text-truncate mw-100"><?php echo e(translate($product->origin)); ?></span>
                                                            </li>
                                                            <li>
                                                                <label class="mb-0"><?php echo e(translate('Location:')); ?></label>
                                                                <span class="text-truncate mw-100"><?php echo e(translate($product->location)); ?></span>
                                                            </li>
                                                        </ul>
                                                    </div>
                                                    <div class="col-md-4">
                                                        <div class="tab-brand-logo">
                                                            <a href="<?php echo e(route('supplier.view', $product->supplier->user->username)); ?>" title="<?php echo e(translate($product->supplier->name)); ?>">
                                                                <div class="image-wrapper">
                                                                    <span class="ml-0"><?php echo e(translate($product->supplier->name)); ?></span>
                                                                </div> 
                                                            </a>
                                                        </div>
                                                        <ul class="tab-brand-info flag-right">
                                                            <li>
                                                                <div class="buyer-listing-action w-auto">
                                                                    <a href="<?php if(isset($product->country->iso)): ?> <?php echo e(route('region.change', $product->country->iso)); ?> <?php endif; ?>" title="<?php if(isset($product->country->iso)): ?> <?php echo e($product->country->nicename); ?> <?php endif; ?>">
                                                                        <i class="fi fi-<?php if(isset($product->country->iso)): ?> <?php echo e(strtolower($product->country->iso)); ?> <?php endif; ?> mx-auto d-block"></i>
                                                                    </a>    
                                                                </div>
                                                            </li>
                                                            <li>
                                                                <a href="<?php echo e(route('subscription.buy', $product->supplier->user->package->slug)); ?>" title="Package">
                                                                    <span class="membership-tag-sm d-block">
                                                                        <img src="<?php echo e(asset('storage/images/admin/package/'.$product->supplier->user->package->image)); ?>" width="98" height="30" alt="Free" class="lazy">
                                                                    </span>
                                                                </a>
                                                            </li>
                                                            <li>
                                                                <label class="mb-0"><?php echo e(translate('Business Type:')); ?></label>
                                                                <span class="text-truncate mw-100 float-left w-100 float-left"><?php echo e(translate($product->supplier->type)); ?></span>
                                                            </li>
                                                            <li title="Precision auto lathe fittings, PEM standoffs, AV connectors, fasteners, nuts" data-toggle="tooltip">
                                                                <label class="mb-0"><?php echo e(translate('Key Products:')); ?></label>
                                                                <span class="text-truncate mw-100 w-100 float-left mb-2"><?php echo e(translate($product->supplier->main_products)); ?></span>
                                                            </li>
                                                        </ul>
                                                        <?php if(!Auth::check()): ?>
                                                        <div class="action-grp">
                                                            <div class="buyer-listing-social mt-1">
                                                                <a  href="javascript:registerPopup('Join Free');" title="<?php echo e(translate('Join Free')); ?>" type="button" data-toggle="modal" data-target="#exampleModalCenter" class="buyer-listing-btn"><?php echo e(translate('Contact Now')); ?></a>
                                                            </div>
                                                            <div class="buyer-listing-viewprice mt-1">
                                                                <a  href="javascript:registerPopup('Join Free');" title="<?php echo e(translate('Join Free')); ?>" type="button" data-toggle="modal" data-target="#exampleModalCenter" class="buyer-listing-btn"><?php echo e(translate('View Price')); ?></a>
                                                            </div>
                                                        </div>
                                                        <?php else: ?>
                                                        
                                                        <div class="action-grp">
                                                            <div class="buyer-listing-social mt-1">
                                                                <a href="<?php echo e(route('company.contact', $product->supplier->user->package->slug)); ?>" class="buyer-listing-btn"><?php echo e(translate('Contact Now')); ?></a>
                                                            </div>
                                                            <div class="buyer-listing-viewprice mt-1">
                                                                <a href="<?php echo e(route('product.inquery', $product->slug)); ?>" class="buyer-listing-btn"><?php echo e(translate('View Price')); ?></a>
                                                            </div>
                                                        </div>
                                                        
                                                        <?php endif; ?>
                                                    </div>
                                                </div>
                                            </div>
                                            
                                            <?php if($i%4==0): ?>
                                            
                                           
                                                </div> <!------------ Single Slide End------------->
                                            </div>
                                            <div class="owl-item active width__1110px">
                                                <div> <!------------ Single Slide Start------------->
                                                
                                        
                                        <?php endif; ?>
                                        
                                        
                                        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                                </div>
                            </div>

                            <!------- Dotted Button-------------------->
                            <div class="owl-nav disabled">
                                <button type="button" role="presentation" class="owl-prev">
                                    <span aria-label="<?php echo e(translate('Previous')); ?>">‹</span>
                                </button>
                                <button type="button" role="presentation" class="owl-next">
                                    <span aria-label="<?php echo e(translate('Next')); ?>">›</span>
                                </button>
                            </div>
                        </div>
                    </div>
                </section>
        <?php endif; ?>

                <!--------- Related Buy Offer------------------------------------>

                <section class="hm-sec1 latestBuyOfferComponent bg-white p-3">
                    <div class="row">
                        <div class="col-md-12 no-border pad-right-15">
                            <h4 class="hd-rd-brdr hd-inner-link"><?php echo e(translate('Related Buy Offer')); ?> <a href="#" title="Latest Buy Offers"><?php echo e(translate('- View More -')); ?></a></h4>
                            <div class="latest-buyers">
                                <div class="row">
                                    <div class="col-md-6">
                                        <ul>
                                            
                                            
                                            <?php
                                            $i = 0;
                                            ?>
                                            
                                             <?php $__currentLoopData = $buyoffer; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $offer): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                             <?php
                                            $i++;
                                            ?> 
                                         <li> 
                                         <a href="<?php echo e(route('buy.view', $offer->slug)); ?>" title="<?php echo e($offer->title); ?>"> 
                                         <i class="fi fi fi-<?php echo e(strtolower($offer->country->iso)); ?>"> </i> 
                                         <span class="world-name truncate"><?php echo e(translate($offer->country->nicename)); ?></span> 
                                         <span class="lst-buyer-text truncate"><?php echo e(translate($offer->title)); ?></span> 
                                         <small class="date"><?php echo e(translate(date('d F,Y', strtotime($offer->date)))); ?></small> </a> 
                                         </li> 
                                          <?php if($i%16==0): ?>
                                          
                                           </ul>
                                    </div>
                                    <div class="col-md-6">
                                        <ul>
                                          <?php endif; ?>
                                        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> 
                                            
                                          
                                        </ul>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </section>



            </div>
        </section>
          <section class="representative-banner page_bottom_slider">
         <?php $__currentLoopData = $bottom_banners; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $banner): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
              <img src="<?php echo e(asset('storage/images/admin/banner/'.$banner['image'])); ?>" class="img-fluid "/>
              <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
    </section>

<?php $__env->stopSection(); ?>
<?php $__env->startSection('script'); ?>
          <script type="text/javascript">
            $(document).ready(function(){
                $("#importerParentProducts").owlCarousel({
                    items: 1,
                    loop: true,
                    autoplay: true
                });
            });
        </script>
        
        
        <script type="text/javascript" src="//cdn.jsdelivr.net/npm/slick-carousel@1.8.1/slick/slick.min.js"></script>
<script>
$('.top_slider').slick({
  dots: false,
  infinite: true,
  slidesToShow: 1,
  centerMode: false,
  arrows:false,
  autoplay: true,
  speed: 3000,
  autoplaySpeed: 2000,
});
</script>
<script>
$('.page_bottom_slider').slick({
  dots: false,
  infinite: true,
  slidesToShow: 1,
  centerMode: false,
  arrows:false,
  autoplay: true,
  speed: 3000,
  autoplaySpeed: 2000,
});
</script>
<?php $__env->stopSection(); ?>
<?php echo $__env->make('frontend.layouts.app', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/tradevaly/public_html/resources/views/frontend/pages/main_categories.blade.php ENDPATH**/ ?>