@extends('web.default.layouts.app') @push('styles_top') @endpush @section('content') {{-- Cashback Alert --}} @if(!empty($cashbackRules) and count($cashbackRules))
@include('web.default.includes.cashback_alert',['itemPrice' => $product->price])
@endif
@if(!empty($activeSpecialOffer)) @include('web.default.course.special_offer') @endif
{{ $product->title }} @if(!empty($product->video_demo)) @endif
{{ $product->title }} @if(!empty($product->video_demo)) play icon @endif
@if(!empty($product->images) and count($product->images)) @foreach($product->images as $image)
{{ $product->title }}
@endforeach @endif
{{ csrf_field() }}

{{ clean($product->title, 't') }}

{{ trans('public.in') }} {{ $product->category->title }}
@include('web.default.includes.webinar.rate',['rate' => $product->getRate(),'className' => 'mt-0']) ({{ $product->reviews->pluck('creator_id')->count() }} {{ trans('product.reviews') }})
{{ trans('update.availability') }} @if(($product->getAvailability() > 0)) @if(!empty($product->inventory) and !empty($product->inventory_warning) and $product->inventory_warning > $product->getAvailability()) {{ trans('update.only_n_left',['count' => $product->getAvailability()]) }} @else {{ trans('update.in_stock') }} @endif @else {{ trans('update.out_of_stock') }} @endif
@if(!empty($selectableSpecifications) and count($selectableSpecifications)) @foreach($selectableSpecifications as $selectableSpecification)
{{ $selectableSpecification->specification->title }}
@foreach($selectableSpecification->selectedMultiValues as $specificationValue) @if(!empty($specificationValue->multiValue))
iteration == 1) ? 'checked' : '' }}>
@endif @endforeach
@endforeach @endif
@if(!empty($product->price) and $product->price > 0) @if($product->getPriceWithActiveDiscountPrice() < $product->price) {{ handlePrice($product->getPriceWithActiveDiscountPrice(), true, true, false, null, true, 'store') }} {{ handlePrice($product->price, true, true, false, null, true, 'store') }} @else {{ handlePrice($product->price, true, true, false, null, true, 'store') }} @endif @else {{ trans('public.free') }} @endif @if($product->isPhysical()) @if(!empty($product->delivery_fee) and $product->delivery_fee > 0) + {{ handlePrice($product->delivery_fee) }} {{ trans('update.shipping') }} @else {{ trans('update.free_shipping') }} @endif @endif
getAvailability() < 1) ? 'disabled' : '' }}>
@php $productAvailability = $product->getAvailability(); @endphp
@if($productAvailability > 0 and !empty($product->point) and $product->point > 0) {!! trans('update.buy_with_n_points',['points' => $product->point]) !!} @endif @if($productAvailability > 0 and !empty(getFeaturesSettings('direct_products_payment_button_status'))) @endif @if($productAvailability > 0 and $hasInstallments) {{ trans('update.installments') }} @endif
@if($product->isPhysical() and !empty($product->delivery_estimated_time)) @elseif($product->isVirtual()) @endif
{{-- Gift Card --}} @if($product->isVirtual() and $productAvailability > 0 and !empty(getGiftsGeneralSettings('status')) and !empty(getGiftsGeneralSettings('allow_sending_gift_for_products')))

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

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

@endif
{{-- Ads Bannaer --}} @if(!empty($advertisingBanners) and count($advertisingBanners))
@foreach($advertisingBanners as $banner) @endforeach
@endif {{-- ./ Ads Bannaer --}}
@include('web.default.products.includes.share_modal') @include('web.default.user.send_message_modal',['user' => $seller]) @include('web.default.products.includes.buy_with_point_modal') @endsection @push('scripts_bottom') @endpush