@extends('master.front') @section('title') {{ __('Supermatch Product') }} @endsection @section('meta') @endsection @section('content')
@if($setting->promotion_in_image and $setting->promotion_in_image_status == 1) @endif

{{ __('Promotion') }}

@if ($campaign_items) @foreach ($campaign_items as $key_item => $item)
@if ($item->is_type) @foreach (json_decode($item->is_type) as $val) @if ($val == 'new') @endif @if ($val == 'feature') @endif @if ($val == 'top') @endif @if ($val == 'best') @endif @if ($val == 'flash_deal') @endif @endforeach @else @endif @if ($key_item <= 9) @endif @if ($item->is_hot == 1) @endif @if (!$item->is_stock()) @endif @if($promotion->start_date <= now() && $promotion->end_date >= now()) @endif
{{ Str::limit($item->name, 35) }}
{{ PriceHelper::grandCurrencyPrice($item) }}
@if ($item->previous_price != 0)
{{ PriceHelper::grandCurrencyPrice($item) }} @if($promotion->start_date <= now() && $promotion->end_date >= now()) {{ PriceHelper::setPreviousPrice($item->discount_price) }} @endif
@endif
@if ($item->is_stock()) @else {{ __('Details') }} @endif
@endforeach
@else

{{ __('No Product Found') }}

@endif
@endsection