@extends('layouts/layoutMaster') @section('title', __('locale.Product Add')) @section('vendor-style') @vite(['resources/assets/vendor/libs/quill/typography.scss', 'resources/assets/vendor/libs/quill/katex.scss', 'resources/assets/vendor/libs/quill/editor.scss', 'resources/assets/vendor/libs/select2/select2.scss', 'resources/assets/vendor/libs/dropzone/dropzone.scss', 'resources/assets/vendor/libs/flatpickr/flatpickr.scss', 'resources/assets/vendor/libs/tagify/tagify.scss', 'resources/assets/vendor/libs/sweetalert2/sweetalert2.scss']) @endsection @section('vendor-script') @vite(['resources/assets/vendor/libs/quill/katex.js', 'resources/assets/vendor/libs/quill/quill.js', 'resources/assets/vendor/libs/select2/select2.js', 'resources/assets/vendor/libs/jquery-repeater/jquery-repeater.js', 'resources/assets/vendor/libs/flatpickr/flatpickr.js', 'resources/assets/vendor/libs/tagify/tagify.js', 'resources/assets/vendor/libs/sweetalert2/sweetalert2.js']) @endsection @section('page-script') @vite(['resources/assets/js/product-add.js']) @endsection @section('content')
@csrf @if (isset($product)) @method('PUT') @endif

{{ __('locale.Add a new Product') }}

{{ __('locale.Orders placed across your store') }}

{{ __('locale.Product information') }}
{{ __('locale.Product Image') }}

{{ __('locale.Drag and drop your image here') }}

{{ __('locale.or') }}

{{ __('locale.Browse image') }}
@if (isset($product) && $product->images) @foreach ($product->images as $image)
@endforeach @endif
{{ __('locale.Pricing') }}
{{ __('locale.In stock') }}
in_stock ?? '') == 1) checked @endif />
{{ __('locale.Organize') }}
$tag], explode(',', $product->tags ?? ''))) }}' aria-label="Product Tags" />
@endsection