@extends('layouts.admin.app') @section('content')

Manage Products

@if ($message = Session::get('success'))

{{ $message }}

@endif
@foreach ($productByCategory as $product) @endforeach
Image Product Code Name Category Sub Category Slug Price (Actual) Discount Price Available for Download Add Date Action
{{ $product->product_id }} {{ $product->product_name }} {{ $product->category_name }} {{ $product->child_category_name }} {{ $product->slug }} ${{ $product->regular_price }} ${{ $product->selling_price }} @if ($product->available === 1) Buy @else Enquiry @endif @if ($product->pdf_file === NULL) @else Download @endif {{ $product->created_at }}
@csrf @method('DELETE')
@endsection