@extends('front_end.layouts.home') @php $showRightSidebar = false; @endphp @section('title', 'Edit Course - ' . $course->title) @section('left_sidebar') @include('front_end.pages.courses.instructor_left_sidebar') @endsection @section('content')

Edit Course

{{ $course->title }}

@csrf
Preview
Course Information
Basic details about your course
@csrf @method('PUT')
@error('title')
{{ $message }}
@enderror
{{ url('/courses/') }}/
This is automatically generated from your title.
@error('slug')
{{ $message }}
@enderror
@error('category_id')
{{ $message }}
@enderror
@error('description')
{{ $message }}
@enderror
@error('level')
{{ $message }}
@enderror
@error('language')
{{ $message }}
@enderror
Enter each learning point on a new line. These will be displayed as bullet points.
@error('what_you_will_learn')
{{ $message }}
@enderror
Enter each requirement on a new line.
@error('requirements')
{{ $message }}
@enderror
Enter each audience type on a new line.
@error('target_audience')
{{ $message }}
@enderror
Tips for Success
Create a compelling title

Your course title should clearly state what students will learn and be engaging.

Write a detailed description

Include what students will learn, prerequisites, and course structure.

Choose the right category

Select the most relevant category to help students find your course.

Define learning outcomes

Clearly state what students will be able to do after completing your course.

Course Curriculum
Organize your course content into sections and lessons
@if($course->sections->count() > 0)
@foreach($course->sections as $section)
{{ $section->title }}
@if($section->lessons->count() > 0)
    @foreach($section->lessons as $lesson)
  • {{ $lesson->title }} @if(!$lesson->is_published) Draft @endif @if($lesson->is_free) Free @endif
    {{ $lesson->duration }} min
  • @endforeach
@else
No lessons in this section yet

Add your first lesson to get started

Add Lesson
@endif
@foreach($section->lessons as $lesson) @endforeach @endforeach
@else
No Sections Yet

Start building your course by adding sections and lessons.

@endif
Course Pricing
Set your course price and discount options
@csrf @method('PUT')
$
Set to 0 for a free course.
@error('price')
{{ $message }}
@enderror
$
Optional. Must be less than regular price.
@error('discount_price')
{{ $message }}
@enderror
When the discount will expire.
@error('discount_ends_at')
{{ $message }}
@enderror
Pricing Tips
Research competitor pricing

Look at similar courses to price yours competitively.

Consider your content value

Price should reflect the quality and depth of your course.

Use limited-time discounts

Create urgency with temporary discount offers.

Start with free previews

Mark some lessons as free to attract students.

Course Coupons
Create discount coupons for your course
Manage Coupons
@if($course->coupons && $course->coupons->count() > 0)
@foreach($course->coupons->take(5) as $coupon) @endforeach
Code Discount Usage / Limit Expires Status
{{ $coupon->code }} @if($coupon->discount_type == 'percentage') {{ $coupon->discount_amount }}% @else ${{ number_format($coupon->discount_amount, 2) }} @endif
{{ $coupon->usage_count }} / {{ $coupon->usage_limit ?? '∞' }}
@if($coupon->expires_at) {{ date('M d, Y', strtotime($coupon->expires_at)) }} @else Never @endif {{ $coupon->is_active ? 'Active' : 'Inactive' }}
@if($course->coupons->count() > 5) @endif @else
No Coupons Yet

Create coupons to offer special discounts to your students.

Create Your First Coupon
@endif
Course Media
Upload your course thumbnail and preview video
@csrf @method('PUT')
Course Thumbnail
@if($course->thumbnail)
Course thumbnail
@else

No thumbnail uploaded yet

@endif
Recommended size: 1280x720 pixels (16:9 ratio)
@error('thumbnail')
{{ $message }}
@enderror
Preview Video
YouTube, Vimeo, or other embedded video URL.
@error('preview_video')
{{ $message }}
@enderror
@if($course->preview_video)
@else

No preview video added yet

@endif
@push('scripts') @endpush @endsection