@extends('home') @section('title') {{ __('Edit') }} @endsection @section('styles') @endsection @php $data = $product->data; $attributes = @$data['attributes']; $extra = @$data['extra']; @endphp @php $data_product = get_setting('product'); @endphp @section('content') {!! Form::open(array('route' => ['admin.product.update',$product->id],'method' => 'put' ,'files' => true ,'class' => 'form-horizontal','id' => 'myform')) !!}
{{ __('Preview') }} {{ __('Cancel') }}
{{ __('Product Data') }}
@include('blocks.product.partial.top-tabs')
@include('partials.nav-lang')
@foreach (config('translatable.locales') as $lang => $language)
{{ __('Item title') }}
{{ __('Description') }}
@if (@$data_product['details'] == 1)
{{ __('Details') }}
@endif
@if (@$data_product['attributes'] == 1) @include('blocks.product.partial.meta-option',['language' => $language]) @endif
@endforeach

@if (@$data_product['seo'] == 1) @include('partials.google-meta',['item' => $product]) @endif
@if ($product->image_url) @else @endif

{!! __('Image size') !!} (500×500) {!! __('px') !!}

@if (@$data_product['video'] == 1)
@endif @if (@$data_product['gallary'] == 1)
@if ($product->hasMedia('gallery')) @foreach ($product->getMedia('gallery') as $key => $image) @php // dump($image); @endphp @endforeach @endif
@endif
{!! __('Status') !!}
  • {!! __('Date created') !!} {{ $product->created_at->format('d M Y - H:i:s') }}
  • {!! __('Modified date') !!} {{ $product->updated_at->format('d M Y - H:i:s') }}
publish) checked="checked" @endif data-on-text="" data-off-text="">
{{ __('Cancel') }}
{!! Form::close() !!} @endsection @section('scripts') {!! Html::script(Theme::current()->assetPath.'/jquery-repeater/jquery.repeater.js') !!} {!! Html::script(Theme::current()->assetPath.'/global/plugins/bootstrap-confirmation/bootstrap-confirmation.min.js') !!} {!! Html::script(Theme::current()->assetPath.'/jquery.filer/js/jquery.filer.js') !!} {!! Html::script(Theme::current()->assetPath.'/jquery.filer/js/custom.js') !!} {!! Html::script(Theme::current()->assetPath.'/global/plugins/jquery-validation/js/jquery.validate.min.js') !!} {!! Html::script(Theme::current()->assetPath.'/global/plugins/jquery-validation/js/additional-methods.min.js') !!} {!! Html::script( asset('vendor/unisharp/laravel-ckeditor/ckeditor.js') ) !!} @endsection