Current File : //home/tradevaly/public_html/storage/framework/views/83d4ab938f3ad0bab9a2de86d944ceeb6d5faea9.php |
<?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"><a href="<?php echo e(route('products')); ?>"> <?php echo e($cat->parent? $cat->parent->name: null); ?></a></li>
<li class="breadcrumb-item active"><?php echo e(translate($cat->name)); ?></li>
</ol>
</div>
</div>
<section class="buyers-listing-sec">
<div class="container">
<div class="row">
<div class="col-lg-12">
<h1 class="page-title"><?php echo e(translate($cat->name)); ?></h1>
</div>
<div class='col-lg-3 list__product__slide__bar'>
<div class='row'>
<div class='col-lg-12'>
<div class='card bg-transparent border-0'>
<div class='card-header'>
<h4><?php echo e(translate($cat->parent->name)); ?></h4>
</div>
<div class='card-body bg-transparent'>
<?php
$subcat = \App\Models\Category::where('parent_id', $cat->parent_id)->take(4)->get();
?>
<?php $__currentLoopData = $subcat; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $cat): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
<a href="<?php echo e(route('category', $cat->slug)); ?>" class='badge badge-white'><?php echo e($cat->name); ?></a>
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
</div>
</div>
</div>
<div class='col-lg-12'>
<div class='card bg-transparent border-0'>
<div class='card-header'>
<h4 class='justify__between'><span><?php echo e(translate('Country')); ?></span> <a href='#'></a></h4>
</div>
<div class='card-body bg-transparent'>
<?php $__currentLoopData = $countries; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $country): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
<?php
$cty = \App\Models\Country::find($country);
?>
<a href="<?php echo e(route('category', ['slug'=>$cat->slug,'country_id'=>$cty->id])); ?>" class='badge badge-white'><?php echo e($cty->name); ?></a>
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
</div>
</div>
</div>
<div class='col-lg-12'>
<div class='card bg-transparent border-0'>
<div class='card-header'>
<h4 class='justify__between'><span><?php echo e(translate('Related Suppliers')); ?></span> <a href='#'></a></h4>
</div>
<div class='card-body bg-transparent'>
<?php $__currentLoopData = $suppliers; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $supplier): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
<?php
$company = \App\Models\Company::where('user_id',$supplier)->first();
?>
<?php if($company): ?>
<a href="<?php echo e(route('category', ['slug'=>$cat->slug,'supplier_id'=>$company->id ?? ''])); ?>" class='badge badge-white'><?php echo e($company->name); ?></a>
<?php endif; ?>
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
</div>
</div>
</div>
<div class='col-lg-12'>
<div class='card bg-transparent border-0'>
<div class='card-header'>
<h4 class='justify__between'><span><?php echo e(translate('Related Buyers')); ?></span> <a href='#'></a></h4>
</div>
<div class='card-body bg-transparent'>
<?php $__currentLoopData = $suppliers; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $supplier): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
<?php
$company = \App\Models\User::find($supplier);
?>
<?php if($company): ?>
<a href="<?php echo e(route('category', ['slug'=>$cat->slug,'supplier_id'=>$company->id])); ?>" class='badge badge-white'><?php echo e($company->name); ?></a>
<?php endif; ?>
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
</div>
</div>
</div>
<div class='col-lg-12'>
<div class='card bg-transparent border-0'>
<div class='card-header'>
<h4 class='justify__between'><span><?php echo e(translate('Material')); ?></span> <a href='#'></a></h4>
</div>
<div class='card-body bg-transparent'>
<a href=# class='badge badge-white'><?php echo e(translate('Cotton,knit Fabric , Spandex')); ?></a>
<a href=# class='badge badge-white'><?php echo e(translate('100% Viscose')); ?></a>
<a href=# class='badge badge-white'><?php echo e(translate('100% Polyester')); ?></a>
</div>
</div>
</div>
<div class='col-lg-12'>
<div class='card bg-transparent border-0'>
<div class='card-header'>
<h4 class='justify__between'><span><?php echo e(translate('Processing Time')); ?></span> <a href='#'></a></h4>
</div>
<div class='card-body bg-transparent'>
<?php $__currentLoopData = $time; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $time_item): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
<a href="<?php echo e(route('category', ['slug'=>$cat->slug,'processing_time'=> $time_item])); ?>" class='badge badge-white'><?php echo e(translate($time_item)); ?></a>
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
</div>
</div>
</div>
<div class='col-lg-12'>
<div class='card bg-transparent border-0'>
<div class='card-header'>
<h4 class='justify__between'><span><?php echo e(translate('Port')); ?></span> <a href='#'></a></h4>
</div>
<div class='card-body bg-transparent'>
<?php $__currentLoopData = $port; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $port_item): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
<a href="<?php echo e(route('category', ['slug'=>$cat->slug,'port'=>$port_item])); ?>" class='badge badge-white'><?php echo e($port_item); ?></a>
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
</div>
</div>
</div>
<div class='col-lg-12'>
<div class='card bg-transparent border-0'>
<div class='card-header'>
<h4 class='justify__between'><span><?php echo e(translate('Supply Ability')); ?></span> <a href='#'></a></h4>
</div>
<div class='card-body bg-transparent'>
<?php $__currentLoopData = $supply_ability; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $supply_ability_item): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
<a href="<?php echo e(route('category', ['slug'=>$cat->slug,'supply_ability'=>$supply_ability_item])); ?>" class='badge badge-white'><?php echo e($supply_ability_item); ?></a>
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
</div>
</div>
</div>
<div class='col-lg-12'>
<div class='card bg-transparent border-0'>
<div class='card-header'>
<h4 class='justify__between'><span><?php echo e(translate('Supply Ability Range')); ?></span> <a href='#'></a></h4>
</div>
<div class='card-body bg-transparent'>
<?php $__currentLoopData = $unit; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $unit_item): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
<a href="<?php echo e(route('category', ['slug'=>$cat->slug,'unit'=> $unit_item])); ?>" class='badge badge-white'><?php echo e($unit_item); ?></a>
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
</div>
</div>
</div>
<div class='col-lg-12'>
<div class='card bg-transparent border-0'>
<div class='card-header'>
<h4 class='justify__between'><span><?php echo e(translate('Payment Methods')); ?></span> <a href='#'></a></h4>
</div>
<div class='card-body bg-transparent'>
<?php
$payment_method = [];
foreach($payment_methods as $method){
if($method !== []){
$pyt = json_decode($method,true);
if(!empty($pyt)){
$payment_method = array_merge($payment_method,$pyt);
}
}
}
$paymentGetway = array_unique($payment_method)
?>
<?php $__currentLoopData = $paymentGetway; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $payment_getway_item): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
<a href="<?php echo e(route('category', ['slug'=>$cat->slug,'payment_method'=> $payment_getway_item])); ?>" class='badge badge-white'><?php echo e(translate($payment_getway_item)); ?></a>
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
</div>
</div>
</div>
</div>
</div>
<div class="col-md-9">
<div class="buyer-listing-result-col">
<div class="tab-content">
<div class="tab-pane container active" id="companies-tabs">
<h4><?php echo e(translate('Showing '. $products->count().' Products below')); ?></h4>
<?php $__currentLoopData = $products; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $product): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
<div class="buyer-listing-result-row buyer-tab-products mfr-listing">
<div class="row">
<div class="col-md-3 col-lg-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(translate($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 col-lg-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('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('Supply Type:')); ?></label>
<span class="text-truncate mw-100"><?php echo e(translate($product->stock)); ?></span>
</li>
<li>
<label class="mb-0"><?php echo e(translate('Processing Time:')); ?></label>
<span class="text-truncate mw-100"><?php echo e(translate($product->processing_time)); ?></span>
</li>
<li>
<label class="mb-0"><?php echo e(translate('Currency:')); ?></label>
<span class="text-truncate mw-100"><?php echo e(translate($product->currency)); ?></span>
</li>
</ul>
</div>
<div class="col-md-4 col-lg-4">
<div class="tab-brand-logo">
<?php if(isset($product->supplier->user)): ?>
<a href="<?php echo e(route('supplier.view', $product->supplier->user->username)); ?>" title="<?php echo e($product->supplier->name); ?>">
<div class="image-wrapper">
<span class="ml-0"><?php echo e(translate($product->supplier->name)); ?></span>
</div>
</a>
<?php endif; ?>
</div>
<ul class="tab-brand-info flag-right">
<li>
<div class="buyer-listing-action w-auto">
<?php if(isset($product->supplier->user)): ?>
<a href="<?php echo e(route('region.change', $product->supplier->user->country->iso)); ?>" title="<?php echo e(translate($product->supplier->user->country->nicename)); ?>">
<i class="fi fi-cn mx-auto d-block"></i>
</a>
<?php endif; ?>
</div>
</li>
<li>
<?php if(isset($product->supplier->user)): ?>
<a href="<?php echo e(route('subscription.buy', $product->supplier->user->package->slug)); ?>" title="<?php echo e($product->supplier->user->package->image); ?>">
<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="<?php echo e(translate($product->supplier->user->package->imagej)); ?>" class="lazy" >
</span>
</a>
<?php endif; ?>
</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="<?php echo e($product->supplier->main_products); ?>" 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>
<div class="action-grp">
<div class="buyer-listing-social mt-1">
<?php if(Auth::check()): ?>
<?php if(isset($product->supplier->user)): ?>
<a href="<?php echo e(route('company.contact', $product->supplier->user->username)); ?>" class="buyer-listing-btn"><?php echo e(translate('Contact Now')); ?></a>
<?php endif; ?>
<?php else: ?>
<a href="javascript:registerPopup('Join Free');" title="<?php echo e(translate('Join Free')); ?>" data-toggle="modal" data-target="#exampleModalCenter" class="buyer-listing-btn"><?php echo e(translate('Contact Now')); ?></a>
<?php endif; ?>
</div>
<div class="buyer-listing-viewprice mt-1">
<?php if(Auth::check()): ?>
<a href="<?php echo e(route('product.inquery', $product->slug)); ?>" class="buyer-listing-btn"><?php echo e(translate('View Price')); ?></a>
<?php else: ?>
<a href="javascript:registerPopup('Join Free');" title="<?php echo e(translate('Join Free')); ?>" data-toggle="modal" data-target="#exampleModalCenter" class="buyer-listing-btn"><?php echo e(translate('View Price')); ?></a>
<?php endif; ?>
</div>
</div>
</div>
</div>
</div>
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
<?php echo e($products->links('page')); ?>
</div>
</div>
</div>
<section class="inner-banner-leftnav company-join-banner mt-3">
<div class="mx-auto w-75">
<h4><?php echo e(translate('Haven’t found the right supplier yet? Let matching verified suppliers find you.')); ?></h4>
<a href="/rfq" class="btn btn-sm btn-danger"><?php echo e(translate('Get Quotation Now')); ?></a>
</div>
</section>
</div>
</div>
</div>
</section>
<?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/list_products.blade.php ENDPATH**/ ?>