@extends('layouts.admin') @section('styles')
@endsection @section('content')
{{ __("Edit Product") }}
{{ __("Back") }}
{{ __("Dashboard") }}
{{ __("Products") }}
{{ __("License Product") }}
{{ __("Edit") }}
{{csrf_field()}} @include('includes.admin.form-both')
{{ __("Product Name") }}*
{{ __("(In Any Language)") }}
{{ __("Category") }}*
{{ __("Select Category") }}
@foreach($cats as $cat)
id == $data->category_id ? "selected":""}} >{{$cat->name}}
@endforeach
{{ __("Sub Category") }}*
{{ __("Select Sub Category") }}
@if($data->subcategory_id == null) @foreach($data->category->subs as $sub)
{{$sub->name}}
@endforeach @else @foreach($data->category->subs as $sub)
id == $data->subcategory_id ? "selected":""}} >{{$sub->name}}
@endforeach @endif
{{ __("Child Category") }}*
subcategory_id == null ? "disabled":""}}>
{{ __("Select Child Category") }}
@if($data->subcategory_id != null) @if($data->childcategory_id == null) @foreach($data->subcategory->childs as $child)
{{$child->name}}
@endforeach @else @foreach($data->subcategory->childs as $child)
id == $data->childcategory_id ? "selected":""}}>{{$child->name}}
@endforeach @endif @endif
{{ __("Select Upload Type") }}*
file != null ? 'selected':'' }}>{{ __("Upload By File") }}
link != null ? 'selected':'' }}>{{ __("Upload By Link") }}
{{ __("Select File") }}*
{{ __("Link") }}*
link != null ? 'required':'' }}>{{ $data->link }}
{{ __("Feature Image") }} *
{{ __("Upload Image Here") }}
{{ __("Product Gallery Images") }} *
{{ __("Set Gallery") }}
{{ __("Product Current Price") }}*
({{ __("In") }} {{$sign->name}})
{{ __("Product Previous Price") }}*
{{ __("(Optional)") }}
{{ __("Product License") }}
@if(!empty($data->license)) @foreach($data->license as $key => $data1)
@endforeach @else
@endif
{{ __("Add More Field") }}
{{ __("Product Description") }}*
{{$data->details}}
{{ __("Product Buy/Return Policy") }}*
{{$data->policy}}
{{ __("Youtube Video URL") }}*
{{ __("(Optional)") }}
meta_tag != null || strip_tags($data->meta_description) != null) ? 'checked':'' }}>
{{ __("Allow Product SEO") }}
{{ __("Meta Tags") }} *
@if(!empty($data->meta_tag)) @foreach ($data->meta_tag as $element)
{{ $element }}
@endforeach @endif
{{ __("Meta Description") }} *
{{ $data->meta_description }}
{{ __("Feature Tags") }}
@if(!empty($data->features)) @foreach($data->features as $key => $data1)
@endforeach @else
@endif
{{ __("Add More Field") }}
{{ __("Tags") }} *
@if(!empty($data->tags)) @foreach ($data->tags as $element)
{{ $element }}
@endforeach @endif
{{__("Platform")}} *
{{ __("(Optional)") }}
{{ __("Region") }} *
{{ __("(Optional)") }}
{{ __("License Type") }} *
{{ __("(Optional)") }}
{{ __("Save") }}
{{ __("Image Gallery") }}
×
{{ csrf_field() }}
{{ __("Upload File") }}
{{ __("Done") }}
(
{{ __("You can upload multiple Images.") }}
)
@endsection @section('scripts') @endsection