@extends('layouts.user-home') @section('content')
@foreach($sliders as $slid)

{{ $slid->s_title }}

{!! $slid->s_desc !!}

Explore Now
@endforeach
@foreach($productsall as $randprod)
{{ $randprod->brands->brand_name }}
{{ $randprod->product_name_en }}
QAR @if($randprod->offer_datas) @php $offer_details=$randprod->offer_datas; $offer_price=$offer_details['product_offer_amount']; $offer_percentage=$offer_details['product_offer_percentage']; @endphp {{sprintf("%.2f",$randprod->product_price)}} {{sprintf("%.2f",$offer_price)}} @else {{sprintf("%.2f",$randprod->product_price)}} @endif
@endforeach
@foreach($category as $catloop)
@foreach($productscatall as $prodvt) @if($prodvt->product_category == $catloop->category_id)
{{ $prodvt->brands->brand_name }}
{{ $prodvt->product_name_en }}
QAR @if($prodvt->offer_datas) @php $offer_details=$prodvt->offer_datas; $offer_price=$offer_details['product_offer_amount']; $offer_percentage=$offer_details['product_offer_percentage']; @endphp {{sprintf("%.2f",$prodvt->product_price)}} {{sprintf("%.2f",$offer_price)}} @else {{sprintf("%.2f",$prodvt->product_price)}} @endif
@endif @if($pri >= 4) @break @endif @endforeach
@endforeach
@if(count($randcat)>0) @foreach($randcat as $catra)

{{ $catra->category_name }}

{{ $catra->category_description }} Shop Now
@endforeach @endif

Recommended products

@foreach($productspopular as $mpop)
{{ $mpop->brands->brand_name }}
{{ $mpop->product_name_en }}
QAR @if($mpop->offer_datas) @php $offer_details=$mpop->offer_datas; $offer_price=$offer_details['product_offer_amount']; $offer_percentage=$offer_details['product_offer_percentage']; @endphp {{sprintf("%.2f",$mpop->product_price)}} {{sprintf("%.2f",$offer_price)}} @else {{sprintf("%.2f",$mpop->product_price)}} @endif
@endforeach
@if(count($productsrandonly)>0) @foreach($productsrandonly as $prordonly)

{{ $prordonly->product_name_en }}

{{ $prordonly->product_desc_en }}

Shop Now
@endforeach @endif
@foreach($productsrand as $mpopnew)
{{ $mpopnew->brands->brand_name }}
{{ $mpopnew->product_name_en }}
QAR @if($mpopnew->offer_datas) @php $offer_details=$mpopnew->offer_datas; $offer_price=$offer_details['product_offer_amount']; $offer_percentage=$offer_details['product_offer_percentage']; @endphp {{sprintf("%.2f",$mpopnew->product_price)}} {{sprintf("%.2f",$offer_price)}} @else {{sprintf("%.2f",$mpopnew->product_price)}} @endif
@endforeach

Contact for customer support

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.

+21-921123456789

@endsection