@foreach($category as $index => $cat)
@endforeach
@foreach($contentsSections as $index => $content)
@foreach($content->productSection as $product)
@if($product->product != null)
{{$product->product != null ? $product->product->discount : 0}}%
{{$product->product->prefit_price_discount}}%
{{$product->product->discount}}@lang('front.KD')
{{$product->product->mainprice}}@lang('front.KD')
@if($product->product->free_deliver == true || $product->product->option == true )
{{$product->product->free_deliver === true ? trans('front.freeDelivery') : ' ' }}
@if ($product->product->option === true)
}})
@endif
@endif
@endif
@endforeach
{{-- @endforeach--}}
{{-- @endif--}}
@if($index == 0)
@endif
@endforeach
@foreach($brands as $brand)
@endforeach
@if($categoryandSub != null)
@foreach($categoryandSub->subs as $cats)
@endforeach
@foreach(productsByCats($categoryandSub->id) as $prodd)
{{$prodd->product != null ? $prodd->product->discount : ''}}%
{{$prodd->product->prefit_price_discount}}%
{{$prodd->product->discount}}K.D
{{$prodd->product->mainprice}}K.D
@if($prodd->product->free_deliver == true || $prodd->product->option == true )
{{$prodd->product->free_deliver === true ? trans('front.freeDelivery') : ' ' }}
@if ($prodd->product->option === true)
}})
@endif
@endif
@endforeach
{{-- @endif--}}
{{--
--}}
{{--
--}}
{{-- @foreach($category as $cat)--}}
{{--
--}}
{{-- @endforeach--}}
{{--
--}}
@endif
@if($categoryandSub2 != null)
@foreach($categoryandSub2->subs as $cats)
@endforeach
@foreach(productsByCats($categoryandSub2->id) as $prod)
{{$prod->product != null ? $prod->product->discount : ''}}%
{{$prod->product->prefit_price_discount}}%
{{$prod->product->discount}}@lang('front.KD')
{{$prod->product->mainprice}}@lang('front.KD')
@if($prod->product->free_deliver == true || $prod->product->option == true )
{{$prod->product->free_deliver === true ? trans('front.freeDelivery') : ' ' }}
@if ($prod->product->option === true)
}})
@endif
@endif
@endforeach
{{-- @endif--}}
{{--
--}}
{{--
--}}
{{-- @foreach($category as $cat)--}}
{{--
--}}
{{-- @endforeach--}}
{{--
--}}
@endif
{{-- --}}
{{--
--}}
{{--
--}}
{{--
--}}
{{--
--}}
{{--
تسوق من افضل الماركات العالمية
--}}
{{-- --}}
{{--
--}}
{{--
--}}
{{--
--}}
{{--
--}}
{{-- @foreach(\App\models\Company::get() as $company)--}}
{{--
--}}
{{--
--}}
{{--

--}}
{{--
--}}
{{--
--}}
{{-- @endforeach--}}
{{--
--}}
{{--
--}}
{{--
--}}
{{-- --}}
{{-- @dd($platform)--}}
{{--@dd(\Illuminate\Support\Facades\Session::get('platform'))--}}
@endsection
@push('js')
{{--@dd(\Illuminate\Support\Facades\Session::get('platform')))--}}
@if($platform == 'AndroidOS')