@extends('backend.layouts.app') @section('content')

{{ translate('Edit Product') }}

{{-- --}}
@if ($errors->any())
    @foreach ($errors->all() as $error)
  • {{ $error }}
  • @endforeach
@endif
@csrf
{{translate('Product Information')}}
{{translate("You can choose a brand if you'd like to display your product by brand.")}}
{{translate("The minimum quantity needs to be purchased by your customer.")}} {{translate("The minimum quantity needs to be purchased by your customer.")}}
{{translate('This is used for search. Input those words by which cutomer can find this product.')}}
@if (addon_is_activated('pos_system'))
@endif
{{ translate('Product Category') }}
{{ translate('Select Main') }} {{ translate('This will be used for commission based calculations and homepage category wise product Show.') }}
@php $old_categories = $product->categories()->pluck('category_id')->toArray(); @endphp
    @foreach ($categories as $category)
  • {{ $category->getTranslation('name') }}
  • @foreach ($category->childrenCategories as $childCategory) @include('backend.product.products.child_category', ['child_category' => $childCategory]) @endforeach @endforeach
@if (addon_is_activated('refund_request'))
{{translate('Refund')}}
@if($product->refundNote != null)
{{ $product->refundNote->getTranslation('description') ?? '' }}
@endif
@endif
{{translate('Status')}}
{{ translate('If you enable this, this product will be granted as a featured product.') }}
{{ translate('If you enable this, this product will be granted as a todays deal product.') }}
{{translate('Flash Deal')}} ({{ translate('If you want to select this product as a flash deal, you can use it') }})
@php $productFlashDealId = $product->flash_deal_products->last()->flash_deal_id ?? null; @endphp
@if (addon_is_activated('gst_system'))
{{translate('HSN & GST')}}
@else
{{translate('Vat & TAX')}}
@foreach(\App\Models\Tax::where('tax_status', 1)->get() as $tax) @php $tax_amount = 0; $tax_type = ''; foreach($tax->product_taxes as $row) { if($product->id == $row->product_id) { $tax_amount = $row->tax; $tax_type = $row->tax_type; } } @endphp
@endforeach
@endif
{{ translate('Product Files & Media') }}
{{ translate('Browse') }}
{{ translate('Choose File') }}
{{ translate('These images are visible in product details page gallery. Minimum dimensions required: 900px width X 900px height.') }}
{{ translate('Browse') }}
{{ translate('Choose File') }}
{{ translate('This image is visible in all product box. Minimum dimensions required: 195px width X 195px height. Keep some blank space around main object of your image as we had to crop some edge in different devices to make it responsive. If no thumbnail is uploaded, the products first gallery image will be used as the thumbnail image.') }}
{{ translate('Browse') }}
{{ translate('Choose File') }}
{{ translate('Try to upload videos under 30 seconds for better performance.') }}
{{ translate('Browse') }}
{{ translate('Choose File') }}
{{ translate('Add thumbnails in the same order as your videos. If you upload only one image, it will be used for all videos.') }}
' data-target=".video-provider-link"> {{ translate('Add Another') }}
{{ translate('Browse') }}
{{ translate('Choose File') }}
{{translate('Product price & stock')}}