{{ $product->name }}
@if ($product->image)
 }})
@endif
{!! $product->description !!}
@if ($product->availablePlans()->count() > 1)
@foreach ($product->availablePlans() as $availablePlan)
@endforeach
@endif
@foreach ($product->configOptions as $configOption)
@php
$showPriceTag = $configOption->children->filter(fn ($value) => !$value->price(billing_period: $plan->billing_period, billing_unit: $plan->billing_unit)->is_free)->count() > 0;
@endphp
@if ($configOption->type == 'select')
@foreach ($configOption->children as $configOptionValue)
@endforeach
@elseif($configOption->type == 'radio')
@foreach ($configOption->children as $configOptionValue)
@endforeach
@endif
@endforeach
@foreach ($this->getCheckoutConfig() as $configOption)
@php $configOption = (object) $configOption; @endphp
@if ($configOption->type == 'select')
@foreach ($configOption->options as $configOptionValue => $configOptionValueName)
@endforeach
@elseif($configOption->type == 'radio')
@foreach ($configOption->options as $configOptionValue => $configOptionValueName)
@endforeach
@endif
@endforeach
{{ __('product.order_summary') }}
@if ($total->total_tax > 0)
{{ __('invoices.subtotal') }}:
{{ $total->format($total->subtotal) }}
{{ \App\Classes\Settings::tax()->name }} ({{ \App\Classes\Settings::tax()->rate }}%):
{{ $total->formatted->total_tax }}
@endif
{{ __('product.total_today') }}:
{{ $total }}
@if ($total->setup_fee && $plan->type == 'recurring')
{{ __('product.then_after_x', ['time' => $plan->billing_period . ' ' . trans_choice(__('services.billing_cycles.' . $plan->billing_unit), $plan->billing_period)]) }}:
{{ $total->format($total->price) }}
@endif
@if (($product->stock > 0 || !$product->stock) && $product->price()->available)
{{ __('product.checkout') }}
@endif