@extends('layouts.master') @section('page_title', 'Edit Product') @section('title', 'Products Details') @section('main_item', 'Products') @section('sub_item', 'Edit Product') @section('content')

Edit Product

@csrf @method('PATCH')
@if ($product->product_type != 'single' || $product->product_type != null) @else @endif
allow_woocommerce_sync ? 'checked' : '' }}>
product_visible_sync ? 'checked' : '' }}>
@if ($setting->second_woocommerece_api_setting_enable == '1')
second_allow_woocommerce_sync ? 'checked' : '' }}>
second_product_visible_sync ? 'checked' : '' }}>
@endif
custom_website_sync ? 'checked' : '' }}>
@if (!empty($product->attribute_id))
@if ($setting->second_woocommerece_api_setting_enable == '1') @endif @foreach ($all_products as $key => $child_product) @php ++$key; $attribute = App\Attribute::find($child_product->attribute_id); $stocks = App\Stock::where('product_id', $child_product->id)->get(); // Fetch all stocks for the product @endphp @if ($setting->second_woocommerece_api_setting_enable == '1') @endif @endforeach
Attribute Variation Value Quantity Unit Price Selling PriceSecond WooCommerce Selling PriceRe-Seller Price Action
{{ $attribute->attribute_name }} {{ $child_product->attribute_value }} @foreach ($stocks as $index => $stock)
Lot {{ $loop->iteration }} @if ($loop->first) purchase_stock_option == '1') readonly @endif> @else @endif
@endforeach
@foreach ($stocks as $stock) @if ($loop->first) purchase_stock_option == '1') readonly @endif> @else @endif @endforeach @foreach ($stocks as $stock) @if ($loop->first) purchase_stock_option == '1') readonly @endif> @else @endif @endforeach @foreach ($stocks as $stock) @if ($loop->first) purchase_stock_option == '1') readonly @endif> @else @endif @endforeach @foreach ($stocks as $stock) @if ($loop->first) purchase_stock_option == '1') readonly @endif> @else @endif @endforeach {{-- --}}
@endif
@if (empty($product->attribute_id))
@foreach ($stocks as $index => $stock) @if ($index == 0) @else @endif @endforeach
Available Quantity Unit Cost Selling Price Second WooCommerce Selling Price Re-Seller Price
Lot {{$index +1}} purchase_stock_option == '1') readonly @endif> purchase_stock_option == '1') readonly @endif> purchase_stock_option == '1') readonly @endif> purchase_stock_option == '1') readonly @endif> purchase_stock_option == '1') readonly @endif>
Lot {{$index +1}}
@endif
is_combo == 'no') hidden @endif>
@endsection @section('scripts') @endsection