enable_signup && ! $checkout->enable_guest_checkout && ! is_user_logged_in() ) { echo apply_filters( 'woocommerce_checkout_must_be_logged_in_message', __( 'You must be logged in to checkout.', 'woocommerce' ) ); return; } // filter hook for include new pages inside the payment method $get_checkout_url = apply_filters( 'woocommerce_get_checkout_url', WC()->cart->get_checkout_url() ); ?>
checkout_fields ) > 0 ) : ?>
cart->needs_payment() ) : ?>
    $gateway ) ); } } else { if ( ! WC()->customer->get_country() ) { $no_gateways_message = __( 'Please fill in your details above to see available payment methods.', 'woocommerce' ); } else { $no_gateways_message = __( 'Sorry, it seems that there are no available payment methods for your state. Please contact us if you require assistance or wish to make alternate arrangements.', 'woocommerce' ); } echo '
  • ' . apply_filters( 'woocommerce_no_available_payment_methods_message', $no_gateways_message ) . '
  • '; } ?>
' ); ?> 0 && apply_filters( 'woocommerce_checkout_show_terms', true ) ) : ?>

id="terms" />