@extends('master.front') @section('meta') @endsection @section('content') @if ($extra_settings->is_t3_slider == 1)
@foreach ($sliders as $slider)
@if($slider->title)

{{ $slider->title }}

@endif @if($slider->details)

{{ $slider->details }}

@endif @if ($slider->link && $slider->link != '#')
{{ __('Buy Now') }}
@endif
@if($slider->logo) @endif
@endforeach
@endif {{-- @if ($setting->is_slider == 1)
@foreach ($sliders as $slider)
@if ($slider->logo) logo @endif
{{ $slider->title }}
{{ $slider->details }}
@if ($slider->link != '#') {{ __('Buy Now') }} @endif
@endforeach
@if (isset($hero_banner))
@if (isset($hero_banner['subtitle1']))

{{ $hero_banner['subtitle1'] }}

@endif @if (isset($hero_banner['title1']))

{{ $hero_banner['title1'] }}

@endif
@if (isset($hero_banner['subtitle2']))

{{ $hero_banner['subtitle2'] }}

@endif @if (isset($hero_banner['title2']))

{{ $hero_banner['title2'] }}

@endif
@endif
@endif --}} {{-- category cards --}}
@foreach ($latest_catgories as $category)
{{ $category->name }}
{{ $category->name }}
@endforeach
@if ($setting->campaign_status == 1)

{{ $setting->campaign_title }}

{{ __('View All') }}
@foreach ($campaign_items as $compaign_item)
@if (!$compaign_item->item->is_stock())
{{ __('out of stock') }}
@endif @if ($compaign_item->item->previous_price && $compaign_item->item->previous_price != 0)
-{{ PriceHelper::DiscountPercentage($compaign_item->item) }}
@endif Product
@if ($compaign_item->item->is_stock()) @else @endif
{{ $compaign_item->item->category->name }}

{{ Str::limit($compaign_item->item->name, 35) }}

{!! Helper::renderStarRating($compaign_item->item->reviews->avg('rating')) !!}

@if ($compaign_item->item->previous_price != 0) {{ PriceHelper::setPreviousPrice($compaign_item->item->previous_price) }} @endif {{ PriceHelper::grandCurrencyPrice($compaign_item->item) }}

@endforeach
@endif @if ($setting->is_three_c_b_first == 1)
@if (isset($banner_first['subtitle1']))

{{ $banner_first['subtitle1'] }}

@endif @if (isset($banner_first['title1']))

{{ $banner_first['title1'] }}

@endif
@if (isset($banner_first['subtitle2']))

{{ $banner_first['subtitle2'] }}

@endif @if (isset($banner_first['title2']))

{{ $banner_first['title2'] }}

@endif
@if (isset($banner_first['subtitle3']))

{{ $banner_first['subtitle3'] }}

@endif @if (isset($banner_first['title3']))

{{ $banner_first['title3'] }}

@endif
@endif @if ($setting->is_highlighted == 1)
{{--
{{ __('New Arrival') }}
--}}

{{ __('New Arrival') }}

@foreach ($new_products as $item)
@if (!$item->is_stock())
{{ __('out of stock') }}
@endif @if ($item->previous_price && $item->previous_price != 0)
-{{ PriceHelper::DiscountPercentage($item) }}
@endif Product
@include('includes.item_footer', ['sitem' => $item])
{{ $item->category->name }}

{{ Str::limit($item->name, 35) }}

{!! Helper::renderStarRating($item->reviews->avg('rating')) !!}

@if ($item->previous_price != 0) {{ PriceHelper::setPreviousPrice($item->previous_price) }} @endif {{ PriceHelper::grandCurrencyPrice($item) }}

@endforeach
@endif @if ($setting->is_highlighted == 1)
{{--
{{ __('Featured') }}
--}}

{{ __('Featured') }}

@foreach ($feature_products as $item)
@if (!$item->is_stock())
{{ __('out of stock') }}
@endif @if ($item->previous_price && $item->previous_price != 0)
-{{ PriceHelper::DiscountPercentage($item) }}
@endif Product
@include('includes.item_footer', ['sitem' => $item])
{{ $item->category->name }}

{{ Str::limit($item->name, 35) }}

{!! Helper::renderStarRating($item->reviews->avg('rating')) !!}

