@extends('layouts.admin.admin') @section('title', 'Edit Other Product') @section('content')
Edit Other Product
@csrf @method('PATCH')
Eidt Form
@error('product_name') {{ $errors->first('product_name') }} @enderror
@error('is_free') {{ $errors->first('is_free') }} @enderror

@error('price') {{ $errors->first('price') }} @enderror
@error('quantity') {{ $errors->first('quantity') }} @enderror
@error('national_postage_fee') {{ $errors->first('national_postage_fee') }} @enderror
@error('international_postage_fee') {{ $errors->first('international_postage_fee') }} @enderror
@error('sort') {{ $errors->first('sort') }} @enderror
@error('status') {{ $errors->first('status') }} @enderror
@error('collection_show') {{ $errors->first('collection_show') }} @enderror
@error('has_option') {{ $errors->first('has_option') }} @enderror
@error('user_option_price') {{ $errors->first('use_option_price') }} @enderror
@error('description') {{ $errors->first('description') }} @enderror
@error('instruction') {{ $errors->first('instruction') }} @enderror
@if(isTrue($otherProduct->has_option)) {{--
Options
@foreach ($otherProduct->otherProductOptions as $option) @endforeach
Title Old Price Sale Price National Postage Fee International Postage Fee Sort Status
use_option_price) ? '' : 'disabled' }} required> use_option_price) ? '' : 'disabled' }} required>
--}} @endif
@endsection