@extends('user.layout') @section('styles') @endsection @section('content') @php $type = request()->input('type'); @endphp
{{ __('Add Item') }}
@php $aiUsage = \App\Http\Helpers\AiEngineHelper::getAiLimits(); $engineInfo = $aiUsage['engine']; @endphp
{{ __('Mode') }}: {{ $engineInfo['display'] }} {{ __('Tokens') }}: {{ $aiUsage['used_tokens'] }} / {{ $aiUsage['token_label'] }} {{ __('Images') }}: {{ $aiUsage['used_images'] }} / {{ $aiUsage['image_label'] }}
{{ __('Back') }}
    {{ __('Drag and drop files here to upload') }}
    @csrf

    {{ __('Recommended Image size : 800x800') }}

    @csrf input('language') }}>
    {{-- START: Featured Image --}}
    ...

    {{-- END: Featured Image --}} @if ($type == 'physical')

    {{ __('If the item has variations, then set the stocks in the variations page') }}

    @endif @if ($type == 'digital')

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

    @endif @if ($type == 'physical')
    @endif
    @php $allow_background_color = ['pet']; @endphp @if (in_array($userBs->theme, $allow_background_color))
    @endif
    @foreach ($languages as $language)
    @php $product_labels = App\Models\User\Label::where([ ['user_id', Auth::guard('web')->user()->id], ['language_id', $language->id], ])->get(); @endphp
    @php $currLang = $language; @endphp @foreach ($languages as $lang) @continue($lang->id == $currLang->id)
    @endforeach
    @endforeach
    {{-- thumbnail --}}

    {{-- thumbnail end --}} {{-- AI Slider Image Modal --}} @endsection @section('scripts') @php $test = $languages->pluck('code')->toArray(); @endphp @endsection