@extends('frontend.layouts.appss') @section('content')
@php $num_todays_deal = count(filter_products(\App\Product::where('published', 1)->where('todays_deal', 1 ))->get()); $featured_categories = \App\Category::where(['featured'=>1, 'status'=>1])->get(); @endphp @if($home_slider_type==1)
@else
@endif @if (count($featured_categories) > 0) @endif
@if (\App\BusinessSetting::where('type', 'best_selling')->first()->value == 1)
@php $cat_name_active = \App\BusinessSetting::where('type', 'best_selling')->select('type_name')->first(); @endphp
View More

{{@$cat_name_active->type_name}}

@foreach(\App\Product::where('published', 1)->orderBy('created_at', 'desc')->limit(6)->get() as $key => $product)
@if(home_base_price($product->id) != home_discounted_base_price($product->id)) {{ home_base_price($product->id) }} @endif {{ home_discounted_base_price($product->id) }}
{{ renderStarRating($product->rating) }}

{{ __($product->name) }}

@if (\App\Addon::where('unique_identifier', 'club_point')->first() != null && \App\Addon::where('unique_identifier', 'club_point')->first()->activated)
{{ translate('Club Point') }}: {{ $product->earn_point }}
@endif
@endforeach
@endif @if (\App\BusinessSetting::where('type', 'new_arrival')->first()->value == 1)
@endif @if (\App\BusinessSetting::where('type', 'two_banner')->first()->value == 1) @endif @if (\App\BusinessSetting::where('type', 'single_category_template')->first()->value == 1)
@if(count($bannerone)!=0) @if($category_women->template_type==0)
View More

{{$category_women->name}}

@elseif($category_women->template_type==1)
View More

{{$category_women->name}}

@else
View More

{{$category_women->name}}

@endif @endif
@endif @if (\App\BusinessSetting::where('type', 'qr_section')->first()->value == 1) @if(!empty($qrimage->photo))
@endif @endif @if (\App\BusinessSetting::where('type', 'multiple_category_template')->first()->value == 1)
@if(count($banner_template)!=0) @foreach($banner_template as $rows) @if($rows->template_type==0)
View More

{{$rows->name}}

@elseif($rows->template_type==1)
View More

{{$rows->name}}

@else
View More

{{$rows->name}}

@endif @endforeach @endif
@endif @if (\App\BusinessSetting::where('type', 'vendor_system_activation')->first()->value == 1)
@endif
@endsection @section('script') @endsection