@extends('layouts.app-home') @section('content') Categories @foreach($Categorylist as $ctr) {{$ctr->title}} {{$ctr->title}} @endforeach {{$name}} @foreach($brandlist as $bdr) id) class="active" @endif> @if(auth()->guard('agent')->user()) @else @endif {{$bdr->title}} @endforeach @if(@$productInfo[0]->id ) @foreach($productInfo as $val) @if($val->main_img) @if(auth()->guard('agent')->user()) @else @endif @else @endif @if(!empty($val->stock))In Stock @else Out of Stock @endif {{$val->title}} @guest @if(auth()->guard('agent')->user()) {{$val->sku}} @if($val->discount_price!='0') £{{$val->price-$val->discount_price}} @else £{{$val->price}} @endif @else {{$val->sku}} Login @endif @else {{$val->sku}} @if($val->discount_price!='0') £{{$val->price-$val->discount_price}} @else £{{$val->price}} @endif @endif @endforeach @else Product Not Found @endif @endsection @section('script') @endsection
@if(!empty($val->stock))In Stock @else Out of Stock @endif
{{$val->sku}}