{{--@dd($featured_items_categoryGroup)--}} @extends('admin.layouts.master') @section('content')

{{ trans('app.promotions') }}

{{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}}
@lang('app.options') @lang('app.values')  

@lang('app.promotional_tagline')

{{ trans('help.promotional_tagline') }}
{{ trans('app.form.text') . ' : ' }}{{ empty($tagline['text']) ? '' : $tagline['text'] }}
{{ trans('app.action_url') . ' : ' }}{{ !empty($tagline['action_url']) ? $tagline['action_url'] : '' }}
@lang('app.edit')
--}} {{--

@lang('app.best_finds_under')

--}} {{-- --}} {{-- {!! trans('help.best_finds_under') !!}--}} {{-- --}} {{--
--}} {{-- @unless(empty(get_from_option_table('best_finds_under', 99)))--}} {{-- --}} {{-- {{ get_formated_currency(get_from_option_table('best_finds_under')) }}--}} {{-- --}} {{-- @endunless--}} {{-- --}} {{-- @lang('app.edit')--}} {{--
--}} {{--

@lang('app.deal_of_the_day')

--}} {{-- --}} {{-- {!! trans('help.deal_of_the_day') !!}--}} {{-- --}} {{--
--}} {{-- @if ($deal_of_the_day)--}} {{-- {{ $deal_of_the_day->title . ' | ' . $deal_of_the_day->sku . ' | ' . get_formated_currency($deal_of_the_day->current_sale_price()) }}--}} {{-- @endif--}} {{-- --}} {{-- @lang('app.edit')--}} {{--

@lang('app.featured_categories')

{!! trans('help.featured_categories') !!}
@foreach ($featured_categories as $key=>$category) @php $category_translation = \App\Models\CategoryTranslation::where('category_id',$key)->where('language_id',getLocaleId())->first(); @endphp {{ $category_translation->name ?? $category }} @endforeach @lang('app.edit')

@lang('app.featured_offers')

{!! trans('help.featured_items') !!}
@if ($featured_items) @foreach ($featured_items as $item) @php $inventory_translation = \App\Models\InventoryTranslation::where('inventory_id',$item->id)->where('language_id',getLocaleId())->first(); @endphp {!! ($inventory_translation->title ?? $item->title) . ' | ' . $item->sku . ' | ' . get_formated_currency($item->current_sale_price()) !!} @endforeach @endif @lang('app.edit')

@lang('app.featured_groups')

{!! trans('help.trending_now_categories') !!}
@foreach ($trending_categoryGroups as $key=>$group) @php $categoryGroup_translation = \App\Models\CategoryGroupTranslation::where('category_group_id',$key)->where('language_id',getLocaleId())->first(); @endphp {{ $categoryGroup_translation->name ?? $group }} @endforeach @lang('app.edit')
--}} {{--

@lang('app.featured_items')

--}} {{-- --}} {{-- {!! trans('help.featured_items') !!}--}} {{-- --}} {{--
--}} {{-- @if ($featured_items_categoryGroup)--}} {{-- @foreach ($featured_items_categoryGroup as $item)--}} {{-- {!! $item->title . ' | ' . $item->sku !!}--}} {{-- @endforeach--}} {{-- @endif--}} {{-- --}} {{-- @lang('app.edit')--}} {{--

@lang('app.featured_blogs')

{!! trans('help.featured_blogs') !!}
@if ($featured_blogs) @foreach ($featured_blogs as $key => $item) @php $blog_translation = \App\Models\BlogTranslation::where('blog_id',$key)->where('language_id',getLocaleId())->first(); @endphp {!! $blog_translation->title ?? $item !!} @endforeach @endif @lang('app.edit')

@lang('app.featured_tenders')

{!! trans('help.featured_tenders') !!}
@if ($featured_tenders) @foreach ($featured_tenders as $key => $item) @php $tender_translation = \App\Models\TenderTranslation::where('tender_id',$key)->where('language_id',getLocaleId())->first(); @endphp {!! $tender_translation->title ?? $item !!} @endforeach @endif @lang('app.edit')

@lang('app.featured_auctions')

{!! trans('help.featured_auctions') !!}
@if ($featured_auctions) @foreach ($featured_auctions as $key => $item) @php $auction_translation = \App\Models\AuctionTranslation::where('auction_id',$key)->where('language_id',getLocaleId())->first(); @endphp {!! $auction_translation->title ?? $item !!} @endforeach @endif @lang('app.edit')
--}} {{--

@lang('app.featured_brands')

--}} {{-- --}} {{-- {!! trans('help.featured_brands') !!}--}} {{-- --}} {{--
--}} {{-- @foreach ($featured_brands as $brand)--}} {{-- {{ $brand->name }}--}} {{-- @endforeach--}} {{-- --}} {{-- @lang('app.edit')--}} {{-- --}}{{-- @lang('app.edit') --}} {{--
@endsection