@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')
allow_woocommerce_sync) checked @endif>
product_visible_sync) checked @endif>
@if (!empty($product->attribute_id))
@php $attribute = App\Attribute::find($product->attribute_id); @endphp @foreach ($child_products as $key => $child_product) @php ++$key; $attribute = App\Attribute::find($child_product->attribute_id); @endphp @endforeach
Variation Variation Value Quantity Unit Price Selling Price Second Price
{{ $attribute->attribute_name }} {{ $product->attribute_value }}
{{ $attribute->attribute_name }} {{ $child_product->attribute_value }}
@else @endif
@if (empty($product->attribute_id))
qty)) value="{{ $stock->qty }}" @else value="0" @endif>
@else @endif
is_combo == 'no') hidden @endif hidden>
@endsection @section('scripts') @endsection