{{ __('Subtotal') }}:
{{ format_price(Cart::instance('cart')->rawSubTotal()) }}
{{ __('Tax') }}:
{{ format_price(Cart::instance('cart')->rawTax()) }}
{{ __('Coupon code') }}:
{{ session('applied_coupon_code') }}
{{ __('Coupon code discount amount') }}:
{{ format_price($couponDiscountAmount) }}
{{ __('Promotion discount amount') }}:
{{ format_price($promotionDiscountAmount) }}
{{ __('Shipping fee') }}:
{{ format_price($shippingAmount) }}
{{ __('Total') }}:
{{ format_price($orderAmount) }}
{{ __('Shipping information') }}
@include( 'plugins/ecommerce::orders.partials.address-form', compact('sessionCheckoutData')){!! apply_filters('ecommerce_checkout_form_after_shipping_address_form', null, $products) !!} @endif @if (EcommerceHelper::isBillingAddressEnabled())
{{ __('Billing information') }}
@include( 'plugins/ecommerce::orders.partials.billing-address-form', compact('sessionCheckoutData')){!! apply_filters('ecommerce_checkout_form_after_billing_address_form', null, $products) !!} @endif @if (!is_plugin_active('marketplace')) @if (Arr::get($sessionCheckoutData, 'is_available_shipping', true))
{{ __('Shipping method') }}
@if (!empty($shipping))-
@foreach ($shipping as $shippingKey => $shippingItems)
@foreach ($shippingItems as $shippingOption => $shippingItem)
@include(
'plugins/ecommerce::orders.partials.shipping-option',
[
'shippingItem' => $shippingItem,
'attributes' => [
'id' =>
'shipping-method-' .
$shippingKey .
'-' .
$shippingOption,
'name' => 'shipping_method',
'class' => 'magic-radio shipping_method_input',
'checked' =>
old(
'shipping_method',
$defaultShippingMethod) == $shippingKey &&
old(
'shipping_option',
$defaultShippingOption) == $shippingOption,
'disabled' => Arr::get(
$shippingItem,
'disabled'),
'data-option' => $shippingOption,
],
]
)
@endforeach
@endforeach
{{ __('No shipping methods available!') }}
@endif{!! apply_filters('ecommerce_checkout_form_after_shipping_address_form', null, $products) !!} @endif @endif {!! apply_filters('ecommerce_checkout_form_before_payment_form', null, $products) !!} @if (is_plugin_active('payment'))
{{ __('Payment method') }}
@if (is_plugin_active('payment')) {!! apply_filters(PAYMENT_FILTER_PAYMENT_PARAMETERS, null) !!} @endif-
@if ($orderAmount)
{!! apply_filters(PAYMENT_FILTER_ADDITIONAL_PAYMENT_METHODS, null, [
'amount' => format_price($orderAmount, null, true),
'currency' => strtoupper(get_application_currency()->title),
'name' => null,
'selected' => PaymentMethods::getSelectedMethod(),
'default' => PaymentMethods::getDefaultMethod(),
'selecting' => PaymentMethods::getSelectingMethod(),
]) !!}
{!! PaymentMethods::render() !!}
@endif
@else @endif {!! apply_filters('ecommerce_checkout_form_after_payment_form', null, $products) !!}
{!! Form::error('description', $errors) !!}