@extends("design_1.web.layouts.app") @push("styles_top") @endpush @section('content')
{{-- Installments --}} @if(!empty($installments) and count($installments) and getInstallmentsSettings('installment_plans_position') == 'top_of_page') @foreach($installments as $installmentRow) @include('design_1.web.installments.includes.card',[ 'installment' => $installmentRow, 'itemPrice' => $product->getPrice(), 'itemId' => $product->id, 'itemType' => 'product', 'className' => $loop->first ? 'mt-48' : '', ]) @endforeach @endif
{{-- Images --}}
@include('design_1.web.products.show.includes.images')
{{-- Main Info --}}
@include('design_1.web.products.show.includes.main_info')
{{-- Promotions Banners --}} @include("design_1.web.products.show.includes.promotions") @php $activePageTab = request()->get("tab", 'description'); @endphp {{-- Tabs --}}
@if(!empty($product->files) and count($product->files) and $product->checkUserHasBought()) @endif
@include('design_1.web.products.show.tabs.about')
@include('design_1.web.products.show.tabs.specifications')
@include('design_1.web.products.show.tabs.comments')
@include('design_1.web.products.show.tabs.reviews')
@include('design_1.web.products.show.tabs.seller')
@if(!empty($product->files) and count($product->files) and $product->checkUserHasBought())
@include('design_1.web.products.show.tabs.files')
@endif
@if( !empty(getFeaturesSettings("frontend_coupons_display_type")) and getFeaturesSettings("frontend_coupons_display_type") == "after_content" and !empty($instructorDiscounts) and count($instructorDiscounts) )
@include('design_1.web.instructor_discounts.cards', ['allDiscounts' => $instructorDiscounts, 'discountCardClassName2' => "mt-16"])
@endif {{-- Installments --}} @if(!empty($installments) and count($installments) and getInstallmentsSettings('installment_plans_position') == 'bottom_of_page') @foreach($installments as $installmentRow) @include('design_1.web.installments.includes.card',[ 'installment' => $installmentRow, 'itemPrice' => $product->getPrice(), 'itemId' => $product->id, 'itemType' => 'product', 'className' => $loop->first ? 'mt-48' : '', ]) @endforeach @endif {{-- Related Products --}} @if(!empty($product->relatedProducts) and $product->relatedProducts->count() > 0) @php $relatedProducts = []; foreach($product->relatedProducts as $relatedProduct) { if(!empty($relatedProduct->product)) { $relatedProducts[] = $relatedProduct->product; } } @endphp @if(count($relatedProducts))

{{ trans('update.related_products') }}

{{ trans('update.explore_courses_we_published_currently_and_enjoy_updated_information') }}

@include('design_1.web.products.components.cards.grids.index',['products' => $relatedProducts, 'gridCardClassName' => "col-12 col-md-6 col-lg-4 mt-16"])
@endif @endif {{-- Related Courses --}} @if(!empty($product->relatedCourses) and $product->relatedCourses->count() > 0) @php $relatedCourses = []; foreach($product->relatedCourses as $relatedCourse) { if(!empty($relatedCourse->course)) { $relatedCourses[] = $relatedCourse->course; } } @endphp @if(count($relatedCourses))

{{ trans('update.related_courses') }}

{{ trans('update.explore_courses_we_published_currently_and_enjoy_updated_information') }}

@include('design_1.web.courses.components.cards.grids.index',['courses' => $relatedCourses, 'gridCardClassName' => "col-12 col-md-6 col-lg-3 mt-16"])
@endif @endif {{-- Ads Bannaer --}} @include('design_1.web.components.advertising_banners.page_banner') {{-- ./ Ads Bannaer --}}
@endsection @push('scripts_bottom') @endpush