@extends('backend.layout') @section('content')
{{ __('Edit Product') }}
{{ __('Back') }}
    @csrf

    @csrf

    @if ($product->feature_image) ... @else ... @endif
    {{ __('Choose Image') }}
    @if ($product->type == 'physical')

    @endif @if ($product->type == 'digital')

    @endif
    @if ($product->type == 'digital')

    {{ __('Only zip file is allowed') }}

    {{ __('File Name') . ' :' }} {{ $product->download_file }}

    @endif
    @foreach ($languages as $language)
    @php $product_content = DB::table('product_contents') ->where('language_id', $language->id) ->where('product_id', $product->id) ->first(); @endphp
    @php $categories = DB::table('product_categories') ->where('language_id', $language->id) ->where('status', 1) ->orderByDesc('id') ->get(); @endphp

    @php $currLang = $language; @endphp @foreach ($languages as $language) @continue($language->id == $currLang->id)
    @endforeach
    @endforeach
    @endsection @section('script') @php $languages = App\Models\Language::get(); @endphp @endsection @section('variables') @endsection