@extends('apps::frontend.layouts.master')
@section('title', __('apps::frontend.home.title'))
@section('externalStyle')
@endsection
@section('meta_description', config('setting.app_description.' . locale()) ?? '')
@section('meta_keywords', '')
@section('content')
@foreach ($sliders as $k => $slider)
@endforeach
{{-- --}}
@if (count($categories) > 0)
{{ __('apps::frontend.master.categories') }}
@foreach ($categories as $k => $category)
@endforeach
@endif
@if (count($featuredProducts) > 0)
{{ __('apps::frontend.master.featured_products') }}
@foreach ($featuredProducts as $k => $prd)
{{ $prd->price }}
{{ __('apps::frontend.master.kwd') }}
@endforeach
@endif
@if (count($latestOffers) > 0)
{{ __('apps::frontend.master.latest_offers') }}
@foreach ($latestOffers as $k => $prd)
{{ $prd->price }}
{{ __('apps::frontend.master.kwd') }}
{{ $prd->offer->offer_price }} {{ __('apps::frontend.master.kwd') }}
@endforeach
@endif
{{-- @if (count($mostSellingProducts) > 0)
{{ __('apps::frontend.master.most_selling_products') }}
@foreach ($mostSellingProducts as $k => $prd)
-
-
@if (auth()->check() &&
!in_array(
$prd->id,
array_column(
auth()->user()->favourites->toArray(),
'id',
),
))
@endif
@if (is_null($prd->variants) || count($prd->variants) == 0)
-
@endif
{{ $prd->price }} {{ __('apps::frontend.master.kwd') }}
@endforeach
@endif --}}
@endsection
@section('externalJs')
@endsection