@if ($item->previous_price != 0) {{ PriceHelper::setPreviousPrice($item->previous_price) }} @endif {{ PriceHelper::grandCurrencyPrice($item) }}

@endforeach
@endif @if ($setting->is_highlighted == 1)
{{--
{{ __('Top Rated') }}
--}}

{{ __('Top Rated') }}

@foreach ($top_products as $item)
@if (!$item->is_stock())
{{ __('out of stock') }}
@endif @if ($item->previous_price && $item->previous_price != 0)
-{{ PriceHelper::DiscountPercentage($item) }}
@endif Product
@include('includes.item_footer', ['sitem' => $item])
{{ $item->category->name }}

{{ Str::limit($item->name, 35) }}

{!! Helper::renderStarRating($item->reviews->avg('rating')) !!}

@if ($item->previous_price != 0) {{ PriceHelper::setPreviousPrice($item->previous_price) }} @endif {{ PriceHelper::grandCurrencyPrice($item) }}

@endforeach
@endif @if ($setting->is_highlighted == 1)
{{--
{{ __('Best Seller') }}
--}}

{{ __('Best Seller') }}

@foreach ($best_products as $item)
@if (!$item->is_stock())
{{ __('out of stock') }}
@endif @if ($item->previous_price && $item->previous_price != 0)
-{{ PriceHelper::DiscountPercentage($item) }}
@endif Product
@include('includes.item_footer', ['sitem' => $item])
{{ $item->category->name }}

{{ Str::limit($item->name, 35) }}

{!! Helper::renderStarRating($item->reviews->avg('rating')) !!}

@if ($item->previous_price != 0) {{ PriceHelper::setPreviousPrice($item->previous_price) }} @endif {{ PriceHelper::grandCurrencyPrice($item) }}

@endforeach
@endif {{-- flash deal --}} @if ($extra_settings->is_t1_falsh == 1)

{{ __('Flash Deal') }}

@foreach ($flash_deal_products as $item)
@if (!$item->is_stock())
{{ __('out of stock') }}
@endif @if ($item->previous_price && $item->previous_price != 0)
-{{ PriceHelper::DiscountPercentage($item) }}
@endif Product
@include('includes.item_footer', [ 'sitem' => $item, ])
{{ $item->category->name }}

{{ Str::limit($item->name, 50) }}

{!! Helper::renderStarRating($item->reviews->avg('rating')) !!}

@if ($item->previous_price != 0) {{ $item->previous_price }} @endif {{ PriceHelper::grandCurrencyPrice($item) }}

@if (date('d-m-y') != \Carbon\Carbon::parse($item->date)->format('d-m-y'))
@endif
@endforeach
@endif {{-- Video Gallery --}}

Video Gallery

{{-- Main video player left side --}}
@if ($video_stories->count() > 0) @php function youtubeEmbedUrl($url) { preg_match( '/(?:youtube\.com\/(?:[^\/]+\/.+\/|(?:v|embed)\/|.*[?&]v=)|youtu\.be\/)([^"&?\/\s]{11})/i', $url, $matches, ); return isset($matches[1]) ? 'https://www.youtube.com/embed/' . $matches[1] : ''; } @endphp @else

No videos available

@endif
{{-- Playlist on right side --}}

Playlist

{{ $video_stories->count() }} videos

@if ($video_stories->count() > 0) @php function youtubeVideoId($url) { preg_match( '/(?:youtube\.com\/(?:[^\/]+\/.+\/|(?:v|embed)\/|.*[?&]v=)|youtu\.be\/)([^"&?\/\s]{11})/i', $url, $matches, ); return $matches[1] ?? ''; } @endphp @foreach ($video_stories as $video)
Thumbnail

{{ $video->title }}

{{--

{{ $video->duration ?? '00:00' }}

--}}
@endforeach @endif
{{-- @if ($setting->is_blogs == 1)

{{ __('Our Blog') }}

@foreach ($posts as $post)
Blog Post

{{ Str::limit($post->title, 55) }}

  • {{ __('Admin') }}
  • {{ date('jS F, Y', strtotime($post->created_at)) }}

{{ Str::limit(strip_tags($post->details), 120) }}

@endforeach
@endif --}} @if ($setting->is_popular_brand == 1)

{{ __('Popular Brands') }}

@foreach ($brands as $brand)
{{ $brand->name }}
@endforeach
@endif @endsection