}
    ?>

  <?php 
    if ($order !== false) {
        ?>
  <h2><?php 
        _e('Order Number', 'cart66');
        ?>
: <?php 
        echo $order->trans_id;
        ?>
</h2>

  <?php 
        if (CART66_PRO && $order->hasAccount() == 1) {
            $logInLink = Cart66AccessManager::getLogInLink();
            $memberHomePageLink = Cart66AccessManager::getMemberHomePageLink();
            if ($logInLink !== false) {
                echo '<h2>Your Account Is Ready</h2>';
                if (Cart66Common::isLoggedIn() && $memberHomePageLink !== false) {
                    echo "<p><a href=\"{$memberHomePageLink}\">" . __("Members Home", "cart66") . "</a>.</p>";
                } else {
                    echo "<p><a href=\"{$logInLink}\">" . __("Log into your account", "cart66") . "</a>.</p>";
                }
            }
        }
        ?>

  <?php 
        if ($order->hasAccount() == -1) {