@extends('website.layout') @section('title') {{$category->name}} @endsection @section('content') {{$category->name}} {{-- Start Buying your Favourite Theme--}} {{__('lang.Home')}} {{$category->name}} @foreach($data as $pro) {{__('lang.'.$pro->type)}} {{-- --}} {{$pro->name}} {{$pro->price}} ({{$pro->Currency->name}}) {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{$pro->description}} @endforeach @php $paginator =$data->appends(request()->input())->links()->paginator; if ($paginator->currentPage() < 2 ){ $link = $paginator->currentPage(); }else{ $link = $paginator->currentPage() -1; } if($paginator->currentPage() == $paginator->lastPage()){ $last_links = $paginator->currentPage(); }else{ $last_links = $paginator->currentPage() +1; } @endphp @if ($paginator->lastPage() > 1) {{__('lang.first')}} @for ($i = $link; $i <= $last_links; $i++) {{ $i }} @endfor {{__('lang.Last')}} @endif {{__('lang.filter')}} {{__('lang.Country')}} @foreach(\App\Models\Country::where('status','active')->get() as $country) get('country') == $country->id) selected @endif value="{{$country->id}}">{{$country->name}} @endforeach {{__('lang.categories')}} @foreach(\App\Models\SubCategory::where('category_id',$category->category_id)->get() as $cat) {{$cat->name}} @endforeach {{__('lang.Subscribe For Latest Offers')}} {{__('lang.Subscribe to Our Newsletter to get Important News, Amazing Offers Inside Scoops')}}: @endsection @section('js') @endsection
{{$pro->description}}