@extends('layouts.frontend.app') @section('search')
@if(isset(request()->keyword)) Cancel @else @endif
@endsection @section('content')
@include('layouts.frontend.header')
@php if(isset($product)) { $pdt=$product; } else{ $pdt=$products; } @endphp @forelse($pdt as $p)
Product image {{--
--}} {{-- add to wishlist--}} {{-- Quick view--}} {{-- Compare--}} {{--
--}} @if($p->stock <1) Out Of Stock @endif
{{$p->Category->name ?? ''}}

{{ \Illuminate\Support\Str::limit($p->name,20) }}

{{number_format($p->variations[0]['price'],0)}} MMK
@if($p->variations[0]['discount'] != 0)
{{number_format($p->variations[0]['discount_price'],0)}} MMK
({{ $p->variations[0]['size'] }}) @endif @php $photos=\App\Models\ProductPhoto::where('product_id',$p->id)->get()->take(3); @endphp
@foreach($photos as $index=>$pto) product descname}}','{{$p->id}}')> @endforeach
@empty

No Decant Found You Search

@endforelse
@if(isset($product)) {{ $product->appends(request()->all())->links('partials.paginate') }} @else {{ $products->appends(request()->all())->links('partials.paginate') }} @endif
@include('layouts.frontend.footer')
@include('partials.login_modal') @endsection @section('script') @endsection