@extends('layouts.vendor') @section('styles') @endsection @section('content')
{{csrf_field()}} @include('includes.vendor.form-both')

{{ $langg->lang632 }}*

{{ $langg->lang517 }}

{{ $langg->lang793 }}*

product_condition != 0 ? "checked":"" }}>

{{ $langg->lang634 }}*

{{ $langg->lang637 }}*

{{ $langg->lang638 }}*

{{ $langg->lang640 }}*

@php $selectedAttrs = json_decode($data->attributes, true); // dd($selectedAttrs); @endphp {{-- Attributes of category starts --}}
@php $catAttributes = !empty($data->category->attributes) ? $data->category->attributes : ''; @endphp @if (!empty($catAttributes)) @foreach ($catAttributes as $catAttribute)

{{ $catAttribute->name }} *

@php $i = 0; @endphp @foreach ($catAttribute->attribute_options as $optionKey => $option) @php $inName = $catAttribute->input_name; $checked = 0; @endphp
input_name,$selectedAttrs)) @if (is_array($selectedAttrs["$inName"]["values"]) && in_array($option->name, $selectedAttrs["$inName"]["values"])) checked @php $checked = 1; @endphp @endif @endif >
+
{{ $sign->sign }}
@php if ($checked == 1) { $i++; } @endphp @endforeach
@endforeach @endif
{{-- Attributes of category ends --}} {{-- Attributes of subcategory starts --}}
@php $subAttributes = !empty($data->subcategory->attributes) ? $data->subcategory->attributes : ''; @endphp @if (!empty($subAttributes)) @foreach ($subAttributes as $subAttribute)

{{ $subAttribute->name }} *

@php $i = 0; @endphp @foreach ($subAttribute->attribute_options as $option) @php $inName = $subAttribute->input_name; $checked = 0; @endphp
input_name,$selectedAttrs)) @php $inName = $subAttribute->input_name; @endphp @if (is_array($selectedAttrs["$inName"]["values"]) && in_array($option->name, $selectedAttrs["$inName"]["values"])) checked @php $checked = 1; @endphp @endif @endif >
+
{{ $sign->sign }}
@php if ($checked == 1) { $i++; } @endphp @endforeach
@endforeach @endif
{{-- Attributes of subcategory ends --}} {{-- Attributes of child category starts --}}
@php $childAttributes = !empty($data->childcategory->attributes) ? $data->childcategory->attributes : ''; @endphp @if (!empty($childAttributes)) @foreach ($childAttributes as $childAttribute)

{{ $childAttribute->name }} *

@php $i = 0; @endphp @foreach ($childAttribute->attribute_options as $optionKey => $option) @php $inName = $childAttribute->input_name; $checked = 0; @endphp
input_name,$selectedAttrs)) @php $inName = $childAttribute->input_name; @endphp @if (is_array($selectedAttrs["$inName"]["values"]) && in_array($option->name, $selectedAttrs["$inName"]["values"])) checked @php $checked = 1; @endphp @endif @endif >
+
{{ $sign->sign }}
@php if ($checked == 1) { $i++; } @endphp @endforeach
@endforeach @endif
{{-- Attributes of child category ends --}}

{{ $langg->lang511 }} *

Arrastra tus archivos aqui para subirlos

También puede hacer clic aqui para abrir el explorador de archivos
{{--
asset('assets/images/products/'.$data->photo)
--}}
{{--

{{ $langg->lang511 }} *


{{ isset($langg->lang805) ? $langg->lang805 : 'Prefered Size: (800x800) or Square Size.' }}

--}}

{{ $langg->lang644 }} *

  • ship != null ? "checked":""}}>

{{ $langg->lang647 }}*

ship }}">
  • size) ? "checked":"" }}>
@if(!empty($data->size)) @foreach($data->size as $key => $data1)
@endforeach @else
@endif
{{ $langg->lang655 }}
  • color) ? "checked":"" }}>
@if(!empty($data->color))

{{ $langg->lang657 }}*

{{ $langg->lang658 }}

@foreach($data->color as $key => $data1)
@endforeach
{{ $langg->lang659 }}
@else

{{ $langg->lang657 }}*

{{ $langg->lang658 }}

@endif
  • whole_sell_qty) ? "checked":"" }}>

{{ $langg->lang664 }}*

({{ $langg->lang665 }} {{$sign->name}})

{{ $langg->lang667 }}*

{{ $langg->lang668 }}

{{ $langg->lang669 }}*

{{ $langg->lang670 }}

measure == null ? '' : 'checked' }}>

{{ $langg->lang672 }}*

{{ $langg->lang680 }}*

{{ $langg->lang681 }}*

{{ $langg->lang682 }}*

{{ $langg->lang668 }}

meta_tag != null || strip_tags($data->meta_description) != null) ? 'checked':'' }}>

{{ $langg->lang684 }} *

    @if(!empty($data->meta_tag)) @foreach ($data->meta_tag as $element)
  • {{ $element }}
  • @endforeach @endif

{{ $langg->lang685 }} *

{{ $langg->lang689 }} *

    @if(!empty($data->tags)) @foreach ($data->tags as $element)
  • {{ $element }}
  • @endforeach @endif
@endsection @section('scripts') @endsection