@extends('admin.layout.admin_layout') @section('content')

Products

@include('admin.layout.message')

Products

Add

@if(!empty($products)) @foreach($products as $pdts) @endforeach @endif
Sl.No. Image Name Category Varrient Description Sale Price Quantity Action
{{$i}} {{$pdts['product_name']}} {{ $pdts->cat_id ? \App\Helper\admin\Catname::getCategoryName($pdts->cat_id) : 'Unknown Category' }} @if($pdts['product_tag'] == 1) Top Sale @elseif($pdts['product_tag'] == 2) Best Sellers @else Unknown Tag @endif {{$pdts['product_dec']}} {{$pdts['product_saleprice']}} {{$pdts['product_quantity']}}
Sl.No. Image Name Category Description Sale Price Quantity Action
@endsection @push('scripts')