@extends('backend.layouts.master') @section('css') @endsection @section('view_button') View Product @endsection @section('save_button') Update @endsection @section('content')
Update Product
@include('backend.layouts.error')
{{ csrf_field() }}
{{--
--}}
{{--
--}}
{{--
--}}
@if($product->images != NULL)
@foreach($product->images as $image)
@endforeach
@endif

@php $attributes = $product->attribute_options; if (!is_null($attributes)) { # code... $unserialize_attributes = unserialize($attributes); $all_keys = array_keys($unserialize_attributes); } @endphp @if(!is_null($attributes)) @foreach($all_keys as $key)

@foreach($unserialize_attributes[$key] as $value)

@endforeach
@endforeach @endif {{--
--}}
@endsection @section('script') @endsection