@extends('layouts.master') @section('extraStyle') @endsection @section('content') @include('balde_components.navs.side-bar') @include('balde_components.navs.nav-bar-v2')
{{-- @csrf --}}
{{-- Product --}}

{{__('Products belong to category')}} "{{$category->name}}"

@forelse ($products as $product)
@if ($product->getFirstMediaUrl('image') != "") image @else image @endif
{{$product->category->name}}

{{$product->name}}

{{$product->market->name}}

{{$product->market->address}}

@if($product->rate)
{{$product->rate}}
@endif

{!! getPrice($product->getPrice()) !!}

@if ($product->discount_price !=0) -{{number_format(100-($product->discount_price * 100 / $product->price),0)}} % @endif
{{__("Delivery")}} {{__("Pick up")}}
@empty
{{__('No Products is found')}}
@endforelse
{{-- pagination --}}
{{-- footer--}} @include('balde_components.footer') @endsection @section('extraJs') @endsection