@extends('admin.layouts.app') @section('content')
@csrf @method('PUT')
{{--
--}} {{--
--}}
Show\Hide
status==1?'selected':''}} value="1">Show
status==0?'selected':''}} value="0">Hide
Category
@foreach($subCategories as $sc)
id==$selectSubCategory?'selected':''}}>{{$sc->name}}
@endforeach
Brand
@foreach($brands as $sc)
id==$selectBrand?'selected':''}}>{{$sc->name}}
@endforeach
Description
{{ $product->description }}
Current product photo
@if($product->product_photo)
Delete
@else
No product photo currently
@endif
Other Product Photos
Other product photos
@if($product->product_photos) @foreach(json_decode($product->product_photos) as $ph)
@endforeach @else
No product photo currently
@endif
Product Colors
@if($product->colors) @foreach(json_decode($product->colors, true) as $color)
Remove
@endforeach @else @endif
Add Color
{{-- --}} @endsection