@extends('layouts.admin-layout') @section('title') Edit Product @endsection @section('content')

Edit Product

@csrf
@error ('product_name') {{$message}} @enderror
@error ('category_name') {{$message}} @enderror
@error('sub_category_name') {{ $message }} @enderror
@error('brand_name') {{ $message }} @enderror
@error ('product_price') {{$message}} @enderror
@error ('product_stock') {{$message}} @enderror
new_product === 1 ? 'checked' : '' }}> feature_product === 1 ? 'checked' : '' }}> popular_product === 1 ? 'checked' : '' }}> best_sale_product === 1 ? 'checked' : '' }}> makeup_brushes_product === 1 ? 'checked' : '' }}> gift_sets_product === 1 ? 'checked' : '' }}>
@error ('product_main_image') {{$message}} @enderror
Profile Preview
@error ('description') {{$message}} @enderror
@foreach($find_single_product_variation_name as $product) @foreach($product->singleEntryProductVariation as $single_entry)

Variation Name : {{$single_entry->variationName->variation_name}}

@foreach($single_entry->productVariations as $index => $product_variation)
@if ($product_variation->productVariationImage() && $product_variation->productVariationImage()->first()) @else @endif
@endforeach @endforeach @endforeach
status === 1 ? 'checked' : ''}}>
@endsection @section('script') @endsection