@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_t2_slider == 1)
@endif @if ($extra_settings->is_t2_service_section == 1)
@foreach ($services as $service)
Shipping
{{ $service->title }}

{{ $service->details }}

@endforeach
@endif @if ($extra_settings->is_t2_3_column_banner_first == 1)
@endif @if ($extra_settings->is_t2_falsh == 1)

{{ __('Flash Deal') }}

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

{{ __('New Products') }}

@endif @if ($extra_settings->is_t2_3_column_banner_second == 1)
@endif @if ($extra_settings->is_t2_featured_product == 1)

{{ __('Featured Products') }}

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

{{ __('Best Seller') }}

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

{{ __('Top Rated') }}

@endif @if ($extra_settings->is_t2_2_column_banner == 1)
@endif @if ($extra_settings->is_t2_three_column_category == 1)
@foreach ($two_column_categoriess as $two_column_key => $two_column_category)

{{ $two_column_category['name']->name }}

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

{{ __('Our Blog') }}

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

{{ __('Popular Brands') }}

@endif @endsection