@extends('adminlayout.admin') @section('content')

Product Details

@if(Session::has('message'))

{{ Session::get('message') }}

@endif @if($errors->any())

{{ implode('', $errors->all(':message')) }}

@endif
@php $gallery_image = json_decode($product->gallery_image); @endphp
@if($gallery_image) @foreach($gallery_image as $img) @endforeach @endif
@if($gallery_image) @foreach($gallery_image as $img) @endforeach @endif
Product Name {{ $product->name }}
@if($product->category_id==1)
Laptop No. {{$product->laptop_no}}
@endif
Brand {{$product->brand}}
@if($product->category_id==1)
Processor {{$product->processor}}
Generation {{$product->generation}}
@endif
Ram {{$product->ram}}
Storage {{$product->internal_storage}}
@if($product->category_id==1)
Graphics {{$product->graphics}}
@endif
Screen Size {{$product->screen_size}}
Price {{$product->price}} Rs
Description

{{ $product->description }}

Qunatity
Total Price: {{$product->price}} Rs
@endsection