@include('Global.dashboardheaderlinks')
@include('partials.sidebar')
@include('partials.header')
Edit Product
@if(session()->has('message'))
{{ session()->get('message') }}
@elseif(session()->has('error'))
{{ session()->get('error') }}
@endif
@csrf
Product Image
Set the product image. Only *.png, *.jpg and *.jpeg image files are accepted
Status
status == 1) selected="selected" @endif>Published
status == 0) selected="selected" @endif>Inactive
Set the product status.
Product Details
Categories
@foreach($categories as $category)
id == $products->id_categories) selected @endif @endif> {{$category->name}}
@endforeach
Add product to a category.
General
Advanced
General
Product Name
Description
{{--
--}}
{!!$products->description!!}
Set a description to the product for better visibility.
Media
Drop files here or click to upload.
Upload up to 10 files
Set the product media gallery.
Inventory
SKU
Variations
Variation
Unit Price
Sale Price
Remaining Quantity
Action
@foreach ($products->completeStock as $item)
@if($item->status == 0)
Inactive
@endif @foreach ($item->productGroups as $variation)
{{$variation->attribute->name.': '.$variation->attributeOption->name}}
@endforeach
${{$item->unit_price}}
${{$item->sale_price}}
{{$item->qty - $item->qty_sold}}
Actions
Edit
@if($item->status == 1)
Inactive
@else
Active
@endif
@endforeach
Save Product
@include('partials.footer')
@include('Global.dashboardfooterlinks')