@extends('layouts.admin') @section('content')
{{ trans('global.create') }} {{ trans('cruds.product.title_singular') }}
@csrf
@if($errors->has('category'))
{{ $errors->first('category') }}
@endif {{ trans('cruds.product.fields.category_helper') }}
@if($errors->has('sku'))
{{ $errors->first('sku') }}
@endif {{ trans('cruds.product.fields.sku_helper') }}
@if($errors->has('store'))
{{ $errors->first('store') }}
@endif {{ trans('cruds.product.fields.store_helper') }}
{{ trans('global.select_all') }} {{ trans('global.deselect_all') }}
@if($errors->has('storefronts'))
{{ $errors->first('storefronts') }}
@endif {{ trans('cruds.product.fields.storefronts_helper') }}
@if($errors->has('brand'))
{{ $errors->first('brand') }}
@endif {{ trans('cruds.product.fields.brand_helper') }}
@if($errors->has('name'))
{{ $errors->first('name') }}
@endif {{ trans('cruds.product.fields.name_helper') }}
@if($errors->has('description'))
{{ $errors->first('description') }}
@endif {{ trans('cruds.product.fields.description_helper') }}
@if($errors->has('specification'))
{{ $errors->first('specification') }}
@endif {{ trans('cruds.product.fields.specification_helper') }}
@if($errors->has('featured_photo'))
{{ $errors->first('featured_photo') }}
@endif {{ trans('cruds.product.fields.featured_photo_helper') }}
@if($errors->has('photos'))
{{ $errors->first('photos') }}
@endif {{ trans('cruds.product.fields.photos_helper') }}
@if($errors->has('video'))
{{ $errors->first('video') }}
@endif {{ trans('cruds.product.fields.video_helper') }}
@if($errors->has('stock'))
{{ $errors->first('stock') }}
@endif {{ trans('cruds.product.fields.stock_helper') }}
@foreach(App\Models\Product::CONDITION_RADIO as $key => $label)
@endforeach @if($errors->has('condition'))
{{ $errors->first('condition') }}
@endif {{ trans('cruds.product.fields.condition_helper') }}
@if($errors->has('price'))
{{ $errors->first('price') }}
@endif {{ trans('cruds.product.fields.price_helper') }}
@if($errors->has('prices'))
{{ $errors->first('prices') }}
@endif {{ trans('cruds.product.fields.prices_helper') }}
@if($errors->has('moq'))
{{ $errors->first('moq') }}
@endif {{ trans('cruds.product.fields.moq_helper') }}
@foreach(App\Models\Product::IS_PREORDER_RADIO as $key => $label)
@endforeach @if($errors->has('is_preorder'))
{{ $errors->first('is_preorder') }}
@endif {{ trans('cruds.product.fields.is_preorder_helper') }}
@if($errors->has('preorder_day'))
{{ $errors->first('preorder_day') }}
@endif {{ trans('cruds.product.fields.preorder_day_helper') }}
@if($errors->has('price_range'))
{{ $errors->first('price_range') }}
@endif {{ trans('cruds.product.fields.price_range_helper') }}
@if($errors->has('status'))
{{ $errors->first('status') }}
@endif {{ trans('cruds.product.fields.status_helper') }}
@if($errors->has('length'))
{{ $errors->first('length') }}
@endif {{ trans('cruds.product.fields.length_helper') }}
@if($errors->has('width'))
{{ $errors->first('width') }}
@endif {{ trans('cruds.product.fields.width_helper') }}
@if($errors->has('height'))
{{ $errors->first('height') }}
@endif {{ trans('cruds.product.fields.height_helper') }}
@if($errors->has('weight'))
{{ $errors->first('weight') }}
@endif {{ trans('cruds.product.fields.weight_helper') }}
@if($errors->has('is_insurance_required'))
{{ $errors->first('is_insurance_required') }}
@endif {{ trans('cruds.product.fields.is_insurance_required_helper') }}
@endsection @section('scripts') @endsection