@extends('layouts.front-end.app') @section('title',\App\CPU\translate('Shop Page')) @push('css_or_js') @if($shop['id'] != 0) @else @endif @if($shop['id'] != 0) @else @endif @endpush @section('content') @php($decimal_point_settings = \App\CPU\Helpers::get_business_settings('decimal_point_settings'))
@if($shop['id'] != 0) @else @php($banner=\App\CPU\Helpers::get_business_settings('shop_banner')) @endif
{{-- sidebar opener --}} {{-- seller info+contact --}}
{{-- logo --}}
@if($shop['id'] != 0) @else @endif
@if($shop['id'] != 0) {{ $shop->name}} @else {{ $web_config['name']->value }} @endif
@for($count=0; $count<5; $count++) @if($avg_rating >= $count+1) @else @endif @endfor ({{round($avg_rating,2)}})
{{ $total_review}} {{\App\CPU\translate('reviews')}} {{ $total_order}} {{\App\CPU\translate('orders')}}
{{-- contact --}}
@if($seller_id!=0) @if (auth('customer')->check())
@else @endif @endif
{{-- Motal --}}
{{-- sidebar (Category) - before toggle --}}
{{-- sidebar (Category mobile) - after toggle --}}
×

{{\App\CPU\translate('categories')}}

@foreach($categories as $category)
{{$category->childes->count()>0?'+':''}}
@endforeach
{{-- main body (Products) --}}
@include('web-views.products._ajax-products',['products'=>$products,'decimal_point_settings'=>$decimal_point_settings])
@endsection @push('script') @endpush