@extends('template.layouts.template-base') @section('title', 'Edit Product') @section('styles') @endsection @section('content')
@csrf @method('PUT')

Product


%

Overall Product Discount

Size Variations

@foreach($product->productPackPrice as $index => $productPackPrice)
kg
@error('pack_size') {{ $message }} @enderror
MRP should be greater than Selling Price
kg
kg
{{-- Existing images --}} @foreach($productPackPrice->ProductPackImages as $packImage)
×
@endforeach
@endforeach

Product Order Rule

kg
kg
kg
kg

Product Details

@foreach ($tags as $tag) @endforeach
Max 5 tags

Product Media

{{-- Existing images --}} @if(isset($product) && ($product->thumbnail_image))
{{-- × --}}
@endif

@include('template.layouts.error-modal') @endsection @section('scripts') {{-- image preview --}} {{-- tags --}} {{-- delete existing image --}} {{--same packsize --}} {{-- discount applied or not --}} {{-- dicount applied for always or specific date --}} {{-- final price and pack size selling price calculation --}} {{-- selling price should not greater than MRP --}} @endsection