@extends('frontend.layouts.app') @push('stylepush') @endpush @section('content') @php $seller = $digital_product->seller; @endphp
@foreach($digital_product->digitalProductAttribute->where('status', 1) as $digitalproduct)
@php $price = ($digitalproduct->price); $taxes = getTaxes(@$digital_product,$price); $price = $price + $taxes; @endphp
@endforeach

{{translate("Description")}}

@php echo $digital_product->description @endphp
{{translate('Total')}}
{{show_currency()}}0
@if($digital_product->taxes)
    @forelse ($digital_product->taxes as $tax )
  • {{$tax->name}} : @if($tax->pivot->type == 0) {{$tax->pivot->amount}}% @else {{short_amount($tax->pivot->amount)}} @endif
  • @empty
  • {{translate("Nothing tax configuration added for this product")}}
  • @endforelse
@endif
@csrf
@if(!auth()->user()) @endif @if($digital_product->custom_fileds)
{{translate('Custom information')}}
@foreach($digital_product->custom_fileds as $key => $value) @php $col = $value->type == "textarea" ? 'col-sm-12' : 'col-sm-6'; $values = $value->data_value ? explode(",", $value->data_value) : []; @endphp
@if($value->type == "text" || $value->type == "number" ) data_required == 1) required @endif class="form-control " id="{{$value->data_name}}" name="{{$value->data_name}}" placeholder="Enter {{$value->data_label}}"> @elseif($value->type == "textarea") @elseif($value->type == "select") @endif
@endforeach
@endif
@if(auth_user('web') && site_settings('customer_wallet') == App\Enums\StatusEnum::true->status() )
{{ translate('Payment Type') }}

{{ translate('Please select A Payment Type') }}

@endif
status()) class="d-none mt-4" @endif > @foreach($paymentMethods as $paymentMethod)
@endforeach
@if(site_settings('whatsapp_order',App\Enums\StatusEnum::false->status()) == App\Enums\StatusEnum::true->status() ) @php $wpMessage = site_settings('wp_digital_order_message') ; $message = str_replace( [ '[product_name]', '[link]', ], [ $digital_product->name, url()->current() ], $wpMessage ); @endphp @if($seller && optional($seller->sellerShop)->whatsapp_order == App\Enums\StatusEnum::true->status()) {{translate("Order Via Whatsapp")}} @endif @if(!$seller) {{translate("Order Via Whatsapp")}} @endif @endif
{{translate("Related Product")}}
@endsection @push('scriptpush') @endpush