@extends('backEnd.admin.layouts.master') @section('title') Product Edit @endsection @section('css') @endsection @section('body')
@csrf
@php $prod_cat = explode(',', $prod_cat); @endphp
@foreach($data->images as $photo) @endforeach

Attributes

@php if ($prd_attr){ $prd_attr = explode(',', $prd_attr); }else{ $prd_attr = []; } if ($prd_attr_item){ $prd_attr_item = explode(',', $prd_attr_item); }else{ $prd_attr_item = []; } @endphp
@foreach($attributes as $key => $attribute)
id,$prd_attr))?"checked":""}}>
@endforeach
@endsection @section('js') @endsection