@extends('website.layouts.master') @section('title') {{__('website.special_offers')}} @stop @section('css') @stop @section('script.title') @stop @section('content') @php $products = $featured_items; @endphp @if ($products != null)
{{--
@foreach ($products as $item) @php $item_translation = $item->translations->where('language_id',getLocaleId())->first(); @endphp

{{$item_translation->title ?? $item->title}}

{!! $item_translation->description ?? $item->description !!}

    @if (config('system_settings.show_item_conditions'))
  • {!! $item->condition !!}
  • @endif {{--
  • {{ $item->manufacturer->name }}
  • --}}
    @if ($item->shop->isVerified() && Route::current()->getName() != 'show.store')
  • @lang('theme.from_verified_seller')
  • @endif @foreach ($item->getLabels() as $label)
  • {!! $label !!}
  • @endforeach
{!! get_formated_price($item->current_sale_price(), config('system_settings.decimals', 2)) !!} @if ($item->hasOffer())

{!! get_formated_price($item->sale_price, config('system_settings.decimals', 2)) !!}

@endif
{{-- --}}
@endforeach
{{ $products->links('vendor.pagination.default') }}
@else
{{ trans('theme.no_product_found') }}
{{ trans('theme.button.choose_from_categories') }}
@endif @stop @section('script') @stop