@extends('plugins/ecommerce::orders.master') @section('title', __('Checkout')) @section('content') @if (Cart::instance('cart')->isNotEmpty()) @if (is_plugin_active('payment') && $orderAmount) @include('plugins/payment::partials.header') @endif
@include('plugins/ecommerce::orders.partials.logo')
@include('plugins/ecommerce::orders.partials.amount')
@include(EcommerceHelper::viewPath('discounts.partials.form'), compact('discounts'))
@include('plugins/ecommerce::orders.partials.logo')
{!! apply_filters('ecommerce_checkout_form_before', null, $products) !!} @if ($isShowAddressForm)
{{ __('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') }}
@include('plugins/ecommerce::orders.partials.shipping-methods')
{!! apply_filters('ecommerce_checkout_form_after_shipping_address_form', null, $products) !!} @endif @endif {!! apply_filters('ecommerce_checkout_form_before_payment_form', null, $products) !!}
@include('plugins/ecommerce::orders.partials.payment-methods')
{!! apply_filters('ecommerce_checkout_form_after_payment_form', null, $products) !!}
$errors->has('description')])> {!! Form::error('description', $errors) !!}
@if (EcommerceHelper::getMinimumOrderAmount() > $rawTotal) @endif @if (EcommerceHelper::isDisplayTaxFieldsAtCheckoutPage()) @include( 'plugins/ecommerce::orders.partials.tax-information', compact('sessionCheckoutData') ) {!! apply_filters('ecommerce_checkout_form_after_tax_information_form', null, $products) !!} @endif @if($privacyPolicyUrl = theme_option('ecommerce_term_and_privacy_policy_url'))
@endif {!! apply_filters('ecommerce_checkout_form_after', null, $products) !!}
{{ __('Back to cart') }} {!! apply_filters('ecommerce_checkout_form_after_back_to_cart_link', null, $products) !!}
@if (EcommerceHelper::isValidToProcessCheckout()) @else {{ __('Checkout') }} @endif
@if (is_plugin_active('payment')) @include('plugins/payment::partials.footer') @endif @else
{!! __('No products in cart. :link!', ['link' => Html::link(BaseHelper::getHomepageUrl(), __('Back to shopping'))]) !!}
@endif @stop @push('footer') {!! JsValidator::formRequest( Botble\Ecommerce\Http\Requests\SaveCheckoutInformationRequest::class, '#checkout-form', ) !!} @endpush