@extends('layouts.back-end.app') @section('title','Product Edit') @push('css_or_js') @endpush @section('content')

{{trans('messages.Product')}} {{trans('messages.Edit')}}

@csrf

{{trans('messages.General Info')}}

{{trans('messages.Variation')}}

@include('admin-views.product.partials._choices',['choice_no'=>json_decode($product['attributes']),'choice_options'=>json_decode($product['choice_options'],true)])

{{trans('messages.Product price & stock')}}

unit_price)}} required>
purchase_price) }} required>
tax }} step="0.01" placeholder="{{trans('messages.Tax') }}" name="tax" class="form-control" required>
discount_type=='flat'?\App\CPU\Convert::default($product->discount): $product->discount}} step="0.01" placeholder="{{trans('messages.Discount') }}" name="discount" class="form-control" required>
@include('admin-views.product.partials._edit_sku_combinations',['combinations'=>json_decode($product['variation'],true)])
current_stock }} step="1" placeholder="{{trans('messages.Quantity') }}" name="current_stock" class="form-control" required>

Product Details

* ( {{trans('messages.ratio')}} 1:1 )
@foreach (json_decode($product->images) as $key => $photo) @endforeach
* ( {{trans('messages.ratio')}} 1:1 )
@include('shared-partials.image-process._image-crop-modal',['modal_id'=>'product-images-modal']) @include('shared-partials.image-process._image-crop-modal',['modal_id'=>'thumbnail-image-modal']) {{--@include('shared-partials.image-process._image-crop-modal',['modal_id'=>'hot-deal-image-modal']) @include('shared-partials.image-process._image-crop-modal',['modal_id'=>'featured-image-modal'])--}}
@endsection @push('script') @endpush