@extends('admin.admin_app') @section('content')
Edit New Product
@if(session()->has('success')) @endif
@if(session()->has('error')) @endif
@csrf @method('POST')

@if(!empty($attribute_data)) @foreach ($attribute_data as $attribute)
id,$product_attr)) checked @endif onClick="displayAttr_val({{ $attribute->id }});">
@if(!empty($attribute->attribute_values)) @foreach($attribute->attribute_values as $attr_value)
id,$product_attr_val)) checked @endif onClick="displayAttr_val_img({{ $attr_value->id }},{{ $attribute->id }});">
id,$product_attr_val)) style='display: block;' @else style='display: none;' @endif> @if(!empty($attr_value->attribute_images)) @foreach ($attr_value->attribute_images as $image)
@if(!empty($font_colors)) @endif
@endforeach @endif
@if($attribute->id != 2) @endif
@endforeach @endif
@endforeach @endif

@if(!empty($disp_field)) @foreach($disp_field as $field)
id])) checked @endif>

@endforeach @endif
@if($data->product_image != '') @endif
@if($data->product_image_thumb) @endif
@endsection @section('script') @endsection