@extends('layout.frontend.master') @section('meta-title', 'Occasion - LEREVE') @push('asset-top') @endpush @section('content')
inner banner
@foreach($products as $product) @php $percent = ''; $weights = json_decode($product->measurements, true); @endphp @if($product->dsale_price) @php $percent = (($product->dprice-$product->dsale_price)/$product->dprice) * 100; $percent = ceil($percent); @endphp @endif @php $weights = json_decode($product->measurements, true); @endphp
@if(!empty($percent))
{{$percent}}% {{__('OFF')}}
@endif product

{{ (app()->getlocale()=='en')?$product->name_en:$product->name_ar }}

@if($product->dsale_price)
{{$product->dsale_price}} {{__('KWD')}} {{$product->dprice}} {{__('KWD')}}
@else
{{$product->dprice}} {{_('KWD')}}
@endif
@if(count($weights)>1) {{__('Select Options')}} @else {{__('Add to Cart')}} @endif
@endforeach
@if($products->count()>10)
{{$products->appends(Request::except('page'))->links()}}
@endif

{{__('Keep Browsing')}}

@endsection @push('asset-bottom') @endpush