@extends('master.front') @section('meta') @endsection @section('content') @php function renderStarRating($rating, $maxRating = 5) { $fullStar = ""; $halfStar = ""; $emptyStar = ""; $rating = $rating <= $maxRating ? $rating : $maxRating; $fullStarCount = (int) $rating; $halfStarCount = ceil($rating) - $fullStarCount; $emptyStarCount = $maxRating - $fullStarCount - $halfStarCount; $html = str_repeat($fullStar, $fullStarCount); $html .= str_repeat($halfStar, $halfStarCount); $html .= str_repeat($emptyStar, $emptyStarCount); $html = $html; return $html; } @endphp @if ($extra_settings->is_t4_slider == 1)
@endif @if ($extra_settings->is_t4_featured_banner == 1) @endif @if ($extra_settings->is_t4_specialpick == 1)
@endif @if ($extra_settings->is_t4_3_column_banner_first == 1)
@endif @if ($extra_settings->is_t4_flashdeal == 1)

{{ __('Flash Deal') }}

@endif @if ($extra_settings->is_t4_3_column_banner_second == 1)
@endif @if ($extra_settings->is_t4_popular_category == 1) @if (count($pupular_cateogry_home4)>0) @foreach ($pupular_cateogry_home4 as $popularcategory)

{{$popularcategory->name}}

@endforeach @endif @endif @if ($extra_settings->is_t4_2_column_banner == 1)
@endif @if ($extra_settings->is_t4_blog_section == 1)

{{ __('Our Blog') }}

@endif @if ($extra_settings->is_t4_brand_section == 1)

{{ __('Popular Brands') }}

@endif @if ($extra_settings->is_t4_service_section == 1)
@foreach ($services as $service)
Shipping
{{ $service->title }}

{{ $service->details }}

@endforeach
@endif @endsection