@extends('seller/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 @php use App\Services\StoreService; $store_id = app(StoreService::class)->getStoreId(); $deliverable_type = fetchDetails( \App\Models\SellerStore::class, ['seller_id' => $data->seller_id, 'store_id' => $store_id], ['deliverable_type', 'deliverable_zones'], ); $deliverable_type = !$deliverable_type->isEmpty() ? $deliverable_type[0] : []; @endphp
{{ labels('admin_labels.choose_seller', 'Select Seller And Product') }}
{{ 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
@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.general', 'General') }} {{ labels('admin_labels.attributes', 'Attributes') }} {{ labels('admin_labels.variantions', 'Variations') }}
@if ($data->type == 'simple_product' || $data->type == 'digital_product')
  • {{ labels('admin_labels.price_info', 'Price Info') }}
  • {{ labels('admin_labels.standard_shipping_weightage', 'Standard shipping weightage') }}
id) && $data->stock_type != null ? 'checked' : '' }}> {{ labels('admin_labels.enable_stock_management', 'Enable Stock Management') }}
{{ labels('admin_labels.save_settings', 'Save Settings') }}
@else
id) && $data->stock_type != null ? 'checked' : '' }}> {{ labels('admin_labels.enable_stock_management', 'Enable Stock Mamagement') }}
{{ labels('admin_labels.save_settings', 'Save Settings') }}
@endif
download_allowed != 'null' && $data->download_allowed == 1 ? 'checked' : '' }}>

Choose file for product.

Product File
{{ labels('admin_labels.save_settings', 'Save Settings') }}
{{ labels('admin_labels.note', 'Note') }} : check if the attribute is to be used for variation
{{ labels('admin_labels.save_attributes', 'Save Attributes') }}
{{ labels('admin_labels.no_product_attributes_are_added', 'No Product Attributes Are Added') }}!
{{ labels('admin_labels.reset_variants', 'Reset Variants') }}
{{ labels('admin_labels.no_product_variations_added', 'No Product Variations Added') }}!
{{ 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)
Not Found
Delete
@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