<?php echo $header; ?>
<?php if ($journal3->get('pageTitlePosition') === 'top'): ?>
  <h1 class="title page-title <?php echo $journal3->get("title_color_scheme"); ?>"><span class="page-title-text"><?php echo $heading_title; ?></span></h1>
<?php endif; ?>
<div class="breadcrumbs <?php echo $journal3->get("breadcrumbs_color_scheme"); ?>">
  <ul class="breadcrumb">
    <?php foreach ($breadcrumbs as $breadcrumb) { ?>
      <li><a href="<?php echo $breadcrumb['href']; ?>"><?php echo $breadcrumb['text']; ?></a></li>
    <?php } ?>
  </ul>
</div>
<?php echo $journal3_top; ?>
<div class="container">
  <?php if ($error_warning) { ?>
  <div class="alert alert-danger"><i class="fa fa-exclamation-circle"></i> <?php echo $error_warning; ?>
    <button type="button" class="close" data-dismiss="alert">&times;</button>
  </div>
  <?php } ?>
  <div class="row"><?php echo $column_left; ?>
    <div id="content">
      <?php if ($journal3->get('pageTitlePosition') === 'default'): ?>
        <h1 class="title page-title <?php echo $journal3->get("title_color_scheme"); ?>"><?php echo $heading_title; ?></h1>
      <?php endif; ?>
      <?php echo $content_top; ?>
      <div class="quick-checkout-wrapper">
        <div class="quick-checkout">
          <div class="journal-loading"><em class="fa fa-spinner fa-spin"></em></div>
        </div>
      </div>
      <?php echo $content_bottom; ?></div>
    <?php echo $column_right; ?></div>
</div>
<template id="quick-checkout">
  <div v-bind:class="[(account === '') && !customer_id ? 'login-active' : '']">
    <div class="left">
      <form>
      <?php echo $login_block; ?>

      <?php echo $register_block; ?>

      <?php echo $payment_address_block; ?>

      <?php echo $shipping_address_block; ?>
      </form>
    </div>

    <div class="right">

      <div class="checkout-section shipping-payment">
        <?php echo $shipping_method_block; ?>

        <?php echo $payment_method_block; ?>
      </div>

      <?php echo $coupon_voucher_reward_block; ?>

      <?php echo $cart_block; ?>

      <div class="checkout-section checkout-payment-details" v-bind:class="[order_data.payment_method ? 'payment-' + order_data.payment_code : '']">
        <div class="title section-title"><?php echo $journal3->get('sectionTitlePaymentDetails'); ?></div>
        <div class="quick-checkout-payment">
          <div class="journal-loading-overlay">
            <div class="journal-loading"><em class="fa fa-spinner fa-spin"></em></div>
          </div>
        </div>
      </div>

      <?php echo $confirm_block; ?>
    </div>

  </div>
</template>
<script>window['_QuickCheckoutData'] = <?php echo json_encode($checkout_data); ?>;</script>
<?php echo $footer; ?>
