@extends('admin.layout.admin') @section("title"," Dashboard | Wishours") @section("content")

Products Manage Products


Add Product Attributes

@if ($errors->any())
    @foreach ($errors->all() as $error)
  • {{ $error }}
  • @endforeach
@endif @if (session()->has('message'))
{{ session('message') }}
@endif

Product Title : {{ $product->title }}

Product Code : {{ $product->product_code }}

Note : Please Put first attribute product size : {{ substr($product->defaultsize, 0, -2) }} and Price : {{ $product->price }}

{{ csrf_field() }}
-
-
-
-

@php $counter = 1; @endphp @foreach($product->attributes as $attribute) @endforeach
# Product SKU Product Size Product Price Product Discount Product Stock Actions
{{ $attribute->sku }} {{ $attribute->size }} {{ $attribute->price }} {{ $attribute->discount }} {{ $attribute->stock }}
{{ csrf_field() }} {{ method_field('DELETE') }}

Product Attributes Update

Note : No need to update first attribute of product from here. First product attribute autometically updated from edit product option.
{{ csrf_field() }} @php $counter = 1; @endphp @foreach($product->attributes as $attribute) @endforeach
# Product SKU Product Size Product Price Product Discount Product Stock
1 {{ $attribute->sku }}
<< Back
@endsection