@extends('includes.master') @section('content')
@if(is_object($vendor))

{{$vendor->shop_name}}

@else

No Shop Found

@endif
@forelse($products as $product)

{{$product->title}}

@if($product->previous_price != "") ${{$product->previous_price}} @else @endif ${{$product->price}}
@for($i=1;$i<=5;$i++) @if($i <= \App\Review::where('productid',$product->id)->avg('rating')) @else @endif @endfor

{{csrf_field()}} @if(Session::has('uniqueid')) @else @endif @if($product->stock != 0) @else @endif {{----}}

@empty

No Product Found in This Category.

@endforelse
@if(count($products) > 0)
@endif
@stop @section('footer') @stop