@extends('layouts/front') @section('title', $product->name) @section('scripts') @endsection @section('content')
@php $activeCoupon = $row->basket->coupon_id ? $row->basket->coupon : null; @endphp
@csrf @include("shared.alerts")

{{ __('store.config.title') }}

{{ __('store.config.billing') }}

@foreach ($pricings as $pricing) @endforeach
@if (!empty($options_html))

{{ __('store.config.options') }}

{!! $options_html !!}
@endif @if (!empty($data_html))
{!! $data_html !!}
@endif @if (app('extension')->extensionIsEnabled('free_trial')) @include('free_trial::config_card', ['product' => $product]) @endif @if (app('extension')->extensionIsEnabled('faq')) @include('faq::widget', [ 'product' => $product ?? null, 'title' => __('faq::messages.client.product_title', ['name' => $product->name]), 'description' => __('faq::messages.client.product_description', ['name' => $product->name]), ]) @endif

{{ __('coupon.add_coupon_title') }}

@if ($activeCoupon) @endif
@include('shared/input', [ 'name' => 'coupon', 'attributes' => ['placeholder' => __('coupon.coupon_placeholder'), 'form' => 'basket-coupon-form'], 'value' => old('coupon', $activeCoupon?->code), ])
@if ($activeCoupon) @else @endif

{{ __('store.config.summary') }}

{{ __('global.product') }} {{ $row->product->name }}
@if ($options->isNotEmpty())
@foreach ($options as $option)
{{ $option->name }} 0
@endforeach
@endif
{{ __('store.config.recurring_payment') }} 0
{{ __('store.config.onetime_payment') }} 0
{{ __('store.fees') }} 0
@if ($activeCoupon)
{{ __('coupon.coupon') }} {{ $activeCoupon->code }}
@endif
{{ __('coupon.discount_price') }} 0
{{ $activeCoupon ? __('coupon.subtotal_with_coupon') : __('store.subtotal') }} 0
{{ __('store.vat') }} 0

{{ __('store.total') }} 0
@endsection