@extends('admin.layouts') @section('title', 'Add Product') @section('header') @endsection @section('content')

view Product

View Product
@csrf @method('POST')
is_note) ? 'checked' : '' }}>
@php $images = $product->product_image ? json_decode($product->product_image, true) : []; @endphp @if (!empty($images) && is_array($images)) @foreach ($images as $product_image)
Product Image
@endforeach @endif
@error('category_id') {{ $message }} @enderror
@error('subcategory_id') {{ $message }} @enderror
@php /*
@error('item_code') {{ $message }} @enderror
*/ @endphp
@error('hsn_code') {{ $message }} @enderror
@error('barcode1') {{ $message }} @enderror
@error('barcode2') {{ $message }} @enderror
Specialization
@foreach ($variants as $index => $variant)

Variant {{ $index + 1 }}

@endforeach
@endsection