@extends('crm.master') @section('title', 'Add Product') @section('content')

Add Product

Create a new product in your catalogue

Back to Products
@include('crm.components.alerts')
@csrf @php $activeTab = old('active_tab', 'details'); @endphp
Basic Information
@error('name') {{ $message }} @enderror
@error('sku') {{ $message }} @enderror Auto-generated from name. You can edit it manually.
@error('category_id') {{ $message }} @enderror
@foreach($tags as $tag)
id, old('tags', [])) ? 'checked' : '' }}>
@endforeach @if($tags->isEmpty()) No tags available. Create tags first. @endif
@error('tags')
{{ $message }}
@enderror
Product Photos

Add up to 5 photos. The first image displayed will be the main image.

Click or drag images here to upload

Max 5 images, 2MB each. JPG, PNG, GIF, WebP
@error('photos')
{{ $message }}
@enderror @error('photos.*')
{{ $message }}
@enderror
Description
@error('description') {{ $message }} @enderror
Status
@error('status') {{ $message }} @enderror
Additional Info
@error('video_link') {{ $message }} @enderror Optional YouTube or Vimeo URL
@error('sort_order') {{ $message }} @enderror Lower numbers appear first
Cancel
Inventory
@error('inventory_type') {{ $message }} @enderror
@error('inventory_amount') {{ $message }} @enderror Number of units available for booking
Availability Schedule

Define when this product is available for booking

@error('availability.event_name') {{ $message }} @enderror
@error('availability.start_date') {{ $message }} @enderror
@error('availability.end_date') {{ $message }} @enderror
@php $daysOfWeek = ['Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun']; $dayValues = ['monday', 'tuesday', 'wednesday', 'thursday', 'friday', 'saturday', 'sunday']; $oldDays = old('availability.days_of_week', $dayValues); @endphp @foreach($daysOfWeek as $i => $day)
@endforeach
Select which days of the week this product is available
@php $bookingRulesEnabled = old('availability.booking_rules_enabled'); @endphp
Pricing

Set the base pricing for this product

Additional pricing rules (seasonal rates, group discounts) can be configured after saving the product.
USD $
Required for publishing
Per Booking

{{-- Percent input --}} {{-- Dollar input (fixed / per day / per qty) --}}

Select taxes and fees to apply to this product.

@if($taxFees->isEmpty()) No active taxes or fees. Create one first. @else
@foreach($taxFees as $fee)
id, old('tax_fees', [])) ? 'checked' : '' }}>
@endforeach
@endif

Create custom rates for this product from this pricing tab.
New rates added here will be created as shared custom rates and linked to this product automatically.
Cancel
{{-- Availability Rate Modal (create page) --}} {{-- Duration Rate Modal (create page) --}} @endsection @section('page-script') @endsection