{!! Form::open(array('url'=>'/inventory/product/add','id'=> 'product_form','files'=>true)) !!}
{{ csrf_field() }}
{!! Form::close() !!}
{!! Form::text('prod_name',null, ['class' => 'form-control rounded c_w0', 'placeholder'=>'Name','id' => 'usr']) !!}
@if ($errors->has('prod_name'))
{{ $errors->first('prod_name') }}
@endif
{!! Form::textarea('prod_desc', null, ['placeholder'=>'Description', 'class'=>'form-control ne_w0']) !!}
@if ($errors->has('prod_desc'))
{{ $errors->first('prod_desc') }}
@endif
{!! Form::number('prod_price',null, ['class' => 'form-control rounded c_w0', 'placeholder'=>'Price','id' => 'price']) !!}
@if ($errors->has('prod_price'))
{{ $errors->first('prod_price') }}
@endif
{!! Form::text('prod_sku',null, ['class' => 'form-control rounded c_w0', 'placeholder'=>'Sku','id' => 'sku']) !!}
@if ($errors->has('prod_sku'))
{{ $errors->first('prod_sku') }}
@endif
{!! Form::text('prod_quantity',null, ['class' => 'form-control rounded c_w0', 'placeholder'=>'Stock Quantity','id' => 'number']) !!}
@if ($errors->has('prod_quantity'))
{{ $errors->first('prod_quantity') }}
@endif
@foreach ($categorys as $category)
@endforeach
-
@foreach($subcategorys as $subcategory)
- @endif @endforeach
Warning: Undefined variable $subcategory in /home/devmindz/public_html/laravel/catalog_admin/resources/views/layouts/inventory/newproduct.blade.php on line 139
Warning: Attempt to read property "categories_id" on null in /home/devmindz/public_html/laravel/catalog_admin/resources/views/layouts/inventory/newproduct.blade.php on line 139
Deprecated: explode(): Passing null to parameter #2 ($string) of type string is deprecated in /home/devmindz/public_html/laravel/catalog_admin/resources/views/layouts/inventory/newproduct.blade.php on line 139
@if(in_array($category->id, $data))
Product Image: (Accepted Formats: .png, .jpg, .jpeg Max Size: 5MB)
[Recommended Dimension: 800 pixels * 400 pixels]
[Recommended Dimension: 800 pixels * 400 pixels]
Product Video: (Accepted Formats: .mov, .avi, .mp4)