@extends('admin/layout') @section('title') {{ labels('admin_labels.products', 'Products') }} @endsection @section('content') @php use App\Models\Brand; use App\Models\Tax; use App\Models\Zone; use App\Services\TranslationService; use App\Services\MediaService; @endphp
@if (isset($data->id)) @endif
@method('PUT') @csrf
{{ labels('admin_labels.choose_seller', 'Select Seller And Product') }}
{{ labels('admin_labels.choose_seller', 'Choose Seller') }}*
{{ labels('admin_labels.choose_product_type', 'Choose Product Type') }}*
{{ labels('admin_labels.select_category', 'Select Product Category') }}*
{{ labels('admin_labels.product_information', 'Product Information') }}
@foreach ($languages as $lang) @if ($lang->code !== 'en')
@endif @endforeach
@include('components.product.update_custom_fields', [ 'productCustomFieldValues' => $productCustomFieldValues, 'customFields' => $customFields, ])
{{ labels('admin_labels.product_tax', 'Product Tax') }}
@php $taxes = isset($data->tax) && $data->tax != null ? explode(',', $data->tax) : []; @endphp
is_prices_inclusive_tax) && $data->is_prices_inclusive_tax == '1' ? 'checked' : '' }}>
{{ labels('admin_labels.product_quantity_and_other', 'Product Quantity & Other') }}
{{ labels('admin_labels.delivery_and_shipping_setting', 'Delivery And Shipping Setting') }}
@php $zones = isset($data->deliverable_zones) && $data->deliverable_zones != null ? explode(',', $data->deliverable_zones) : []; @endphp
cod_allowed) && $data->cod_allowed == '1' ? 'checked' : '' }}>
is_returnable) && $data->is_returnable == '1' ? 'checked' : '' }}>
is_cancelable) && $data->is_cancelable == '1' ? 'checked' : '' }}>
is_attachment_required) && $data->is_attachment_required == '1' ? 'checked' : '' }}>
{{ labels('admin_labels.products_additional_info', 'Product Additional Info') }}
{{ labels('admin_labels.product_media', 'Product Media') }}( {{ labels('admin_labels.images', 'Images') }} )
{{-- Main Image --}}

Choose image for product.

(Recommended Size : 180 x 180 pixels)

*Only Choose When Update is necessary

Not Found
{{-- Other Images --}}

Choose images for product.

(Recommended Size : 180 x 180 pixels)

@php $other_images = json_decode($data->other_images); @endphp @if (!empty($other_images)) @foreach ($other_images as $row) @endforeach @endif
{{ labels('admin_labels.product_media', 'Product Media') }} ( {{ labels('admin_labels.videos', 'Videos') }} )
{{-- Video Type --}}
{{-- Video Link (YouTube/Vimeo) --}} {{-- Video File (Self Hosted) --}}

Choose video for product.

*Only Choose When Update is necessary

Product Video
{{ labels('admin_labels.product_description', 'Product Description') }}
@endsection