@extends('seller/layout') @section('title') {{ labels('admin_labels.combo_products', 'Combo Products') }} @endsection @section('content') @php use App\Models\Product; use App\Models\ComboProduct; use App\Models\Tax; use App\Models\Zone; use App\Services\TranslationService; use App\Services\MediaService; @endphp
@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 @if (isset($data->id)) @endif
{{ labels('admin_labels.choose_seller', 'Select Product') }}
{{ labels('admin_labels.product_information', 'Product Information') }}
@foreach ($languages as $lang) @if ($lang->code !== 'en')
@endif @endforeach
{{-- @dd(app(TranslationService::class)->getDynamicTranslation(Product::class, 'name', $product_details[0]['product_id'], $language_code)); --}}
has_similar_product) && $data->has_similar_product == '1' ? 'checked' : '' }}>
@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.

{{-- Show current main image if available --}} @if (isset($data->id) && !empty($data->id))
Not Found
@endif
{{-- Other Images --}}

Choose images for product.

(Recommended Size: 180 x 180 pixels)

{{-- Show existing other images --}}
@php $other_images = json_decode($data->other_images); @endphp @if (!empty($other_images)) @foreach ($other_images as $row) @endforeach @endif
{{ labels('admin_labels.product_description', 'Product Description') }}
@endsection