@extends('dashboards.vendor.index') @section('content')

All Products

@csrf @method('PUT')

Create Product

@error('name') {{ $message }} @enderror
@error('category_id') {{ $message }} @enderror
  • brand != null) checked @endif>

{{ __('Product Brand') }}

@error('brand') {{ $message }} @enderror
@if ($errors->any())
    @foreach ($errors->all() as $error) @if (strpos($error, 'variation') !== false)
  • {{ $error }}
  • @endif @endforeach
@endif
  • variations())) checked @endif>

( Note: if variation is checked you should set atleast one variation.. )

@forelse($product->variations() as $index => $variation)

{{ __('Size') }}

{{ __('Color') }}

{{ __('Price') }}

@if ($index === 0) @else @endif
@empty

{{ __('Size') }}

{{ __('Color') }}

{{ __('Price') }}

@endforelse
  • featured == 1) checked @endif value="1">
  • returnPolicy)->product_id !== null) checked @endif> ( If the checkbox is left unchecked, it will not be eligible for return )
@error('product_return_policy') {{ $message }} @enderror
@error('stock_quantity') {{ $message }} @enderror
{{--
--}} {{-- --}} {{-- --}} {{-- @error('product_alt')--}} {{-- {{ $message }}--}} {{-- @enderror--}} {{--
--}}
@error('description') {{ $message }} @enderror
{{-- --}} Image Preview
@error('photo') {{ $message }} @enderror
@error('gallery') {{ $message }} @enderror
@error('price') {{ $message }} @enderror
{{-- PRODUCT ADD GALLERY MODAL --}}
@endsection @section('script') {{-- --}} @endsection